nRF5 SDK for Mesh v5.0.0
Functions
Application serial handler

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_cbFunction 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_cmdA pointer to the command to handle.

Documentation feedback | Developer Zone | Subscribe | Updated