User Messaging (user)This class provides one command and one event which can be used by a NCP host and target to implement a communication mechanism with a custom proprietary protocol. An application must decide whether and how the command and event are used. The stack does not produce or consume any messages belonging to this class.
Used by an NCP host to send a message to the target application on device. The application on target is must send the response with gecko_send_rsp_user_message_to_target.
/* Function */
struct gecko_msg_user_message_to_target_rsp_t *gecko_cmd_user_message_to_target(uint8 data_len, const uint8 *data_data);
/* Response id */
/* Response structure */
Command Parameters (for BGAPI headers refer to link)
Response Parameters (for BGAPI headers refer to link)
|The response message
Used by the target application on a device to initiate communication and send a message to the NCP host. Do not send event messages in the context of the user command handling.
/* event id*/
/* event structure*/
Event Parameters (for BGAPI headers refer to link)