Serial.print and the Xbee


hello,

i'm using xbees in project i'm working on , i'm hoping improve it.  i've been able want functional, although i'm looking make communication bit more efficient because it's costing me performance.  i've read serial.print, seems parsing single bytes, sent xbee 1 @ time.  xbee sends, according here (https://docs.zigbee.org/zigbee-docs/dcn/09-5231.pdf) {page 8}, lot of header/foot bytes , single payload byte.  i'm hoping increase size payload beyond 1 byte.  wondering if it's possible instruct serial send more single byte (which increase payload size on xbee.)  after thinking it, believe can pack of information need single 4 byte number.  simple modular arithmetic on other side unpack (instead of receiving 1 byte @ time deliminator , corresponding case structure.)  advice received.

edit: damn smilies

i haven't used xbee read should able make multi-byte payloads.


Arduino Forum > Using Arduino > Programming Questions > Serial.print and the Xbee


arduino

Comments

Popular posts from this blog

Thread: PKI Client 5.00 install (for eToken Pro)

ATmega2560-Arduino Pin Mapping

Crossfader Arduino Tutorial