Melisandroid,
This line paq_sent->mode=TRANSPARENT; is not correct. Mode can only be UNICAST or BROADCAST.
OK, now forget about transparent mode because only a few firmwares are compatible with this mode.(20xx (AT coordinator), 22xx (AT router), and 28xx (AT end device)).
Please, take a look at section 8.6.6 of Zigbee networking guide where an example of s
ending without API header is used.
Your sending part would be similar to next lines
Quote:
void setup()
{
// Inits the XBee ZigBee library
xbeeZB.init(ZIGBEE,FREQ2_4G,NORMAL);
// Powers XBee
xbeeZB.ON();
//(...)
}
void loop {
//(...)
char* data;
for(int c=0;c<50;c++) // Set the data
{
data[c]=’A’;
}
xbeeZB.send(“0013A2004030F66A”,data);
//(...)
}
Regards