I configured the ScheduleRx (in app_procces.c) in such way that the radio is receiving for 5 seconds and then goes to idle mode.
Then I'm waiting for a RAIL_EVENT_RX_SCHEDULED_RX_END event to be fired so the state of the fsm can be changed and the radio
will go in ScheduleRx mode.
The problem is that the RAIL_EVENT_RX_SCHEDULED_RX_END event cannot be occurred.
Then i added the line RAIL_ConfigEvents(rail_handle, RAIL_EVENT_RX_SCHEDULED_RX_END, 1) ; in app_init.c to enable this event manually
but it doesn't work either.
Am I missing to enable some settings in software components of the project or something else ?
Try to use
RAIL_ConfigEvents(rail_handle, RAIL_EVENT_RX_SCHEDULED_RX_END, RAIL_EVENT_RX_SCHEDULED_RX_END);
The last parameter is a bit field too, you can OR multiple events.
Thank you very much.
I replaced the line as you proposed and the event occurred normally.
Cool, let us know if you have further questions.