What are the contents of RF data? and How is API frame processed at the transmitting and the receiving end if both side Xbee series 1 radios are configured to work in API mode 2.
API mode only affects the data going in and out of the UART of a local node. That is the node that is in API mode.
Data sent over the air consists of the the Data Destination Address provided in the API frame and the Data Payload.
On the receiving side, the RF buffer receives the RF packet and verifies the address. If the address is for that node and the Checksum is valid, the data payload portion is sent to the radios UART buffer and out the data out Pin.
Yes, but depending on if the receiving module is in API mode or not on if the Source address will be provided out the UART with the data or just the data payload.
Ok.
But we are transmitting Dest addr 16 bit and rf data, then how does the receiver get the information about the source address. Or is there more to it than that.
So can it be concluded as follows :
TX16 API mode 2 frame is passed to Xbee through UART.
Its stored in DIN buffer. If Xbee is in API mode , The Xbee processor will validate the TX Frame check-sum and send the Destination Address as well as data to RF TX Buffer.
The data from this buffer will leave as RF packet which contains the source address as well as destination address.
The Xbee receiver at the other end receives this RF packet and stores it in RF RX Buffer. if this Xbee is in API mode, the processor takes the source address and data from this buffer and sends it to DOUT buffer. The Data comes out of the UART module as API RX Frame.