So I followed @Yveaux good advice to port the MySensors sketch as plain as possible from 1.5.4 to 2.3.2.
I think the logs are in synk now also @Yveaux
The sketch now looks like:
// =======================================================
// Node 49 Energy Sensor
// Measure Total Energy
// Sending every 20 sec
// =======================================================
// Use this sensor to measure KWH and Watt of your house meeter
// You need to set the correct pulsefactor of your meeter (blinks per KWH).
// The sensor starts by fetching current KWH value from gateway.
// Reports both KWH and Watt back to gateway.
//
// Unfortunately millis() won't increment when the Arduino is in
// sleepmode. So we cannot make this sensor sleep if we also want
// to calculate/report watt-number.
// Enable debug prints
#define MY_DEBUG
// Enable and select radio type attached
#define MY_RADIO_RF24
#include <MySensors.h>
#define DIGITAL_INPUT_SENSOR 3 // The digital input you attached your light sensor. (Only 2 and 3 generates interrupt!)
#define PULSE_FACTOR 1000 // Nummber of blinks per KWH of your meeter
#define SLEEP_MODE false // Watt-value can only be reported when sleep mode is false.
#define MAX_WATT 10000 // Max watt value to report. This filetrs outliers.
#define INTERRUPT DIGITAL_INPUT_SENSOR-2 // Usually the interrupt = pin -2 (on uno/nano anyway)
#define CHILD_ID 1 // Id of the sensor child
unsigned long SEND_FREQUENCY = 20000; // Minimum time between send (in milliseconds). We don't wnat to spam the gateway.
double ppwh = ((double)PULSE_FACTOR)/1000; // Pulses per watt hour
boolean pcReceived = false;
volatile unsigned long pulseCount = 0;
volatile unsigned long lastBlink = 0;
volatile unsigned long watt = 0;
unsigned long oldPulseCount = 0;
unsigned long oldWatt = 0;
double oldKwh;
unsigned long lastSend;
MyMessage wattMsg(CHILD_ID,V_WATT);
MyMessage kwhMsg(CHILD_ID,V_KWH);
MyMessage pcMsg(CHILD_ID,V_VAR1);
void presentation()
{
// Send the sketch version information to the gateway and Controller
sendSketchInfo("Energy Meter", "2.3.2");
// Register this device as power sensor
present(CHILD_ID, S_POWER);
}
void setup()
{
//begin(incomingMessage);
// Fetch last known pulse count value from gw
request(CHILD_ID, V_VAR1);
// attachInterrupt(INTERRUPT, onPulse, RISING);
attachInterrupt(INTERRUPT, onPulse, FALLING); // JOCKE
lastSend=millis();
}
void loop()
{
unsigned long now = millis();
// Only send values at a maximum frequency or woken up from sleep
bool sendTime = now - lastSend > SEND_FREQUENCY;
if (pcReceived && (SLEEP_MODE || sendTime)) {
// New watt value has been calculated
// if (!SLEEP_MODE && watt != oldWatt) { //JOCKE: Always send
// Check that we dont get unresonable large watt value.
// could hapen when long wraps or false interrupt triggered
if (watt<((unsigned long)MAX_WATT)) {
send(wattMsg.set(watt)); // Send watt value to gw
}
Serial.print("Watt:");
Serial.println(watt);
oldWatt = watt;
// }
// Pulse cout has changed
// if (pulseCount != oldPulseCount) { // JOCKE: Always send
send(pcMsg.set(pulseCount)); // Send pulse count value to gw
double kwh = ((double)pulseCount/((double)PULSE_FACTOR));
oldPulseCount = pulseCount;
if (kwh != oldKwh) {
send(kwhMsg.set(kwh, 4)); // Send kwh value to gw
oldKwh = kwh;
}
// }
lastSend = now;
} else if (sendTime && !pcReceived) {
// No count received. Try requesting it again
request(CHILD_ID, V_VAR1);
lastSend=now;
}
if (SLEEP_MODE) {
sleep(SEND_FREQUENCY);
}
}
void receive(const MyMessage &message) {
//void incomingMessage(const MyMessage &message) {
if (message.type==V_VAR1) {
pulseCount = oldPulseCount = message.getLong();
Serial.print("Received last pulse count from gw:");
Serial.println(pulseCount);
pcReceived = true;
}
}
void onPulse()
{
if (!SLEEP_MODE) {
unsigned long newBlink = micros();
unsigned long interval = newBlink-lastBlink;
if (interval<10000L) { // Sometimes we get interrupt on RISING
return;
}
watt = (3600000000.0 /interval) / ppwh;
lastBlink = newBlink;
}
pulseCount++;
}
I cleared the Eeprom on the sensor first and when kicking the Serial Monitor in "Arduino Studio" I get the logs as follows
__ __ ____
| \/ |_ _/ ___| ___ _ __ ___ ___ _ __ ___
| |\/| | | | \___ \ / _ \ `_ \/ __|/ _ \| `__/ __|
| | | | |_| |___| | __/ | | \__ \ _ | | \__ \
|_| |_|\__, |____/ \___|_| |_|___/\___/|_| |___/
|___/ 2.3.2
16 MCO:BGN:INIT NODE,CP=RNNNA---,FQ=16,REL=255,VER=2.3.2
26 TSM:INIT
28 TSF:WUR:MS=0
34 TSM:INIT:TSP OK
36 TSF:SID:OK,ID=7
37 TSM:FPAR
41 ?TSF:MSG:SEND,7-7-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
2050 !TSM:FPAR:NO REPLY
2052 TSM:FPAR
2056 ?TSF:MSG:SEND,7-7-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
4063 !TSM:FPAR:NO REPLY
4065 TSM:FPAR
4069 ?TSF:MSG:SEND,7-7-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
6076 !TSM:FPAR:NO REPLY
6078 TSM:FPAR
6082 ?TSF:MSG:SEND,7-7-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
8089 !TSM:FPAR:FAIL
8090 TSM:FAIL:CNT=1
8092 TSM:FAIL:DIS
8094 TSF:TDI:TSL
18096 TSM:FAIL:RE-INIT
18098 TSM:INIT
18104 TSM:INIT:TSP OK
18106 TSF:SID:OK,ID=7
18108 TSM:FPAR
18113 ?TSF:MSG:SEND,7-7-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
20120 !TSM:FPAR:NO REPLY
20122 TSM:FPAR
20126 ?TSF:MSG:SEND,7-7-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
22134 !TSM:FPAR:NO REPLY
22136 TSM:FPAR
22140 ?TSF:MSG:SEND,7-7-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
24148 !TSM:FPAR:NO REPLY
24151 TSM:FPAR
24155 ?TSF:MSG:SEND,7-7-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
26162 !TSM:FPAR:FAIL
26163 TSM:FAIL:CNT=2
26165 TSM:FAIL:DIS
26167 TSF:TDI:TSL
36170 TSM:FAIL:RE-INIT
36172 TSM:INIT
36178 TSM:INIT:TSP OK
36180 TSF:SID:OK,ID=7
36183 TSM:FPAR
36188 ?TSF:MSG:SEND,7-7-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
38195 !TSM:FPAR:NO REPLY
38197 TSM:FPAR
38201 ?TSF:MSG:SEND,7-7-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
38844 TSF:MSG:READ,0-0-7,s=255,c=3,t=8,pt=1,l=1,sg=0:0
38849 TSF:MSG:FPAR OK,ID=0,D=1
40209 TSM:FPAR:OK
40210 TSM:ID
40212 TSM:ID:OK
40213 TSM:UPL
40250 !TSF:MSG:SEND,7-7-0-0,s=255,c=3,t=24,pt=1,l=1,sg=0,ft=0,st=NACK:1
42258 TSM:UPL
42295 !TSF:MSG:SEND,7-7-0-0,s=255,c=3,t=24,pt=1,l=1,sg=0,ft=1,st=NACK:1
44302 TSM:UPL
44339 !TSF:MSG:SEND,7-7-0-0,s=255,c=3,t=24,pt=1,l=1,sg=0,ft=2,st=NACK:1
46346 TSM:UPL
46383 !TSF:MSG:SEND,7-7-0-0,s=255,c=3,t=24,pt=1,l=1,sg=0,ft=3,st=NACK:1
48390 !TSM:UPL:FAIL
48391 TSM:FPAR
48396 ?TSF:MSG:SEND,7-7-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=4,st=OK:
50403 !TSM:FPAR:NO REPLY
50405 TSM:FPAR
50409 ?TSF:MSG:SEND,7-7-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
52416 !TSM:FPAR:NO REPLY
52418 TSM:FPAR
52422 ?TSF:MSG:SEND,7-7-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
54430 !TSM:FPAR:NO REPLY
54432 TSM:FPAR
54436 ?TSF:MSG:SEND,7-7-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
56444 !TSM:FPAR:FAIL
56445 TSM:FAIL:CNT=3
56448 TSM:FAIL:DIS
56450 TSF:TDI:TSL
66453 TSM:FAIL:RE-INIT
66455 TSM:INIT
66461 TSM:INIT:TSP OK
66463 TSF:SID:OK,ID=7
66465 TSM:FPAR
66470 ?TSF:MSG:SEND,7-7-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
68478 !TSM:FPAR:NO REPLY
68481 TSM:FPAR
68485 ?TSF:MSG:SEND,7-7-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
70492 !TSM:FPAR:NO REPLY
70494 TSM:FPAR
70498 ?TSF:MSG:SEND,7-7-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
72506 !TSM:FPAR:NO REPLY
72508 TSM:FPAR
72512 ?TSF:MSG:SEND,7-7-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
74519 !TSM:FPAR:FAIL
74520 TSM:FAIL:CNT=4
74522 TSM:FAIL:DIS
74524 TSF:TDI:TSL
84527 TSM:FAIL:RE-INIT
84529 TSM:INIT
84535 TSM:INIT:TSP OK
84537 TSF:SID:OK,ID=7
84539 TSM:FPAR
84544 ?TSF:MSG:SEND,7-7-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
86551 !TSM:FPAR:NO REPLY
86553 TSM:FPAR
86557 ?TSF:MSG:SEND,7-7-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
88564 !TSM:FPAR:NO REPLY
88566 TSM:FPAR
88570 ?TSF:MSG:SEND,7-7-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
90578 !TSM:FPAR:NO REPLY
90580 TSM:FPAR
90585 ?TSF:MSG:SEND,7-7-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
92592 !TSM:FPAR:FAIL
92593 TSM:FAIL:CNT=5
92595 TSM:FAIL:DIS
92597 TSF:TDI:TSL
102600 TSM:FAIL:RE-INIT
102602 TSM:INIT
102608 TSM:INIT:TSP OK
102611 TSF:SID:OK,ID=7
102614 TSM:FPAR
102618 ?TSF:MSG:SEND,7-7-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
104626 !TSM:FPAR:NO REPLY
104628 TSM:FPAR
104632 ?TSF:MSG:SEND,7-7-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
106640 !TSM:FPAR:NO REPLY
106642 TSM:FPAR
106646 ?TSF:MSG:SEND,7-7-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
108654 !TSM:FPAR:NO REPLY
108656 TSM:FPAR
108660 ?TSF:MSG:SEND,7-7-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
110668 !TSM:FPAR:FAIL
110670 TSM:FAIL:CNT=6
110672 TSM:FAIL:DIS
110674 TSF:TDI:TSL
120676 TSM:FAIL:RE-INIT
120678 TSM:INIT
120684 TSM:INIT:TSP OK
120687 TSF:SID:OK,ID=7
120689 TSM:FPAR
120693 ?TSF:MSG:SEND,7-7-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
122701 !TSM:FPAR:NO REPLY
122703 TSM:FPAR
122707 ?TSF:MSG:SEND,7-7-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
124716 !TSM:FPAR:NO REPLY
124718 TSM:FPAR
124722 ?TSF:MSG:SEND,7-7-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
126730 !TSM:FPAR:NO REPLY
126732 TSM:FPAR
126736 ?TSF:MSG:SEND,7-7-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
128744 !TSM:FPAR:FAIL
128746 TSM:FAIL:CNT=7
128748 TSM:FAIL:DIS
128750 TSF:TDI:TSL
188752 TSM:FAIL:RE-INIT
188754 TSM:INIT
188761 TSM:INIT:TSP OK
188764 TSF:SID:OK,ID=7
188766 TSM:FPAR
188770 ?TSF:MSG:SEND,7-7-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
190778 !TSM:FPAR:NO REPLY
190780 TSM:FPAR
190784 ?TSF:MSG:SEND,7-7-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
192792 !TSM:FPAR:NO REPLY
192794 TSM:FPAR
192798 ?TSF:MSG:SEND,7-7-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
194806 !TSM:FPAR:NO REPLY
194808 TSM:FPAR
194812 ?TSF:MSG:SEND,7-7-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
196822 !TSM:FPAR:FAIL
196824 TSM:FAIL:CNT=7
196826 TSM:FAIL:DIS
196828 TSF:TDI:TSL
256830 TSM:FAIL:RE-INIT
256832 TSM:INIT
256838 TSM:INIT:TSP OK
256841 TSF:SID:OK,ID=7
256843 TSM:FPAR
256847 ?TSF:MSG:SEND,7-7-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
258856 !TSM:FPAR:NO REPLY
258859 TSM:FPAR
258863 ?TSF:MSG:SEND,7-7-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
260871 !TSM:FPAR:NO REPLY
260873 TSM:FPAR
260877 ?TSF:MSG:SEND,7-7-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
262885 !TSM:FPAR:NO REPLY
262887 TSM:FPAR
262891 ?TSF:MSG:SEND,7-7-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
264899 !TSM:FPAR:FAIL
264901 TSM:FAIL:CNT=7
264903 TSM:FAIL:DIS
264905 TSF:TDI:TSL
324907 TSM:FAIL:RE-INIT
324909 TSM:INIT
324915 TSM:INIT:TSP OK
324918 TSF:SID:OK,ID=7
324920 TSM:FPAR
324924 ?TSF:MSG:SEND,7-7-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
326932 !TSM:FPAR:NO REPLY
326934 TSM:FPAR
326938 ?TSF:MSG:SEND,7-7-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
328946 !TSM:FPAR:NO REPLY
328948 TSM:FPAR
328952 ?TSF:MSG:SEND,7-7-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
330961 !TSM:FPAR:NO REPLY
330963 TSM:FPAR
330968 ?TSF:MSG:SEND,7-7-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
332976 !TSM:FPAR:FAIL
332978 TSM:FAIL:CNT=7
332980 TSM:FAIL:DIS
332982 TSF:TDI:TSL
392984 TSM:FAIL:RE-INIT
392986 TSM:INIT
392992 TSM:INIT:TSP OK
392995 TSF:SID:OK,ID=7
392997 TSM:FPAR
393001 ?TSF:MSG:SEND,7-7-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
395010 !TSM:FPAR:NO REPLY
395012 TSM:FPAR
395016 ?TSF:MSG:SEND,7-7-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
397024 !TSM:FPAR:NO REPLY
397026 TSM:FPAR
397030 ?TSF:MSG:SEND,7-7-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
399038 !TSM:FPAR:NO REPLY
399040 TSM:FPAR
399044 ?TSF:MSG:SEND,7-7-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
401052 !TSM:FPAR:FAIL
401054 TSM:FAIL:CNT=7
401056 TSM:FAIL:DIS
401058 TSF:TDI:TSL
461060 TSM:FAIL:RE-INIT
461062 TSM:INIT
461068 TSM:INIT:TSP OK
461071 TSF:SID:OK,ID=7
461073 TSM:FPAR
461077 ?TSF:MSG:SEND,7-7-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
463085 !TSM:FPAR:NO REPLY
463087 TSM:FPAR
463091 ?TSF:MSG:SEND,7-7-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
465099 !TSM:FPAR:NO REPLY
465101 TSM:FPAR
465105 ?TSF:MSG:SEND,7-7-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
467115 !TSM:FPAR:NO REPLY
467117 TSM:FPAR
467121 ?TSF:MSG:SEND,7-7-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
469129 !TSM:FPAR:FAIL
469131 TSM:FAIL:CNT=7
469133 TSM:FAIL:DIS
469135 TSF:TDI:TSL
529137 TSM:FAIL:RE-INIT
529139 TSM:INIT
529145 TSM:INIT:TSP OK
529148 TSF:SID:OK,ID=7
529150 TSM:FPAR
529155 ?TSF:MSG:SEND,7-7-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
531163 !TSM:FPAR:NO REPLY
531165 TSM:FPAR
531169 ?TSF:MSG:SEND,7-7-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
533177 !TSM:FPAR:NO REPLY
533179 TSM:FPAR
533183 ?TSF:MSG:SEND,7-7-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
535191 !TSM:FPAR:NO REPLY
535193 TSM:FPAR
535197 ?TSF:MSG:SEND,7-7-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
537205 !TSM:FPAR:FAIL
537207 TSM:FAIL:CNT=7
537209 TSM:FAIL:DIS
537211 TSF:TDI:TSL
597213 TSM:FAIL:RE-INIT
597215 TSM:INIT
597221 TSM:INIT:TSP OK
597224 TSF:SID:OK,ID=7
597226 TSM:FPAR
597230 ?TSF:MSG:SEND,7-7-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
599238 !TSM:FPAR:NO REPLY
599240 TSM:FPAR
599244 ?TSF:MSG:SEND,7-7-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
601252 !TSM:FPAR:NO REPLY
601254 TSM:FPAR
601259 ?TSF:MSG:SEND,7-7-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
603267 !TSM:FPAR:NO REPLY
603269 TSM:FPAR
603273 ?TSF:MSG:SEND,7-7-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
605281 !TSM:FPAR:FAIL
605283 TSM:FAIL:CNT=7
605285 TSM:FAIL:DIS
605287 TSF:TDI:TSL
665289 TSM:FAIL:RE-INIT
665291 TSM:INIT
665297 TSM:INIT:TSP OK
665300 TSF:SID:OK,ID=7
665303 TSM:FPAR
665307 ?TSF:MSG:SEND,7-7-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
667315 !TSM:FPAR:NO REPLY
667317 TSM:FPAR
667321 ?TSF:MSG:SEND,7-7-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
669329 !TSM:FPAR:NO REPLY
669331 TSM:FPAR
669335 ?TSF:MSG:SEND,7-7-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
671343 !TSM:FPAR:NO REPLY
671345 TSM:FPAR
671349 ?TSF:MSG:SEND,7-7-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
671833 TSF:MSG:READ,0-0-7,s=255,c=3,t=8,pt=1,l=1,sg=0:0
671838 TSF:MSG:FPAR OK,ID=0,D=1
673357 TSM:FPAR:OK
673358 TSM:ID
673360 TSM:ID:OK
673361 TSM:UPL
673399 !TSF:MSG:SEND,7-7-0-0,s=255,c=3,t=24,pt=1,l=1,sg=0,ft=0,st=NACK:1
675406 TSM:UPL
675443 !TSF:MSG:SEND,7-7-0-0,s=255,c=3,t=24,pt=1,l=1,sg=0,ft=1,st=NACK:1
677450 TSM:UPL
677487 !TSF:MSG:SEND,7-7-0-0,s=255,c=3,t=24,pt=1,l=1,sg=0,ft=2,st=NACK:1
679494 TSM:UPL
679531 !TSF:MSG:SEND,7-7-0-0,s=255,c=3,t=24,pt=1,l=1,sg=0,ft=3,st=NACK:1
681538 !TSM:UPL:FAIL
681540 TSM:FPAR
681544 ?TSF:MSG:SEND,7-7-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=4,st=OK:
683551 !TSM:FPAR:NO REPLY
683553 TSM:FPAR
683557 ?TSF:MSG:SEND,7-7-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
685566 !TSM:FPAR:NO REPLY
685569 TSM:FPAR
685573 ?TSF:MSG:SEND,7-7-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
687581 !TSM:FPAR:NO REPLY
687583 TSM:FPAR
687587 ?TSF:MSG:SEND,7-7-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
689595 !TSM:FPAR:FAIL
689597 TSM:FAIL:CNT=7
689599 TSM:FAIL:DIS
689601 TSF:TDI:TSL
749603 TSM:FAIL:RE-INIT
749605 TSM:INIT
749612 TSM:INIT:TSP OK
749615 TSF:SID:OK,ID=7
749617 TSM:FPAR
749621 ?TSF:MSG:SEND,7-7-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
751629 !TSM:FPAR:NO REPLY
751631 TSM:FPAR
751635 ?TSF:MSG:SEND,7-7-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
753643 !TSM:FPAR:NO REPLY
753645 TSM:FPAR
753649 ?TSF:MSG:SEND,7-7-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
755657 !TSM:FPAR:NO REPLY
755659 TSM:FPAR
755663 ?TSF:MSG:SEND,7-7-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
757672 !TSM:FPAR:FAIL
757675 TSM:FAIL:CNT=7
757677 TSM:FAIL:DIS
757679 TSF:TDI:TSL
817681 TSM:FAIL:RE-INIT
817683 TSM:INIT
817689 TSM:INIT:TSP OK
817692 TSF:SID:OK,ID=7
817694 TSM:FPAR
817698 ?TSF:MSG:SEND,7-7-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
819706 !TSM:FPAR:NO REPLY
819708 TSM:FPAR
819713 ?TSF:MSG:SEND,7-7-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
821721 !TSM:FPAR:NO REPLY
821723 TSM:FPAR
821727 ?TSF:MSG:SEND,7-7-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
823735 !TSM:FPAR:NO REPLY
823737 TSM:FPAR
823741 ?TSF:MSG:SEND,7-7-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
825749 !TSM:FPAR:FAIL
825751 TSM:FAIL:CNT=7
825753 TSM:FAIL:DIS
825755 TSF:TDI:TSL
And the corresponding logs in MYSController looks like:
And I observe a number of C_REQ like: