I am working on Zigbee Mc1321x.
I write a string of 2 bytes on uart at eah timer interval (for example every 1 seconds).
How can I receive both the two bytes at zigbee node? I wrote this code:
static void UartRxCallBack
SendToNode(gZbAddrMode16Bit_c, CoordinatorNwkAddr, gApsTxOptionNone_c, UartByte);
But It seems that the too bytes are not received at once. They are received byte by byte. So UartByte takes the second byte value and UartByte never takes anything (always 0x00).
What should I do? Can anbody give me the right code?
Added p/n to subject.
Message Edited by NLFSJ on 2008-09-03 10:57 PM