Need Help with Xbee XBP24-B packet transmission

XBee projects like the adapter, xBee tutorials, tweetawatt/wattcher, etc. from Adafruit

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
don007
 
Posts: 1
Joined: Sat Nov 24, 2012 9:37 am

Need Help with Xbee XBP24-B packet transmission

Post by don007 »

I have Xbee XBP24-B module and i am using it with Arduino Uno.i want to make a packet with following configuration. it is like a structure or 2D string array. now making this kind of message is not a problem. This is a 10 field message and i think Xbee only allows uint8_t type to be sent over the air using ZBTxRequest message. So is there any API or way to send a structure of string type over the air?

Field = Datatype (max length)
1 = string field (2)
2 = string field (4)
3 = string field (8 )
4 = string field (8 )
5 = string field (8 )
6 = string field (8 )
7 = string field (10)
8 = string field (10)
9 = string field (10)
10 = string field (10)

much appreciated!!!

User avatar
adafruit_support_bill
 
Posts: 88037
Joined: Sat Feb 07, 2009 10:11 am

Re: Need Help with Xbee XBP24-B packet transmission

Post by adafruit_support_bill »

This is a 10 field message and i think Xbee only allows uint8_t type to be sent over the air using ZBTxRequest message. So is there any API or way to send a structure of string type over the air?
Strings are composed of characters which are 8-bit bytes. C++ will allow you to cast a character to a uint8_t.
http://www.cplusplus.com/doc/tutorial/typecasting/

Locked
Please be positive and constructive with your questions and comments.

Return to “XBee products (discontinued)”