English
Language : 

ZAURA Datasheet, PDF (43/99 Pages) –
ZAURA RF Wireless Library
Programmer’s Reference Manual
31
All SDATA transmit requests are synchronous, meaning control is not
returned to the calling application until the frame has been transmitted
and an ACK has been received, or until all retransmission attempts
have failed.
All DATA transmit requests are asynchronous, meaning the
ZAURA_RF_Transmit API will return control to the caller possibly
before the frame has been completely sent. Therefore, the application
should not explicitly change the radio state until the transmit operation
completes (see ZAURA_RF_GetState on page 27). There is no need
to wait for the previous DATA frame to complete transmission before
calling the ZAURA_RF_Transmit API again.
Note: The data to be transmitted is buffered by the ZAURA RF Wireless Library
before it returns control from the ZAURA_RF_Transmit API. Therefore,
the application may modify the data buffer prior to completion of the
actual transmission.
The ZAURA_RF.h header file also defines several macros that call
the ZAURA_RF_Transmit API. These macros include:
ZAURA_RF_SendData
Used to send DATA packets to
SAP_APP_0.
ZAURA_RF_SendSeqData
Used to send SDATA packets to
SAP_APP_0.
ZAURA_RF_SendPkt
Uses a packet buffer structure to call
ZAURA_RF_Transmit.
Syntax
INT8 ZAURA_RF_Transmit( ZAURA_RF_ADDR Dest, UINT8
Ctrl, HANDLE hData, UINT8 Len );
Parameters
Dest
Specifies the node(s) targeted by the transmit operation.
Ctrl
Specifies frame type (DATA or SDATA) and target SAP.
RM006003-1011
ZAURA_RF_Transmit