I am trying to use zigbee protocol , to establish a communication between two vehicles as a part of Inter vehicle communication as in VANET. So , as i am very new to this I am wondering that :
a. Do i have to program my Zigbee interface to establish the communication? b. Is it possible to program a zigbee interface? c. Can anyone give me a general idea of how to establish (using programming language) communication between two zigbees.?
Any help would be appreciated.
a. To establish a connection and doing simple sending / receiving data (between 2 interface / module), you don't need to program your ZigBee interface (for example XBee). Just configure them with XCTU. But, if you want to make them to communicate to each other as you like (with your own rule), you have to program them.
b. If you have XBee module(s), then you can use xbee-api which is based on Java. For other module, please take a look to your module's documentation.
c. This sample is taken from xbee-api web page (sample code), which is using Java Programming language. What this code doing is searching all nearby module(s) (node discovering):