Functions | |
| void | serial_handler_app_cb_set (nrf_mesh_serial_app_rx_cb_t rx_cb) |
| Sets the callback function for application serial commands. More... | |
| void | serial_handler_app_rx (const serial_packet_t *p_cmd) |
| Handles an incoming serial command in the APPLICATION range. More... | |
Detailed Description
Function Documentation
◆ serial_handler_app_cb_set()
| void serial_handler_app_cb_set | ( | nrf_mesh_serial_app_rx_cb_t | rx_cb | ) |
Sets the callback function for application serial commands.
- Parameters
-
[in] rx_cb Function pointer to a callback function that should be called on each incoming application command.
◆ serial_handler_app_rx()
| void serial_handler_app_rx | ( | const serial_packet_t * | p_cmd | ) |
Handles an incoming serial command in the APPLICATION range.
- Parameters
-
[in] p_cmd A pointer to the command to handle.