Battery sensor and re-connecting to gateway
-
I found this code in another thread, but it is locked for reply. I have some sensors outside and sometimes they lose the connection and actually they never re-connect.
So for me to understand properly: It seems to me to make a lot of sense to put this code into all my battery powered sensors, because they sleep all the time and if they lose the connection, then they will never re-connect, but with this code they should. Is that right? They are only awake to take some reading and send it and then sleep,immediately.
Is that correct?
if(isTransportOK()){ sleep(30000); // transport is OK, node can sleep } else { wait(5000); // transport is not operational, allow the transport layer to fix this }
-
@karl261 That could do the trick. Because the Node needs time to reestablish the connection with the gateway. Which it can't do when your Arduino is sleeping.
But before I'd try such tricks, I would be interested in what the cause of connection loss is. Is the distance too long? Is there a power issue? Also what version of MySensors are you using?
-
@TheoL
In version 1.5.1, when the node send the data without connection it will try to find a parent(repeater) after 6 failures.
So if your node send data every hour it will need 6 hour before it will try to find a parent.If you start the sensor near the GW and then move the node too far away from the GW and out have a repeater next to the new place where you out the node it needs 6 transmissions before it find the repeater.
But you shall find out what the main problem is for the node.
Maybe you can connect a serial monitor to it and change the sleep to 1 min and then see what happens.
-
@flopp Hello dear friend,
If I'm not mistaken, there's in improvement on that field in MySensors 2.0. Maybe @Hek or @Tekka or @Yveaux know more about this.
But as advised before. If you can solve the communication problem, it'll be a more permanent solution.
-
@TheoL @flopp @karl261 I'm currently working on a improved sleep function in 2.0.1 that will address some of the issues mentioned above. Depending on the radio status, the node will sleep if link is ok, or try to reconnect and abort if too many failed attempts and retry later.
-
Ok, thanks a lot. It is clear now. I will add some code and try. Later in 2.0.1 I can just remove this code...
Question: the six failed transmissions: do they need to be consecutive? Or does it just count to six over time?
-
@karl261 consecutive
-
Another question:
Woudn't it be better to do something like thiswhile(!isTransportOK()){ wait(5000); // transport is not operational, allow the transport layer to fix this } sleep(SLEEP_TIME); // transport is OK, node can sleep
or doesn't this bring anything?
-
Wow, This is so cool. This probably solves all my problems from the past year.
It just happened: I had a node connected to the gateway and brought it far away. It lost the connection to the gateway. I switched on a repeater node halfway. The node reconnected to the gateway via the repeater node.
I can't believe it!
-
@tekka The only problem with this extra code is, that in case the node loses its connection, it will drain the battery quite quickly...
-
@karl261 yes, in the example you mentioned, the node won't sleep at all if connection is lost and cannot be re-established. For battery powered nodes I recommend using MY_PARENT_NODE_ID and MY_PARENT_NODE_IS_STATIC to prevent the transport state machine from entering the SNP (search new parent) state.
MySensors 2.0.1 introduces an enhanced sleeping function with a reconnection timeout: https://github.com/mysensors/MySensors/pull/558
-
great work @tekka
-
@tekka Yeah, that's what I actually use. Since I normally don't move my sensors and repeaters, having the parent node static sounds like a good thing to do.
I look forward to the 2.0.1 release. There seem to be a lot of cool new things inside.
@tekka, @oitzu, Still, this nrf is driving me nuts. My sensor in the garden has worked just fine for three weeks, and nothing has changed. Now it makes problems. It is still running, because once per day one Temp reading or similar is getting through. Battery is just the same as before.
Do you have any idea why it could have stopped working? I don't see any reason why the repeater should stop receiving the values. The repeater works fine, it relays all other nodes. And the geometry between repeater and garden sensor has not changed.
The weather has changed. The T is about 7 degrees less outside...
-
@tekka I'm using the latest snapshot on one of my battery sensors and can see if it can't connect, it doesn't sleep and the debug shows a rapid number of connection attempts. I'd like to know if the sensor will eventually sleep if it cannot successfully connect, and what the default timeout is?
-
@Mark-Swift Please post your sketch & full debug log. Thanks
-
@tekka I don't think there's an issue.
I'm simply asking what the logic is behind the reconnection logic on sleeping sensors, how long is the timeout for example (I'm conscious of battery drain for nodes having issues connecting).
-
@Mark-Swift No, this sounds like an issue - a rapid number of connection attempts is unusual, that's why I'm interested in your sketch/debug log.
To answer your questions: In the latest dev version the node will try to reconnect with a 10sec timeout (if sleeping time > 10sec, this can be changed via MY_SLEEP_TRANSPORT_RECONNECT_TIMEOUT_MS) before sleeping - if time is left.
-
@tekka it's been a while but I never resolved this... If I test by changing the parent node ID to a fake one, it just tried to connect forever, thus draining the battery...
Sketch:
/* REVISION HISTORY Created by Mark Swift V1.2 - Added sleep time to force daily update V1.3 - Deactivate pullup on setup and added old_value logic V1.4 - Added daily wakeup to sleep V1.5 - Code cleanup */ //*** EXTERNAL LIBRARIES ********************************** #include <Vcc.h> //*** MYSENSORS ******************************************* // Enable debug prints #define MY_DEBUG // Lower serial speed if using 1Mhz clock // #define MY_BAUD_RATE 9600 #define MY_NODE_ID 4 #define MY_PARENT_NODE_ID 1 // AUTO #define MY_PARENT_NODE_IS_STATIC // Enable and select radio type attached #define MY_RADIO_NRF24 // #define MY_RADIO_RFM69 // Override RF24L01 channel number // #define MY_RF24_CHANNEL 125 // Override RF24L01 module PA level // #define MY_RF24_PA_LEVEL RF24_PA_LOW // Override RF24L01 datarate // #define MY_RF24_DATARATE RF24_250KBPS // Enabled repeater feature for this node // #define MY_REPEATER_FEATURE #include <MySensors.h> // *** SKETCH CONFIG ************************************** #define SKETCH_NAME "Door Sensor" #define SKETCH_MAJOR_VER "1" #define SKETCH_MINOR_VER "5" // Define the sensor child IDs #define CHILD_ID1 1 // Switch #define CHILD_ID2 2 // Battery voltage #define CHILD_ID3 3 // Battery percent // Define the message formats MyMessage msg(CHILD_ID1, V_TRIPPED); MyMessage msg2(CHILD_ID2, V_CUSTOM); MyMessage msg3(CHILD_ID3, V_CUSTOM); // *** SENSORS CONFIG ************************************* // Digital I/O pin for button or reed switch #define PRIMARY_BUTTON_PIN 3 // Debounce using a small sleep #define DEBOUNCE_SLEEP 5 // Sleep timer in milliseconds #define SLEEP_IN_MS 86400000 // Store the old value for comparison int old_value = -1; // Minimum expected vcc level, in volts (2xAA alkaline) const float vcc_min = 2.0 * 0.9; // Maximum expected vcc level, in volts (2xAA alkaline) const float vcc_max = 2.0 * 1.5; // Measured vcc by multimeter divided by reported vcc const float vcc_correction = 2.88 / 2.82; Vcc vcc(vcc_correction); // *** BEGIN ********************************************** void setup() { // Setup the contact sensor pinMode(PRIMARY_BUTTON_PIN, INPUT); // Activate or deactivate the internal pull-up - high if using internal resistor or low if using external digitalWrite(PRIMARY_BUTTON_PIN, LOW); } void presentation() { // Send the sketch version information to the gateway and controller sendSketchInfo(SKETCH_NAME, SKETCH_MAJOR_VER "." SKETCH_MINOR_VER); // Register all sensors to the gateway present(CHILD_ID1, S_DOOR); present(CHILD_ID2, S_CUSTOM); present(CHILD_ID3, S_CUSTOM); } void loop() { // Debouce using sleep sleep(DEBOUNCE_SLEEP); int value = digitalRead(PRIMARY_BUTTON_PIN); // If value has changed send the updated value if (value != old_value) { send(msg.set(value == HIGH ? 0 : 1)); old_value = value; } // Read battery voltage float battery_voltage = vcc.Read_Volts(); // Calculate battery percentage float battery_percent = vcc.Read_Perc(vcc_min, vcc_max); #ifdef MY_DEBUG Serial.print("Battery = "); Serial.print(battery_voltage); Serial.println(" Volts"); Serial.print("Battery = "); Serial.print(battery_percent); Serial.println("%"); #endif // Send battery readings send(msg2.set(battery_voltage, 2)); send(msg3.set(battery_percent, 1)); sendBatteryLevel(battery_percent); // Sleep until either interupt change or timer reaches zero smartSleep(PRIMARY_BUTTON_PIN - 2, CHANGE, SLEEP_IN_MS); }
-
Debug:
0 MCO:BGN:INIT NODE,CP=RNNNA--,VER=2.1.0 4 TSM:INIT 6 TSF:WUR:MS=0 14 TSM:INIT:TSP OK 16 TSM:INIT:STATID=4 18 TSF:SID:OK,ID=4 20 TSM:FPAR 22 TSM:FPAR:STATP=1 24 TSM:ID 24 TSM:ID:OK 26 TSM:UPL 63 !TSF:MSG:SEND,4-4-1-0,s=255,c=3,t=24,pt=1,l=1,sg=0,ft=0,st=NACK:1 2072 TSM:UPL 2109 !TSF:MSG:SEND,4-4-1-0,s=255,c=3,t=24,pt=1,l=1,sg=0,ft=1,st=NACK:1 4118 TSM:UPL 4155 !TSF:MSG:SEND,4-4-1-0,s=255,c=3,t=24,pt=1,l=1,sg=0,ft=2,st=NACK:1 6164 TSM:UPL 6201 !TSF:MSG:SEND,4-4-1-0,s=255,c=3,t=24,pt=1,l=1,sg=0,ft=3,st=NACK:1 8210 !TSM:UPL:FAIL 8212 TSM:FPAR 8212 TSM:FPAR:STATP=1 8214 TSM:ID 8216 TSM:ID:OK 8218 TSM:UPL 8255 !TSF:MSG:SEND,4-4-1-0,s=255,c=3,t=24,pt=1,l=1,sg=0,ft=4,st=NACK:1 10264 TSM:UPL 10301 !TSF:MSG:SEND,4-4-1-0,s=255,c=3,t=24,pt=1,l=1,sg=0,ft=5,st=NACK:1 12310 TSM:UPL 12347 !TSF:MSG:SEND,4-4-1-0,s=255,c=3,t=24,pt=1,l=1,sg=0,ft=6,st=NACK:1 14356 TSM:UPL 14393 !TSF:MSG:SEND,4-4-1-0,s=255,c=3,t=24,pt=1,l=1,sg=0,ft=7,st=NACK:1 16402 !TSM:UPL:FAIL 16404 TSM:FPAR 16404 TSM:FPAR:STATP=1 16408 TSM:ID 16410 TSM:ID:OK 16410 TSM:UPL 16449 !TSF:MSG:SEND,4-4-1-0,s=255,c=3,t=24,pt=1,l=1,sg=0,ft=8,st=NACK:1 18458 TSM:UPL 18495 !TSF:MSG:SEND,4-4-1-0,s=255,c=3,t=24,pt=1,l=1,sg=0,ft=9,st=NACK:1 20504 TSM:UPL 20541 !TSF:MSG:SEND,4-4-1-0,s=255,c=3,t=24,pt=1,l=1,sg=0,ft=10,st=NACK:1 22550 TSM:UPL 22587 !TSF:MSG:SEND,4-4-1-0,s=255,c=3,t=24,pt=1,l=1,sg=0,ft=11,st=NACK:1 24596 !TSM:UPL:FAIL 24598 TSM:FPAR 24598 TSM:FPAR:STATP=1 24602 TSM:ID 24604 TSM:ID:OK 24604 TSM:UPL 24643 !TSF:MSG:SEND,4-4-1-0,s=255,c=3,t=24,pt=1,l=1,sg=0,ft=12,st=NACK:1 26652 TSM:UPL 26689 !TSF:MSG:SEND,4-4-1-0,s=255,c=3,t=24,pt=1,l=1,sg=0,ft=13,st=NACK:1 28698 TSM:UPL 28735 !TSF:MSG:SEND,4-4-1-0,s=255,c=3,t=24,pt=1,l=1,sg=0,ft=14,st=NACK:1 30744 TSM:UPL 30781 !TSF:MSG:SEND,4-4-1-0,s=255,c=3,t=24,pt=1,l=1,sg=0,ft=15,st=NACK:1 32790 !TSM:UPL:FAIL 32792 TSM:FPAR 32792 TSM:FPAR:STATP=1 32796 TSM:ID 32798 TSM:ID:OK 32798 TSM:UPL 32837 !TSF:MSG:SEND,4-4-1-0,s=255,c=3,t=24,pt=1,l=1,sg=0,ft=0,st=NACK:1 34846 TSM:UPL 34883 !TSF:MSG:SEND,4-4-1-0,s=255,c=3,t=24,pt=1,l=1,sg=0,ft=1,st=NACK:1 36892 TSM:UPL 36929 !TSF:MSG:SEND,4-4-1-0,s=255,c=3,t=24,pt=1,l=1,sg=0,ft=2,st=NACK:1 38938 TSM:UPL 38975 !TSF:MSG:SEND,4-4-1-0,s=255,c=3,t=24,pt=1,l=1,sg=0,ft=3,st=NACK:1 40984 !TSM:UPL:FAIL 40986 TSM:FPAR 40986 TSM:FPAR:STATP=1 40990 TSM:ID 40992 TSM:ID:OK 40992 TSM:UPL 41031 !TSF:MSG:SEND,4-4-1-0,s=255,c=3,t=24,pt=1,l=1,sg=0,ft=4,st=NACK:1 43040 TSM:UPL 43077 !TSF:MSG:SEND,4-4-1-0,s=255,c=3,t=24,pt=1,l=1,sg=0,ft=5,st=NACK:1 45086 TSM:UPL 45123 !TSF:MSG:SEND,4-4-1-0,s=255,c=3,t=24,pt=1,l=1,sg=0,ft=6,st=NACK:1 47132 TSM:UPL 47169 !TSF:MSG:SEND,4-4-1-0,s=255,c=3,t=24,pt=1,l=1,sg=0,ft=7,st=NACK:1 49178 !TSM:UPL:FAIL 49180 TSM:FPAR 49180 TSM:FPAR:STATP=1 49184 TSM:ID 49186 TSM:ID:OK 49186 TSM:UPL 49225 !TSF:MSG:SEND,4-4-1-0,s=255,c=3,t=24,pt=1,l=1,sg=0,ft=8,st=NACK:1 51234 TSM:UPL 51271 !TSF:MSG:SEND,4-4-1-0,s=255,c=3,t=24,pt=1,l=1,sg=0,ft=9,st=NACK:1 53280 TSM:UPL 53317 !TSF:MSG:SEND,4-4-1-0,s=255,c=3,t=24,pt=1,l=1,sg=0,ft=10,st=NACK:1 55326 TSM:UPL 55363 !TSF:MSG:SEND,4-4-1-0,s=255,c=3,t=24,pt=1,l=1,sg=0,ft=11,st=NACK:1 57372 !TSM:UPL:FAIL 57374 TSM:FPAR 57374 TSM:FPAR:STATP=1 57378 TSM:ID 57380 TSM:ID:OK 57380 TSM:UPL 57419 !TSF:MSG:SEND,4-4-1-0,s=255,c=3,t=24,pt=1,l=1,sg=0,ft=12,st=NACK:1 59428 TSM:UPL 59465 !TSF:MSG:SEND,4-4-1-0,s=255,c=3,t=24,pt=1,l=1,sg=0,ft=13,st=NACK:1 61474 TSM:UPL 61511 !TSF:MSG:SEND,4-4-1-0,s=255,c=3,t=24,pt=1,l=1,sg=0,ft=14,st=NACK:1 63520 TSM:UPL 63557 !TSF:MSG:SEND,4-4-1-0,s=255,c=3,t=24,pt=1,l=1,sg=0,ft=15,st=NACK:1 65566 !TSM:UPL:FAIL 65568 TSM:FPAR 65568 TSM:FPAR:STATP=1 65572 TSM:ID 65574 TSM:ID:OK 65574 TSM:UPL 65613 !TSF:MSG:SEND,4-4-1-0,s=255,c=3,t=24,pt=1,l=1,sg=0,ft=0,st=NACK:1 67624 TSM:UPL 67661 !TSF:MSG:SEND,4-4-1-0,s=255,c=3,t=24,pt=1,l=1,sg=0,ft=1,st=NACK:1 69672 TSM:UPL 69709 !TSF:MSG:SEND,4-4-1-0,s=255,c=3,t=24,pt=1,l=1,sg=0,ft=2,st=NACK:1 71720 TSM:UPL 71757 !TSF:MSG:SEND,4-4-1-0,s=255,c=3,t=24,pt=1,l=1,sg=0,ft=3,st=NACK:1 73768 !TSM:UPL:FAIL 73771 TSM:FPAR 73771 TSM:FPAR:STATP=1 73775 TSM:ID 73777 TSM:ID:OK 73777 TSM:UPL 73816 !TSF:MSG:SEND,4-4-1-0,s=255,c=3,t=24,pt=1,l=1,sg=0,ft=4,st=NACK:1 75825 TSM:UPL 75862 !TSF:MSG:SEND,4-4-1-0,s=255,c=3,t=24,pt=1,l=1,sg=0,ft=5,st=NACK:1 77871 TSM:UPL 77907 !TSF:MSG:SEND,4-4-1-0,s=255,c=3,t=24,pt=1,l=1,sg=0,ft=6,st=NACK:1 79917 TSM:UPL 79953 !TSF:MSG:SEND,4-4-1-0,s=255,c=3,t=24,pt=1,l=1,sg=0,ft=7,st=NACK:1 81963 !TSM:UPL:FAIL 81965 TSM:FPAR 81965 TSM:FPAR:STATP=1 81969 TSM:ID 81971 TSM:ID:OK 81971 TSM:UPL 82010 !TSF:MSG:SEND,4-4-1-0,s=255,c=3,t=24,pt=1,l=1,sg=0,ft=8,st=NACK:1 84019 TSM:UPL 84056 !TSF:MSG:SEND,4-4-1-0,s=255,c=3,t=24,pt=1,l=1,sg=0,ft=9,st=NACK:1 86065 TSM:UPL 86102 !TSF:MSG:SEND,4-4-1-0,s=255,c=3,t=24,pt=1,l=1,sg=0,ft=10,st=NACK:1 88111 TSM:UPL 88147 !TSF:MSG:SEND,4-4-1-0,s=255,c=3,t=24,pt=1,l=1,sg=0,ft=11,st=NACK:1 90157 !TSM:UPL:FAIL 90159 TSM:FPAR 90159 TSM:FPAR:STATP=1 90163 TSM:ID 90165 TSM:ID:OK 90165 TSM:UPL 90204 !TSF:MSG:SEND,4-4-1-0,s=255,c=3,t=24,pt=1,l=1,sg=0,ft=12,st=NACK:1 92213 TSM:UPL 92250 !TSF:MSG:SEND,4-4-1-0,s=255,c=3,t=24,pt=1,l=1,sg=0,ft=13,st=NACK:1 94259 TSM:UPL 94296 !TSF:MSG:SEND,4-4-1-0,s=255,c=3,t=24,pt=1,l=1,sg=0,ft=14,st=NACK:1 96305 TSM:UPL 96342 !TSF:MSG:SEND,4-4-1-0,s=255,c=3,t=24,pt=1,l=1,sg=0,ft=15,st=NACK:1 98351 !TSM:UPL:FAIL 98353 TSM:FPAR 98353 TSM:FPAR:STATP=1 98357 TSM:ID 98359 TSM:ID:OK 98359 TSM:UPL 98398 !TSF:MSG:SEND,4-4-1-0,s=255,c=3,t=24,pt=1,l=1,sg=0,ft=0,st=NACK:1 100407 TSM:UPL 100444 !TSF:MSG:SEND,4-4-1-0,s=255,c=3,t=24,pt=1,l=1,sg=0,ft=1,st=NACK:1 102453 TSM:UPL 102490 !TSF:MSG:SEND,4-4-1-0,s=255,c=3,t=24,pt=1,l=1,sg=0,ft=2,st=NACK:1 104499 TSM:UPL 104536 !TSF:MSG:SEND,4-4-1-0,s=255,c=3,t=24,pt=1,l=1,sg=0,ft=3,st=NACK:1 106545 !TSM:UPL:FAIL 106547 TSM:FPAR 106549 TSM:FPAR:STATP=1 106551 TSM:ID 106553 TSM:ID:OK 106555 TSM:UPL 106592 !TSF:MSG:SEND,4-4-1-0,s=255,c=3,t=24,pt=1,l=1,sg=0,ft=4,st=NACK:1 108601 TSM:UPL 108638 !TSF:MSG:SEND,4-4-1-0,s=255,c=3,t=24,pt=1,l=1,sg=0,ft=5,st=NACK:1 110647 TSM:UPL 110684 !TSF:MSG:SEND,4-4-1-0,s=255,c=3,t=24,pt=1,l=1,sg=0,ft=6,st=NACK:1 112693 TSM:UPL 112730 !TSF:MSG:SEND,4-4-1-0,s=255,c=3,t=24,pt=1,l=1,sg=0,ft=7,st=NACK:1 114739 !TSM:UPL:FAIL 114741 TSM:FPAR 114743 TSM:FPAR:STATP=1 114745 TSM:ID 114747 TSM:ID:OK 114749 TSM:UPL 114786 !TSF:MSG:SEND,4-4-1-0,s=255,c=3,t=24,pt=1,l=1,sg=0,ft=8,st=NACK:1 116795 TSM:UPL 116832 !TSF:MSG:SEND,4-4-1-0,s=255,c=3,t=24,pt=1,l=1,sg=0,ft=9,st=NACK:1 118841 TSM:UPL 118878 !TSF:MSG:SEND,4-4-1-0,s=255,c=3,t=24,pt=1,l=1,sg=0,ft=10,st=NACK:1 120887 TSM:UPL 120924 !TSF:MSG:SEND,4-4-1-0,s=255,c=3,t=24,pt=1,l=1,sg=0,ft=11,st=NACK:1 122933 !TSM:UPL:FAIL 122935 TSM:FPAR 122937 TSM:FPAR:STATP=1 122939 TSM:ID 122941 TSM:ID:OK 122943 TSM:UPL 122980 !TSF:MSG:SEND,4-4-1-0,s=255,c=3,t=24,pt=1,l=1,sg=0,ft=12,st=NACK:1 124989 TSM:UPL 125026 !TSF:MSG:SEND,4-4-1-0,s=255,c=3,t=24,pt=1,l=1,sg=0,ft=13,st=NACK:1 127035 TSM:UPL 127072 !TSF:MSG:SEND,4-4-1-0,s=255,c=3,t=24,pt=1,l=1,sg=0,ft=14,st=NACK:1 129081 TSM:UPL 129118 !TSF:MSG:SEND,4-4-1-0,s=255,c=3,t=24,pt=1,l=1,sg=0,ft=15,st=NACK:1 131127 !TSM:UPL:FAIL 131129 TSM:FPAR 131131 TSM:FPAR:STATP=1 131133 TSM:ID 131135 TSM:ID:OK 131137 TSM:UPL 131174 !TSF:MSG:SEND,4-4-1-0,s=255,c=3,t=24,pt=1,l=1,sg=0,ft=0,st=NACK:1 133183 TSM:UPL 133220 !TSF:MSG:SEND,4-4-1-0,s=255,c=3,t=24,pt=1,l=1,sg=0,ft=1,st=NACK:1 135229 TSM:UPL 135266 !TSF:MSG:SEND,4-4-1-0,s=255,c=3,t=24,pt=1,l=1,sg=0,ft=2,st=NACK:1 137275 TSM:UPL 137312 !TSF:MSG:SEND,4-4-1-0,s=255,c=3,t=24,pt=1,l=1,sg=0,ft=3,st=NACK:1 139321 !TSM:UPL:FAIL 139323 TSM:FPAR 139325 TSM:FPAR:STATP=1 139327 TSM:ID 139329 TSM:ID:OK 139331 TSM:UPL 139368 !TSF:MSG:SEND,4-4-1-0,s=255,c=3,t=24,pt=1,l=1,sg=0,ft=4,st=NACK:1 141377 TSM:UPL 141414 !TSF:MSG:SEND,4-4-1-0,s=255,c=3,t=24,pt=1,l=1,sg=0,ft=5,st=NACK:1 143423 TSM:UPL 143460 !TSF:MSG:SEND,4-4-1-0,s=255,c=3,t=24,pt=1,l=1,sg=0,ft=6,st=NACK:1 145469 TSM:UPL 145506 !TSF:MSG:SEND,4-4-1-0,s=255,c=3,t=24,pt=1,l=1,sg=0,ft=7,st=NACK:1 147515 !TSM:UPL:FAIL 147517 TSM:FPAR 147519 TSM:FPAR:STATP=1 147521 TSM:ID 147523 TSM:ID:OK 147525 TSM:UPL 147562 !TSF:MSG:SEND,4-4-1-0,s=255,c=3,t=24,pt=1,l=1,sg=0,ft=8,st=NACK:1 149571 TSM:UPL 149608 !TSF:MSG:SEND,4-4-1-0,s=255,c=3,t=24,pt=1,l=1,sg=0,ft=9,st=NACK:1 151617 TSM:UPL 151654 !TSF:MSG:SEND,4-4-1-0,s=255,c=3,t=24,pt=1,l=1,sg=0,ft=10,st=NACK:1 153663 TSM:UPL 153700 !TSF:MSG:SEND,4-4-1-0,s=255,c=3,t=24,pt=1,l=1,sg=0,ft=11,st=NACK:1 155709 !TSM:UPL:FAIL 155711 TSM:FPAR 155713 TSM:FPAR:STATP=1 155715 TSM:ID 155717 TSM:ID:OK 155719 TSM:UPL 155756 !TSF:MSG:SEND,4-4-1-0,s=255,c=3,t=24,pt=1,l=1,sg=0,ft=12,st=NACK:1 157765 TSM:UPL 157802 !TSF:MSG:SEND,4-4-1-0,s=255,c=3,t=24,pt=1,l=1,sg=0,ft=13,st=NACK:1 159811 TSM:UPL 159848 !TSF:MSG:SEND,4-4-1-0,s=255,c=3,t=24,pt=1,l=1,sg=0,ft=14,st=NACK:1 161857 TSM:UPL 161894 !TSF:MSG:SEND,4-4-1-0,s=255,c=3,t=24,pt=1,l=1,sg=0,ft=15,st=NACK:1 163903 !TSM:UPL:FAIL 163905 TSM:FPAR 163907 TSM:FPAR:STATP=1 163909 TSM:ID 163911 TSM:ID:OK 163913 TSM:UPL 163950 !TSF:MSG:SEND,4-4-1-0,s=255,c=3,t=24,pt=1,l=1,sg=0,ft=0,st=NACK:1 165959 TSM:UPL 165996 !TSF:MSG:SEND,4-4-1-0,s=255,c=3,t=24,pt=1,l=1,sg=0,ft=1,st=NACK:1 168005 TSM:UPL 168042 !TSF:MSG:SEND,4-4-1-0,s=255,c=3,t=24,pt=1,l=1,sg=0,ft=2,st=NACK:1 170051 TSM:UPL 170088 !TSF:MSG:SEND,4-4-1-0,s=255,c=3,t=24,pt=1,l=1,sg=0,ft=3,st=NACK:1 172097 !TSM:UPL:FAIL 172099 TSM:FPAR 172101 TSM:FPAR:STATP=1 172103 TSM:ID 172105 TSM:ID:OK 172107 TSM:UPL 172144 !TSF:MSG:SEND,4-4-1-0,s=255,c=3,t=24,pt=1,l=1,sg=0,ft=4,st=NACK:1 174153 TSM:UPL 174190 !TSF:MSG:SEND,4-4-1-0,s=255,c=3,t=24,pt=1,l=1,sg=0,ft=5,st=NACK:1 176199 TSM:UPL 176236 !TSF:MSG:SEND,4-4-1-0,s=255,c=3,t=24,pt=1,l=1,sg=0,ft=6,st=NACK:1 178245 TSM:UPL 178282 !TSF:MSG:SEND,4-4-1-0,s=255,c=3,t=24,pt=1,l=1,sg=0,ft=7,st=NACK:1 180291 !TSM:UPL:FAIL 180293 TSM:FPAR 180295 TSM:FPAR:STATP=1 180297 TSM:ID 180299 TSM:ID:OK 180301 TSM:UPL 180338 !TSF:MSG:SEND,4-4-1-0,s=255,c=3,t=24,pt=1,l=1,sg=0,ft=8,st=NACK:1 182347 TSM:UPL 182384 !TSF:MSG:SEND,4-4-1-0,s=255,c=3,t=24,pt=1,l=1,sg=0,ft=9,st=NACK:1 184393 TSM:UPL 184430 !TSF:MSG:SEND,4-4-1-0,s=255,c=3,t=24,pt=1,l=1,sg=0,ft=10,st=NACK:1 186439 TSM:UPL 186476 !TSF:MSG:SEND,4-4-1-0,s=255,c=3,t=24,pt=1,l=1,sg=0,ft=11,st=NACK:1 188485 !TSM:UPL:FAIL 188487 TSM:FPAR 188489 TSM:FPAR:STATP=1 188491 TSM:ID 188493 TSM:ID:OK 188495 TSM:UPL 188532 !TSF:MSG:SEND,4-4-1-0,s=255,c=3,t=24,pt=1,l=1,sg=0,ft=12,st=NACK:1 190541 TSM:UPL 190578 !TSF:MSG:SEND,4-4-1-0,s=255,c=3,t=24,pt=1,l=1,sg=0,ft=13,st=NACK:1 192587 TSM:UPL 192624 !TSF:MSG:SEND,4-4-1-0,s=255,c=3,t=24,pt=1,l=1,sg=0,ft=14,st=NACK:1 194633 TSM:UPL 194670 !TSF:MSG:SEND,4-4-1-0,s=255,c=3,t=24,pt=1,l=1,sg=0,ft=15,st=NACK:1 196679 !TSM:UPL:FAIL 196681 TSM:FPAR 196683 TSM:FPAR:STATP=1 196685 TSM:ID 196687 TSM:ID:OK 196689 TSM:UPL 196726 !TSF:MSG:SEND,4-4-1-0,s=255,c=3,t=24,pt=1,l=1,sg=0,ft=0,st=NACK:1 198735 TSM:UPL 198772 !TSF:MSG:SEND,4-4-1-0,s=255,c=3,t=24,pt=1,l=1,sg=0,ft=1,st=NACK:1 200781 TSM:UPL 200818 !TSF:MSG:SEND,4-4-1-0,s=255,c=3,t=24,pt=1,l=1,sg=0,ft=2,st=NACK:1 202827 TSM:UPL 202864 !TSF:MSG:SEND,4-4-1-0,s=255,c=3,t=24,pt=1,l=1,sg=0,ft=3,st=NACK:1 204873 !TSM:UPL:FAIL 204875 TSM:FPAR 204877 TSM:FPAR:STATP=1 204879 TSM:ID 204881 TSM:ID:OK 204883 TSM:UPL 204920 !TSF:MSG:SEND,4-4-1-0,s=255,c=3,t=24,pt=1,l=1,sg=0,ft=4,st=NACK:1 206931 TSM:UPL 206968 !TSF:MSG:SEND,4-4-1-0,s=255,c=3,t=24,pt=1,l=1,sg=0,ft=5,st=NACK:1 208979 TSM:UPL 209016 !TSF:MSG:SEND,4-4-1-0,s=255,c=3,t=24,pt=1,l=1,sg=0,ft=6,st=NACK:1 211027 TSM:UPL 211064 !TSF:MSG:SEND,4-4-1-0,s=255,c=3,t=24,pt=1,l=1,sg=0,ft=7,st=NACK:1 213075 !TSM:UPL:FAIL 213078 TSM:FPAR 213080 TSM:FPAR:STATP=1 213082 TSM:ID 213084 TSM:ID:OK 213086 TSM:UPL 213123 !TSF:MSG:SEND,4-4-1-0,s=255,c=3,t=24,pt=1,l=1,sg=0,ft=8,st=NACK:1 215132 TSM:UPL 215169 !TSF:MSG:SEND,4-4-1-0,s=255,c=3,t=24,pt=1,l=1,sg=0,ft=9,st=NACK:1 217178 TSM:UPL 217214 !TSF:MSG:SEND,4-4-1-0,s=255,c=3,t=24,pt=1,l=1,sg=0,ft=10,st=NACK:1 219224 TSM:UPL 219260 !TSF:MSG:SEND,4-4-1-0,s=255,c=3,t=24,pt=1,l=1,sg=0,ft=11,st=NACK:1 221270 !TSM:UPL:FAIL 221272 TSM:FPAR 221274 TSM:FPAR:STATP=1 221276 TSM:ID 221278 TSM:ID:OK 221280 TSM:UPL 221317 !TSF:MSG:SEND,4-4-1-0,s=255,c=3,t=24,pt=1,l=1,sg=0,ft=12,st=NACK:1 223326 TSM:UPL 223363 !TSF:MSG:SEND,4-4-1-0,s=255,c=3,t=24,pt=1,l=1,sg=0,ft=13,st=NACK:1 225372 TSM:UPL 225409 !TSF:MSG:SEND,4-4-1-0,s=255,c=3,t=24,pt=1,l=1,sg=0,ft=14,st=NACK:1 225689 TSF:MSG:READ,0-0-255,s=255,c=3,t=20,pt=0,l=0,sg=0: 225695 TSF:MSG:BC 226275 TSF:MSG:READ,0-3-255,s=255,c=3,t=20,pt=0,l=0,sg=0: 226281 TSF:MSG:BC 227418 TSM:UPL 227454 !TSF:MSG:SEND,4-4-1-0,s=255,c=3,t=24,pt=1,l=1,sg=0,ft=15,st=NACK:1 229464 !TSM:UPL:FAIL 229466 TSM:FPAR 229468 TSM:FPAR:STATP=1 229470 TSM:ID 229472 TSM:ID:OK 229474 TSM:UPL 229511 !TSF:MSG:SEND,4-4-1-0,s=255,c=3,t=24,pt=1,l=1,sg=0,ft=0,st=NACK:1 231520 TSM:UPL 231557 !TSF:MSG:SEND,4-4-1-0,s=255,c=3,t=24,pt=1,l=1,sg=0,ft=1,st=NACK:1 233566 TSM:UPL 233603 !TSF:MSG:SEND,4-4-1-0,s=255,c=3,t=24,pt=1,l=1,sg=0,ft=2,st=NACK:1 235612 TSM:UPL 235649 !TSF:MSG:SEND,4-4-1-0,s=255,c=3,t=24,pt=1,l=1,sg=0,ft=3,st=NACK:1 237658 !TSM:UPL:FAIL 237660 TSM:FPAR 237662 TSM:FPAR:STATP=1 237664 TSM:ID 237666 TSM:ID:OK 237668 TSM:UPL 237705 !TSF:MSG:SEND,4-4-1-0,s=255,c=3,t=24,pt=1,l=1,sg=0,ft=4,st=NACK:1 239714 TSM:UPL 239751 !TSF:MSG:SEND,4-4-1-0,s=255,c=3,t=24,pt=1,l=1,sg=0,ft=5,st=NACK:1 241760 TSM:UPL 241797 !TSF:MSG:SEND,4-4-1-0,s=255,c=3,t=24,pt=1,l=1,sg=0,ft=6,st=NACK:1 243806 TSM:UPL 243843 !TSF:MSG:SEND,4-4-1-0,s=255,c=3,t=24,pt=1,l=1,sg=0,ft=7,st=NACK:1 245852 !TSM:UPL:FAIL 245854 TSM:FPAR 245856 TSM:FPAR:STATP=1 245858 TSM:ID 245860 TSM:ID:OK 245862 TSM:UPL 245899 !TSF:MSG:SEND,4-4-1-0,s=255,c=3,t=24,pt=1,l=1,sg=0,ft=8,st=NACK:1 247908 TSM:UPL 247945 !TSF:MSG:SEND,4-4-1-0,s=255,c=3,t=24,pt=1,l=1,sg=0,ft=9,st=NACK:1 249954 TSM:UPL 249991 !TSF:MSG:SEND,4-4-1-0,s=255,c=3,t=24,pt=1,l=1,sg=0,ft=10,st=NACK:1 252000 TSM:UPL 252037 !TSF:MSG:SEND,4-4-1-0,s=255,c=3,t=24,pt=1,l=1,sg=0,ft=11,st=NACK:1 254046 !TSM:UPL:FAIL 254048 TSM:FPAR 254050 TSM:FPAR:STATP=1 254052 TSM:ID 254054 TSM:ID:OK 254056 TSM:UPL 254093 !TSF:MSG:SEND,4-4-1-0,s=255,c=3,t=24,pt=1,l=1,sg=0,ft=12,st=NACK:1 256102 TSM:UPL 256139 !TSF:MSG:SEND,4-4-1-0,s=255,c=3,t=24,pt=1,l=1,sg=0,ft=13,st=NACK:1 258148 TSM:UPL 258185 !TSF:MSG:SEND,4-4-1-0,s=255,c=3,t=24,pt=1,l=1,sg=0,ft=14,st=NACK:1 260194 TSM:UPL 260231 !TSF:MSG:SEND,4-4-1-0,s=255,c=3,t=24,pt=1,l=1,sg=0,ft=15,st=NACK:1 262240 !TSM:UPL:FAIL 262242 TSM:FPAR 262244 TSM:FPAR:STATP=1 262246 TSM:ID 262248 TSM:ID:OK 262250 TSM:UPL 262287 !TSF:MSG:SEND,4-4-1-0,s=255,c=3,t=24,pt=1,l=1,sg=0,ft=0,st=NACK:1 264296 TSM:UPL 264333 !TSF:MSG:SEND,4-4-1-0,s=255,c=3,t=24,pt=1,l=1,sg=0,ft=1,st=NACK:1 266342 TSM:UPL 266379 !TSF:MSG:SEND,4-4-1-0,s=255,c=3,t=24,pt=1,l=1,sg=0,ft=2,st=NACK:1 268388 TSM:UPL 268425 !TSF:MSG:SEND,4-4-1-0,s=255,c=3,t=24,pt=1,l=1,sg=0,ft=3,st=NACK:1 270434 !TSM:UPL:FAIL 270436 TSM:FPAR 270438 TSM:FPAR:STATP=1 270440 TSM:ID 270442 TSM:ID:OK 270444 TSM:UPL 270481 !TSF:MSG:SEND,4-4-1-0,s=255,c=3,t=24,pt=1,l=1,sg=0,ft=4,st=NACK:1 272490 TSM:UPL 272527 !TSF:MSG:SEND,4-4-1-0,s=255,c=3,t=24,pt=1,l=1,sg=0,ft=5,st=NACK:1 274536 TSM:UPL 274573 !TSF:MSG:SEND,4-4-1-0,s=255,c=3,t=24,pt=1,l=1,sg=0,ft=6,st=NACK:1 276582 TSM:UPL 276619 !TSF:MSG:SEND,4-4-1-0,s=255,c=3,t=24,pt=1,l=1,sg=0,ft=7,st=NACK:1 278628 !TSM:UPL:FAIL 278630 TSM:FPAR 278632 TSM:FPAR:STATP=1 278634 TSM:ID 278636 TSM:ID:OK 278638 TSM:UPL 278675 !TSF:MSG:SEND,4-4-1-0,s=255,c=3,t=24,pt=1,l=1,sg=0,ft=8,st=NACK:1 280684 TSM:UPL 280721 !TSF:MSG:SEND,4-4-1-0,s=255,c=3,t=24,pt=1,l=1,sg=0,ft=9,st=NACK:1 282730 TSM:UPL 282767 !TSF:MSG:SEND,4-4-1-0,s=255,c=3,t=24,pt=1,l=1,sg=0,ft=10,st=NACK:1 284776 TSM:UPL 284813 !TSF:MSG:SEND,4-4-1-0,s=255,c=3,t=24,pt=1,l=1,sg=0,ft=11,st=NACK:1 286822 !TSM:UPL:FAIL 286824 TSM:FPAR 286826 TSM:FPAR:STATP=1 286828 TSM:ID 286830 TSM:ID:OK 286832 TSM:UPL 286869 !TSF:MSG:SEND,4-4-1-0,s=255,c=3,t=24,pt=1,l=1,sg=0,ft=12,st=NACK:1 288878 TSM:UPL 288915 !TSF:MSG:SEND,4-4-1-0,s=255,c=3,t=24,pt=1,l=1,sg=0,ft=13,st=NACK:1 290924 TSM:UPL 290961 !TSF:MSG:SEND,4-4-1-0,s=255,c=3,t=24,pt=1,l=1,sg=0,ft=14,st=NACK:1 292970 TSM:UPL 293007 !TSF:MSG:SEND,4-4-1-0,s=255,c=3,t=24,pt=1,l=1,sg=0,ft=15,st=NACK:1 295016 !TSM:UPL:FAIL 295018 TSM:FPAR 295020 TSM:FPAR:STATP=1 295022 TSM:ID 295024 TSM:ID:OK 295026 TSM:UPL 295063 !TSF:MSG:SEND,4-4-1-0,s=255,c=3,t=24,pt=1,l=1,sg=0,ft=0,st=NACK:1 297072 TSM:UPL 297109 !TSF:MSG:SEND,4-4-1-0,s=255,c=3,t=24,pt=1,l=1,sg=0,ft=1,st=NACK:1 299118 TSM:UPL 299155 !TSF:MSG:SEND,4-4-1-0,s=255,c=3,t=24,pt=1,l=1,sg=0,ft=2,st=NACK:1 301164 TSM:UPL 301201 !TSF:MSG:SEND,4-4-1-0,s=255,c=3,t=24,pt=1,l=1,sg=0,ft=3,st=NACK:1 303210 !TSM:UPL:FAIL 303212 TSM:FPAR 303214 TSM:FPAR:STATP=1 303216 TSM:ID 303218 TSM:ID:OK 303220 TSM:UPL 303257 !TSF:MSG:SEND,4-4-1-0,s=255,c=3,t=24,pt=1,l=1,sg=0,ft=4,st=NACK:1 305266 TSM:UPL 305303 !TSF:MSG:SEND,4-4-1-0,s=255,c=3,t=24,pt=1,l=1,sg=0,ft=5,st=NACK:1 307312 TSM:UPL 307349 !TSF:MSG:SEND,4-4-1-0,s=255,c=3,t=24,pt=1,l=1,sg=0,ft=6,st=NACK:1 309358 TSM:UPL 309395 !TSF:MSG:SEND,4-4-1-0,s=255,c=3,t=24,pt=1,l=1,sg=0,ft=7,st=NACK:1 311404 !TSM:UPL:FAIL 311406 TSM:FPAR 311408 TSM:FPAR:STATP=1 311410 TSM:ID 311412 TSM:ID:OK 311414 TSM:UPL 311451 !TSF:MSG:SEND,4-4-1-0,s=255,c=3,t=24,pt=1,l=1,sg=0,ft=8,st=NACK:1 313460 TSM:UPL 313497 !TSF:MSG:SEND,4-4-1-0,s=255,c=3,t=24,pt=1,l=1,sg=0,ft=9,st=NACK:1 315506 TSM:UPL 315543 !TSF:MSG:SEND,4-4-1-0,s=255,c=3,t=24,pt=1,l=1,sg=0,ft=10,st=NACK:1 317552 TSM:UPL 317589 !TSF:MSG:SEND,4-4-1-0,s=255,c=3,t=24,pt=1,l=1,sg=0,ft=11,st=NACK:1 319598 !TSM:UPL:FAIL 319600 TSM:FPAR 319602 TSM:FPAR:STATP=1 319604 TSM:ID 319606 TSM:ID:OK 319608 TSM:UPL 319645 !TSF:MSG:SEND,4-4-1-0,s=255,c=3,t=24,pt=1,l=1,sg=0,ft=12,st=NACK:1 321654 TSM:UPL 321691 !TSF:MSG:SEND,4-4-1-0,s=255,c=3,t=24,pt=1,l=1,sg=0,ft=13,st=NACK:1 323700 TSM:UPL 323737 !TSF:MSG:SEND,4-4-1-0,s=255,c=3,t=24,pt=1,l=1,sg=0,ft=14,st=NACK:1 325746 TSM:UPL 325783 !TSF:MSG:SEND,4-4-1-0,s=255,c=3,t=24,pt=1,l=1,sg=0,ft=15,st=NACK:1 327792 !TSM:UPL:FAIL 327794 TSM:FPAR 327796 TSM:FPAR:STATP=1 327798 TSM:ID 327800 TSM:ID:OK 327802 TSM:UPL 327839 !TSF:MSG:SEND,4-4-1-0,s=255,c=3,t=24,pt=1,l=1,sg=0,ft=0,st=NACK:1 329848 TSM:UPL 329885 !TSF:MSG:SEND,4-4-1-0,s=255,c=3,t=24,pt=1,l=1,sg=0,ft=1,st=NACK:1 331894 TSM:UPL 331931 !TSF:MSG:SEND,4-4-1-0,s=255,c=3,t=24,pt=1,l=1,sg=0,ft=2,st=NACK:1 333940 TSM:UPL 333977 !TSF:MSG:SEND,4-4-1-0,s=255,c=3,t=24,pt=1,l=1,sg=0,ft=3,st=NACK:1 335986 !TSM:UPL:FAIL 335988 TSM:FPAR 335990 TSM:FPAR:STATP=1 335992 TSM:ID 335994 TSM:ID:OK 335996 TSM:UPL 336033 !TSF:MSG:SEND,4-4-1-0,s=255,c=3,t=24,pt=1,l=1,sg=0,ft=4,st=NACK:1 338042 TSM:UPL 338079 !TSF:MSG:SEND,4-4-1-0,s=255,c=3,t=24,pt=1,l=1,sg=0,ft=5,st=NACK:1 340088 TSM:UPL 340125 !TSF:MSG:SEND,4-4-1-0,s=255,c=3,t=24,pt=1,l=1,sg=0,ft=6,st=NACK:1 342134 TSM:UPL 342171 !TSF:MSG:SEND,4-4-1-0,s=255,c=3,t=24,pt=1,l=1,sg=0,ft=7,st=NACK:1 344180 !TSM:UPL:FAIL 344182 TSM:FPAR 344184 TSM:FPAR:STATP=1 344186 TSM:ID 344188 TSM:ID:OK 344190 TSM:UPL 344227 !TSF:MSG:SEND,4-4-1-0,s=255,c=3,t=24,pt=1,l=1,sg=0,ft=8,st=NACK:1 346238 TSM:UPL 346275 !TSF:MSG:SEND,4-4-1-0,s=255,c=3,t=24,pt=1,l=1,sg=0,ft=9,st=NACK:1 348286 TSM:UPL 348323 !TSF:MSG:SEND,4-4-1-0,s=255,c=3,t=24,pt=1,l=1,sg=0,ft=10,st=NACK:1 350334 TSM:UPL 350371 !TSF:MSG:SEND,4-4-1-0,s=255,c=3,t=24,pt=1,l=1,sg=0,ft=11,st=NACK:1 352382 !TSM:UPL:FAIL 352385 TSM:FPAR 352387 TSM:FPAR:STATP=1 352389 TSM:ID 352391 TSM:ID:OK 352393 TSM:UPL 352430 !TSF:MSG:SEND,4-4-1-0,s=255,c=3,t=24,pt=1,l=1,sg=0,ft=12,st=NACK:1 354439 TSM:UPL 354476 !TSF:MSG:SEND,4-4-1-0,s=255,c=3,t=24,pt=1,l=1,sg=0,ft=13,st=NACK:1 356485 TSM:UPL 356521 !TSF:MSG:SEND,4-4-1-0,s=255,c=3,t=24,pt=1,l=1,sg=0,ft=14,st=NACK:1 358531 TSM:UPL 358567 !TSF:MSG:SEND,4-4-1-0,s=255,c=3,t=24,pt=1,l=1,sg=0,ft=15,st=NACK:1 360577 !TSM:UPL:FAIL 360579 TSM:FPAR 360581 TSM:FPAR:STATP=1 360583 TSM:ID 360585 TSM:ID:OK 360587 TSM:UPL 360624 !TSF:MSG:SEND,4-4-1-0,s=255,c=3,t=24,pt=1,l=1,sg=0,ft=0,st=NACK:1 362633 TSM:UPL 362670 !TSF:MSG:SEND,4-4-1-0,s=255,c=3,t=24,pt=1,l=1,sg=0,ft=1,st=NACK:1 364679 TSM:UPL 364716 !TSF:MSG:SEND,4-4-1-0,s=255,c=3,t=24,pt=1,l=1,sg=0,ft=2,st=NACK:1 366725 TSM:UPL 366761 !TSF:MSG:SEND,4-4-1-0,s=255,c=3,t=24,pt=1,l=1,sg=0,ft=3,st=NACK:1 368771 !TSM:UPL:FAIL 368773 TSM:FPAR 368775 TSM:FPAR:STATP=1 368777 TSM:ID 368779 TSM:ID:OK 368781 TSM:UPL 368818 !TSF:MSG:SEND,4-4-1-0,s=255,c=3,t=24,pt=1,l=1,sg=0,ft=4,st=NACK:1 370827 TSM:UPL 370864 !TSF:MSG:SEND,4-4-1-0,s=255,c=3,t=24,pt=1,l=1,sg=0,ft=5,st=NACK:1 372873 TSM:UPL 372910 !TSF:MSG:SEND,4-4-1-0,s=255,c=3,t=24,pt=1,l=1,sg=0,ft=6,st=NACK:1 374919 TSM:UPL 374956 !TSF:MSG:SEND,4-4-1-0,s=255,c=3,t=24,pt=1,l=1,sg=0,ft=7,st=NACK:1 376965 !TSM:UPL:FAIL 376967 TSM:FPAR 376969 TSM:FPAR:STATP=1 376971 TSM:ID 376973 TSM:ID:OK 376975 TSM:UPL 377012 !TSF:MSG:SEND,4-4-1-0,s=255,c=3,t=24,pt=1,l=1,sg=0,ft=8,st=NACK:1 379021 TSM:UPL 379058 !TSF:MSG:SEND,4-4-1-0,s=255,c=3,t=24,pt=1,l=1,sg=0,ft=9,st=NACK:1 381067 TSM:UPL 381104 !TSF:MSG:SEND,4-4-1-0,s=255,c=3,t=24,pt=1,l=1,sg=0,ft=10,st=NACK:1 383113 TSM:UPL 383150 !TSF:MSG:SEND,4-4-1-0,s=255,c=3,t=24,pt=1,l=1,sg=0,ft=11,st=NACK:1 385159 !TSM:UPL:FAIL 385161 TSM:FPAR 385163 TSM:FPAR:STATP=1 385165 TSM:ID 385167 TSM:ID:OK 385169 TSM:UPL 385206 !TSF:MSG:SEND,4-4-1-0,s=255,c=3,t=24,pt=1,l=1,sg=0,ft=12,st=NACK:1 387215 TSM:UPL 387252 !TSF:MSG:SEND,4-4-1-0,s=255,c=3,t=24,pt=1,l=1,sg=0,ft=13,st=NACK:1 389261 TSM:UPL 389298 !TSF:MSG:SEND,4-4-1-0,s=255,c=3,t=24,pt=1,l=1,sg=0,ft=14,st=NACK:1 391307 TSM:UPL 391344 !TSF:MSG:SEND,4-4-1-0,s=255,c=3,t=24,pt=1,l=1,sg=0,ft=15,st=NACK:1 393353 !TSM:UPL:FAIL 393355 TSM:FPAR 393357 TSM:FPAR:STATP=1 393359 TSM:ID 393361 TSM:ID:OK 393363 TSM:UPL 393400 !TSF:MSG:SEND,4-4-1-0,s=255,c=3,t=24,pt=1,l=1,sg=0,ft=0,st=NACK:1 395409 TSM:UPL 395446 !TSF:MSG:SEND,4-4-1-0,s=255,c=3,t=24,pt=1,l=1,sg=0,ft=1,st=NACK:1 397455 TSM:UPL 397492 !TSF:MSG:SEND,4-4-1-0,s=255,c=3,t=24,pt=1,l=1,sg=0,ft=2,st=NACK:1 399501 TSM:UPL 399538 !TSF:MSG:SEND,4-4-1-0,s=255,c=3,t=24,pt=1,l=1,sg=0,ft=3,st=NACK:1 401547 !TSM:UPL:FAIL 401549 TSM:FPAR 401551 TSM:FPAR:STATP=1 401553 TSM:ID 401555 TSM:ID:OK 401557 TSM:UPL 401594 !TSF:MSG:SEND,4-4-1-0,s=255,c=3,t=24,pt=1,l=1,sg=0,ft=4,st=NACK:1 403603 TSM:UPL 403640 !TSF:MSG:SEND,4-4-1-0,s=255,c=3,t=24,pt=1,l=1,sg=0,ft=5,st=NACK:1 405649 TSM:UPL 405686 !TSF:MSG:SEND,4-4-1-0,s=255,c=3,t=24,pt=1,l=1,sg=0,ft=6,st=NACK:1 407695 TSM:UPL 407732 !TSF:MSG:SEND,4-4-1-0,s=255,c=3,t=24,pt=1,l=1,sg=0,ft=7,st=NACK:1 409741 !TSM:UPL:FAIL 409743 TSM:FPAR 409745 TSM:FPAR:STATP=1 409747 TSM:ID 409749 TSM:ID:OK 409751 TSM:UPL 409788 !TSF:MSG:SEND,4-4-1-0,s=255,c=3,t=24,pt=1,l=1,sg=0,ft=8,st=NACK:1
-
@Mark-Swift I guess because of MY_PARENT_NODE_IS_STATIC which prevents the use of an alternative parent.
-
@tekka I guessed that, I thought however that you'd mentioned it would timeout, and try again later? As it stands it appears it'll keep trying until the battery is dead?
If nothing else I just want to clear up the behaviour so I fully understand it.
Thanks,
Mark
-
@Mark-Swift it does timeout, but for that you have to set MY_TRANSPORT_WAIT_READY_MS > 0. This ensures, that loop() will be entered after the timeout if the connection could not be established.
-
@tekka thank you, so if I
#define MY_TRANSPORT_WAIT_READY_MS 60000
Am I right in thinking that my node will enter the loop after it tries to connect to a parent for 60 seconds and fails? (In my case it'd then sleep until the next interrupt, when I guess it would then try again for 60 seconds...).
I really appreciate your help getting my head around this
-
@Mark-Swift Almost
#define MY_TRANSPORT_WAIT_READY_MS 60000
applies only when the node starts, i.e. before entering loop(). Once you are in loop() and you put the node to sleep
#define MY_SLEEP_TRANSPORT_RECONNECT_TIMEOUT_MS 10000
defines how long the node will try to establish a connection before going to sleep, default is 10s. Please have a look here for additional information.