Hi, is It possibile send a String to different xbee modules?
I would create a Little network with a one center module and few module as end devices (star network). But i have need to send a String one time to xbee A, one time to xbee B. How to male It?
related question guys.
The end devices broadcast for some information in the network. when the coordinator receives the information. reply should be sent in the unicast manner.
now i get the address using following commands:
rx.getRemoteAddress64().getMsb()
rx.getRemoteAddress64().getLsb()
i tried this also:
XBeeAddress64 addr64 = XBeeAddress64(rx.getRemoteAddress64().getMsb(),rx.getRemoteAddress64().getLsb());
but it doesn't work. so can someone tell how i can achieve dynamic allocation of address. Network will be big so defining statically is not an option.
But I don't know if it is correct. I don'tt know if I'm going to change the eeprom, and then I'm going to spoil the memory, or do I properly and the API route the message correctly without modifying the memory module.
I don'tt know if I'm going to change the eeprom, and then I'm going to spoil the memory
You aren't changing the name/address of a device. So, there is no writing to EEPROM in any XBee. All you are doing is defining, in software, the contents of a packet that the XBee is going to transmit. That packet is going to be received by every XBee, but it will be discarded (and now acknowledged) by all but one (hopefully) of them.