#N canvas 625 101 622 719 10; #X text 191 235 data packet: 64-bit_destination 16-bit_destination broadcast_radius options data; #X obj 80 115 hsl 128 15 0 127 0 0 empty empty empty -2 -8 0 10 -262144 -1 -1 0 0; #X obj 77 134 nbx 5 14 -1e+37 1e+37 0 0 empty empty empty 0 -8 0 10 -262144 -1 -1 0 256; #X obj 77 10 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 0 1 ; #X obj 77 247 packxbee 2; #X msg 49 309 devices; #X obj 77 354 comport 4 9600; #X msg 6 266 info; #X msg 28 288 open 4; #X obj 101 308 print data; #X obj 77 424 print data; #X obj 77 396 unpackxbee 2; #X obj 156 383 print status; #X text 84 175 The destination xbee 64-bit address and the 16-bit address must be set first:; #X obj 77 30 metro 500; #X obj 77 58 random 32; #X obj 77 88 + 32; #X floatatom 146 470 5 0 0 0 - - -; #X floatatom 167 490 5 0 0 0 - - -; #X symbolatom 188 510 10 0 0 0 - - -; #X floatatom 209 530 5 0 0 0 - - -; #X floatatom 230 550 5 0 0 0 - - -; #X obj 590 470 print other_status; #X floatatom 251 571 5 0 0 0 - - -; #X text 109 489 packet_#; #X text 23 509 destination 16-bit address; #X text 103 529 transmit_retries; #X text 131 549 delivery_status; #X obj 146 448 unpack 0 0 s 0 0 0; #X text 146 570 discovery_status; #X msg 77 210 TX 0x0013A200406BFE6C 0x9A17 0 0 \$1; #X floatatom 128 8 10 0 0 0 - - -; #X floatatom 294 597 5 0 0 0 - - -; #X floatatom 317 618 5 0 0 0 - - -; #X symbolatom 340 638 20 0 0 0 - - -; #X floatatom 387 679 5 0 0 0 - - -; #X text 259 617 packet_#; #X symbolatom 363 658 10 0 0 0 - - -; #X text 195 637 sender's 64-bit address; #X text 217 657 sender's 16-bit address; #X obj 294 448 unpack 0 0 s s 0; #X text 288 678 receive options; #X text 46 469 frame_type (139); #X text 194 596 frame_type (144); #X msg 18 171 AT AI; #X obj 146 424 route ZigBee_Transmit_Status ZigBee_Receive_Packet; #X obj 443 448 route AT_Command_Response; #X floatatom 443 492 5 0 0 0 - - -; #X floatatom 462 512 5 0 0 0 - - -; #X text 406 511 packet_#; #X obj 443 470 unpack 0 0 0 s 0 0 0; #X floatatom 482 532 5 0 0 0 - - -; #X symbolatom 501 550 5 0 0 0 - - -; #X text 434 549 AT command; #X floatatom 521 572 5 0 0 0 - - -; #X floatatom 540 592 5 0 0 0 - - -; #X text 484 591 packet_#; #X floatatom 560 612 5 0 0 0 - - -; #X text 494 611 data bytes; #X msg 38 191 AT DH; #X text 416 531 data_bytes; #X text 343 491 frame_type (136); #X text 476 571 status; #X msg 207 332 verbosity \$1; #X obj 207 305 hradio 15 1 0 3 empty empty empty 0 -8 0 10 -4034 -204786 -1 0; #X text 188 53 This example transmits a single byte of "data" through an xbee in API mode 2 connected to serial port 4 at 9600 baud.; #X text 439 679 Martin Peach 2013_02_20; #X connect 1 0 2 0; #X connect 2 0 30 0; #X connect 3 0 14 0; #X connect 4 0 6 0; #X connect 5 0 6 0; #X connect 6 0 11 0; #X connect 6 1 12 0; #X connect 7 0 6 0; #X connect 8 0 6 0; #X connect 11 0 10 0; #X connect 11 1 45 0; #X connect 14 0 15 0; #X connect 15 0 16 0; #X connect 16 0 1 0; #X connect 28 0 17 0; #X connect 28 1 18 0; #X connect 28 2 19 0; #X connect 28 3 20 0; #X connect 28 4 21 0; #X connect 28 5 23 0; #X connect 30 0 4 0; #X connect 31 0 14 1; #X connect 40 0 32 0; #X connect 40 1 33 0; #X connect 40 2 34 0; #X connect 40 3 37 0; #X connect 40 4 35 0; #X connect 44 0 4 0; #X connect 45 0 28 0; #X connect 45 1 40 0; #X connect 45 2 46 0; #X connect 46 0 50 0; #X connect 46 1 22 0; #X connect 50 0 47 0; #X connect 50 1 48 0; #X connect 50 2 51 0; #X connect 50 3 52 0; #X connect 50 4 54 0; #X connect 50 5 55 0; #X connect 50 6 57 0; #X connect 59 0 4 0; #X connect 63 0 11 0; #X connect 64 0 63 0;