From 85908dde4dafd59daca2c2c0bd645ec84d8f6b63 Mon Sep 17 00:00:00 2001 From: Martin Peach Date: Fri, 28 Jun 2013 20:05:08 +0000 Subject: Added the two Series 1 transmit messages (TX64 and TX16) to the Transmit help patch. svn path=/trunk/externals/mrpeach/; revision=17170 --- xbee/packxbee-help.pd | 69 ++++++++++++++++++++++++++++----------------------- 1 file changed, 38 insertions(+), 31 deletions(-) diff --git a/xbee/packxbee-help.pd b/xbee/packxbee-help.pd index 7e00c6b..0af52ca 100644 --- a/xbee/packxbee-help.pd +++ b/xbee/packxbee-help.pd @@ -1,4 +1,4 @@ -#N canvas 590 102 622 746 10; +#N canvas 591 103 622 746 10; #X declare -lib mrpeach; #X obj 400 56 cnv 15 150 200 empty empty empty 20 12 0 14 -232576 -66577 0; @@ -249,16 +249,16 @@ #X obj 153 185 packxbee 2; #X obj 360 667 unpackxbee 2; #X obj 491 6 import mrpeach; -#N canvas 170 449 381 216 META 0; +#N canvas 171 450 595 216 META 0; #X text 22 55 LICENSE GPL v2 or later; #X text 22 153 AUTHOR Martin Peach; #X text 22 15 KEYWORDS control network wireless xbee; #X text 22 173 HELP_PATCH_AUTHORS Martin Peach; -#X text 22 75 DESCRIPTION [packxbee] builds packets for xbees in API -modes 1 or 2; #X text 22 35 NAME packxbee; -#X text 22 110 INLET_0 API TX AT ATQ RAT verbosity; #X text 22 130 OUTLET_0 list data; +#X text 22 110 INLET_0 API TX TX64 TX16 AT ATQ RAT verbosity; +#X text 22 75 DESCRIPTION [packxbee] builds packets for Series 1 or +2 XBees in API modes 1 or 2; #X restore 534 26 pd META; #X msg 291 341 info; #X msg 271 321 open 4; @@ -546,41 +546,48 @@ modes 1 or 2; #X connect 9 0 0 0; #X connect 11 0 0 0; #X restore 408 90 pd DANGEROUS_COMMANDS; -#N canvas 532 127 744 406 TRANSMIT_COMMANDS 0; -#X obj 282 332 s topackxbee; -#X msg 206 239 TX 0x0013A200406ADE1E 0x79D6 0 0 64; -#X msg 186 219 TX 0x0013A20040769444 0xFFFE 0 0 1 2 3 4; -#X text 381 145 data packet: 64-bit_destination 16-bit_destination -broadcast_radius options data; -#X obj 388 87 hsl 128 15 0 127 0 0 empty empty empty -2 -8 0 10 -262144 +#N canvas 370 154 744 407 TRANSMIT_COMMANDS 0; +#X obj 172 292 s topackxbee; +#X msg 79 182 TX 0x0013A20040769444 0xFFFE 0 0 1 2 3 4; +#X obj 60 107 hsl 128 15 0 127 0 0 empty empty empty -2 -8 0 10 -262144 -1 -1 0 0; -#X obj 385 106 nbx 5 14 -1e+37 1e+37 0 0 empty empty empty 0 -8 0 10 --262144 -1 -1 0 256; -#X obj 385 64 f; -#X obj 428 64 + 1; -#X obj 472 62 % 128; -#X obj 385 22 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 0 -1; -#X msg 423 183 TX 0x0013A2004092FE00 0xFFFE 0 0 136 \$1; -#X msg 167 200 TX 0x0013A200406BFE6C 0x9A17 0 0 \$1; -#X obj 385 42 metro 2000; -#X text 13 49 (prefix hexadecimal parameters with 0x to force Pd to +#X obj 57 126 nbx 5 14 -1e+37 1e+37 0 0 empty empty empty 0 -8 0 10 +-262144 -1 -1 1 256; +#X obj 57 84 f; +#X obj 100 84 + 1; +#X obj 144 82 % 128; +#X obj 57 42 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 0 1 +; +#X obj 57 62 metro 2000; +#X text 22 326 (prefix hexadecimal parameters with 0x to force Pd to see them as symbols); +#X text 314 225 Series 1 data packet: 64-bit_destination options data +; +#X msg 121 224 TX64 0x0013A200406ADE1E 0 255; +#X msg 144 247 TX16 0x79D5 0 255; +#X text 257 248 Series 1 data packet: 16-bit_destination options data +; +#X text 281 151 Series 2 data packet: 64-bit_destination 16-bit_destination +broadcast_radius options data; +#X msg 57 160 TX 0x0013A200406BFE6C 0x9A17 0 0 \$1; +#X msg 100 203 TX 0x0013A200406ADE1E 0x79D6 0 0 64; #X connect 1 0 0 0; -#X connect 2 0 0 0; +#X connect 2 0 3 0; +#X connect 3 0 15 0; #X connect 4 0 5 0; -#X connect 5 0 11 0; -#X connect 6 0 7 0; -#X connect 6 0 4 0; +#X connect 4 0 2 0; +#X connect 5 0 6 0; +#X connect 6 0 4 1; #X connect 7 0 8 0; -#X connect 8 0 6 1; -#X connect 9 0 12 0; +#X connect 8 0 4 0; #X connect 11 0 0 0; -#X connect 12 0 6 0; +#X connect 12 0 0 0; +#X connect 15 0 0 0; +#X connect 16 0 0 0; #X restore 408 70 pd TRANSMIT_COMMANDS; #X msg 85 100 verbosity \$1; #X obj 83 79 hradio 15 1 0 3 empty empty verbosity 0 -8 0 10 -4034 --1 -1 0; +-1 -1 2; #X obj 58 244 print packet; #X obj 457 444 print serial_info; #X text 148 375 set the interface baud rate; -- cgit v1.2.1