Encoder for serialized commands from Application Chip.
More...
This file contains the declaration of the functions that encode serialized commands from Application Chip.
uint32_t ble_rpc_cmd_encoder_init |
( |
void |
| ) |
|
uint32_t ble_rpc_cmd_resp_wait |
( |
uint8_t |
op_code | ) |
|
- Parameters
-
[in] | op_code | The Operation Code for which a response message is expected. |
- Returns
- The decoded error code received from the connectivity chip.
void ble_rpc_cmd_rsp_pkt_received |
( |
uint8_t * |
p_packet, |
|
|
uint16_t |
packet_length |
|
) |
| |
This function will be called when a command response is received in the transport layer. The response is decoded and returned to the waiting caller.
- Parameters
-
[in] | p_packet | The packet from the transport layer. |
[in] | packet_length | The length of the packet. |