Is there a way to extract the lower half of the 64-bit address of the source XBee of a receive packet, and save it to an uint8_t array? (e.g. If I received a packet from 0013A200 4157310A, I will save {41 57 31 0A} to an uint8_t array.)
I am using XBee.h library by Andrew Rapp, and XBee Zigbee PRO modules.
If I received a packet from 0013A200 4157310A, I will save {41 57 31 0A} to an uint8_t array.)
Why do you want to do that?
Post the code that you have now. Saving the upper and lower 32 bit parts of the address as two uint32_t variables, or an array with two elements makes sense. Saving the data as an array of bytes is possible, but why?