Logo
DSR GreenBOSS  1.1.0
Functions
Functions to provide Rx after Tx for Bidirectional in Operational application

Functions

zb_ret_t gboss_wait_rx (zb_uint32_t timeout_ms, zb_uint8_t *cmd_id, zb_uint8_t **payload, zb_size_t *length)
 Receive a packet from GPS in Bidirectional in Operational mode. More...
 

Detailed Description

Function Documentation

§ gboss_wait_rx()

zb_ret_t gboss_wait_rx ( zb_uint32_t  timeout_ms,
zb_uint8_t cmd_id,
zb_uint8_t **  payload,
zb_size_t length 
)

Receive a packet from GPS in Bidirectional in Operational mode.

Parameters
timeout_ms- timeout to wait for rx
cmd_id- received command id
payload- received command payload
length- received payload length
Returns
RET_EMPTY if nothing received, else RET_OK