English
Language : 

ZAURA Datasheet, PDF (45/99 Pages) –
ZAURA RF Wireless Library
Programmer’s Reference Manual
33
ZAURA_RF_SendData
Description The ZAURA_RF_SendData macro sends data (using unreliable data
transfer) to SAP_APP_0 on remote node(s).
Syntax
ZAURA_RF_STATUS
ZAURA_RF_SendData(ZAURA_ZAURA_RF_ADDR Dest, HAN-
DLE hData, UINT8 Len)
Parameters
Dest
ZAURA_ZAURA_RF_ADDR value for the destination address. Addresses
0x01 through 0xFE are specific nodes (point-point), 0xFF is a broadcast
address (point-multipoint).
hData
An arbitrary pointer to the application data.
Len
The number of bytes referenced by hData.
Returns
ZAURA_RF_SUCCESS is returned if the transmissions did not
encounter any errors. This only means it was transmitted, not that it
was received.

TX_CHANNEL_BUSY is returned if the channel was in use. (See
Channel Access Rules for more information).
See Also
ZAURA_RF_Transmit, ZAURA_RF_SendSeqData,
ZAURA_RF_SendPkt, ZAURA_RF_Receive,
ZAURA_RF_PKT_BUF Structure
Example 1
ZAURA_RF_SendData( ZAURA_RF_BC_ADDR, "Hello world", 11 );
Example 2
UINT16 Data = 0x1234;
ZAURA_RF_SendData( ZAURA_RF_Dest, &Data, 2 );
RM006003-1011
ZAURA_RF_SendData