Connect RAIL DMP Component#

Sets of API for Connect RAIL Dynamic Multi Protocol component.

The Connect-RAIL DMP component is designed to facilitate communication using the RAIL (Radio Abstraction Interface Layer) within the Connect framework. This component allows for both transmission and reception of packets using RAIL.

Functions#

void
rail_app_task(void *p_arg)
void
sl_rail_time_t
calculate_transaction_time(sl_rail_handle_t rail_handle)

Macros#

#define

Scheduler priority for sending operations.

#define

Scheduler priority for receive operations.

Function Documentation#

rail_app_task_init#

void rail_app_task_init (void )
Parameters
TypeDirectionArgument NameDescription
voidN/A

Initialize the RAIL DMP application task.


rail_app_task#

void rail_app_task (void * p_arg)
Parameters
TypeDirectionArgument NameDescription
void *N/Ap_arg

Pointer to the task argument.

RAIL DMP application task.


handle_os_pending#

void handle_os_pending (void )
Parameters
TypeDirectionArgument NameDescription
voidN/A

Handle the pending OS events.


post_os_flag#

void post_os_flag (void )
Parameters
TypeDirectionArgument NameDescription
voidN/A

Post the OS flag.


calculate_transaction_time#

sl_rail_time_t calculate_transaction_time (sl_rail_handle_t rail_handle)
Parameters
TypeDirectionArgument NameDescription
sl_rail_handle_tN/Arail_handle

Calculate the transaction time.


Macro Definition Documentation#

SL_RAIL_SCHEDULER_PRIORITY_SEND#

#define SL_RAIL_SCHEDULER_PRIORITY_SEND
Value:
50

Scheduler priority for sending operations.

Priority level for scheduling send operations within the application. A lower value indicates a higher priority. (should be lower than BLE priority and higher than CONNECT priority)


SL_RAIL_SCHEDULER_PRIORITY_RECEIVE#

#define SL_RAIL_SCHEDULER_PRIORITY_RECEIVE
Value:
100

Scheduler priority for receive operations.

Priority level for scheduling receive operations within the application. A lower value indicates a higher priority. (should be lower than BLE priority and higher than CONNECT priority)