I have been working with the default TOSH_DATA_LENGTH=28; I am outputting debugging information over the serial port (telosb). I needed to send larger packets so added DTOSH_DATA_LENGTH=64 in my makefile, that does allow me to send larger packets, but it seems to break printf, sample output below.
I have started looking through printf.h/nc/etc but see nothing obviously wrong here. If anything larger packets would allow printf to send fewer packets over the serial port. Possibly the problem lies in PrintfClient? Before I spend a lot of time looking into this, I thought I would see if anyone has seen this problem before? I am using Tinyos 2.0.2 with the PrintfClient from CVS (for some reason the 2.0.2 PrintfClient didn't compile for me). sample output with default TOSH_DATA_LENGTH (28): SAS, Tx REQUEST SAS, RX Offer addr = 000f, rev rssi = -88, rssi = -43 Checking offers, got 1 offers best val = 0.810 address 000f parent 00 00 00 00 00 00 ba 5e SAS, Tx ACCEPT SAS, Tx ACCEPT SAS, RX Grant addr = f computed hop count as 1 computed parent address as 0x0000 base address is 0x1f child addr 0x001f - 0x00ff APP, Associated APP, sending assoc evt NCEP, RX for me trans ack seq: 0, cancel resend, signal success. APP, NCEP send SUCCESS sample output after chanig TOSH_DATA_LENGTH=64: SAS, Tx REQUEST SAS, RX Offer addr = 000f, r= -43 Checking offers, got 1 offeraddress 000f parent 00 00 00, Tx ACCEPT SAS, Tx ACCEPT SAS, RX Grantop count as 1 computed parenbase address is 0x1f child aAPP, Associated APP, sendingNCEP, transport retry 1 NCEP, RX for me trans ack se signal success. APP, NCEP s _______________________________________________ Tinyos-help mailing list [email protected] https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
