...
diagActivate
- (1
)diagPoll
- (4
,6
,16
,20
19,
31
22
,38
32
)diagResponse
- (35
38
)diagPoll
- (38
41
,49
52
,53
56
,65, 75
)diagResponse
- (69
81
)diagPoll
- (72
84
)
Code Block | ||
---|---|---|
| ||
diag: Entered application callback function: diagActivate appId: 3 diagnostic activated with 600s activation period and 5s poll interval diag: Entered application callback function: diagPoll appId: 3 state: ONCE diag: Entered application callback function: diagPoll appId: 3 state: ACTIVATED diag: template registration request 240036 note.template diagnostic now SENDING_REQUEST 240036 to gateway:54 sensor sending request (152159) 240036 to gateway:54 sending ( (152159/152159) at txp:-17 240036 to gateway:54 waiting 2s9s to transmit (slot 0s-20s in 20s window) diagnostic state will be set to 1 on success, or 0 on error sched: sleeping 3s4s (next transmit window in 1s8s) diag: Entered application callback function: diagPoll appId: 3 state: SENDING_REQUEST sched: sleeping 5s4s 240036(next totransmit gateway:5window waiting for message from gateway in 3s) diag: Entered application callback function: diagPoll appId: 3 state: SENDING_REQUEST sched: sleeping 4s (nextdiag: transmitEntered windowapplication incallback 12s)function: 240036diagPoll fm gateway:5 appId: 3 state: SENDING_REQUEST sched: sleeping 5s (next transmit window in 14s) 240036 to gateway:4 waiting for message from gateway 240036 fm gateway:4 ack received ATP: buffered sample 21 ATP: rssi/snr:-3433/76 txp:-17 ATP: | [31] - - - - - - - - - - - - 4 - - - - - - - - - - - - - - - - - - - - - - - - - - diagnostic now RECEIVING_RESPONSE (waiting for response) 240036 fm gateway:54 waiting for response from gateway 240036 fm gatewaydiag:5 nowEntered receivingapplication responsecallback fromfunction: gatewaydiagPoll 240036 fm gateway:5 sending ACK (0/0) at txp:-17 diag: Entered application callback function: diagPoll appId: 3 state: RECEIVING_RESPONSE sched: sleeping 4s (next transmit window in 8s) appId: 3 state: RECEIVING_RESPONSE sched: sleeping 4s (next transmit window in 7s) 240036 fm gateway:4 now receiving response from gateway 240036 fm gateway:4 sending ACK (0/0) at txp:-17 diagnostic now 1 (response completed) diag: Entered application callback function: diagResponse appId: 3 rsp: {"id":219790917,"bytes":32} diag: SUCCESSFUL template registration diag: Entered application callback function: diagPoll appId: 3 state: STATE_DIAG_CHECK diag: generating diagnostic report 240036 note.add diagnostic now SENDING_REQUEST 240036 to gateway:65 sensor sending request (159172) 240036 to gateway:65 sending ( (159170/159172) at txp:-17 240036 to gateway:65 waiting 3s to transmit (slot 0s-20s in 20s window) diag: note request sent diagnostic state will be set to 1 on success, or 0 on error sched: sleeping 4s (next transmit window in 2s) diag: Entered application callback function: note request sentdiagPoll appId: 3 state: SENDING_REQUEST sched: sleeping 4s (next transmit window in 3s) diag: Entered application callback function: diagPoll appId: 3 state: SENDING_REQUEST sched: sleeping 4s17s) 240036 to gateway:5 waiting for message from gateway diag: Entered application callback function: diagPoll appId: 3 state: SENDING_REQUEST sched: sleeping 5s (next transmit window in 13s) 240036 fm gateway:5 ack received ATP: buffered sample 2 ATP: rssi/snr:-44/7 txp:-17 ATP: | [3] - - - - - - - - - - - - 4 - - - - - - - - - - - - - - - - - - - - - - - - - - 240036 fm gateway:5 sending ( (2/172) at txp:-17 240036 to gateway:65 waiting for message from gateway diag: Entered application callback function: diagPoll appId: 3 state: SENDING_REQUEST sched: sleeping 4s (next transmit window in 13s7s) 240036 fm gateway:65 ack received ATP: buffered sample 3 ATP: would decrease power but it's already bottomed-out at -17db ATP: rssi/snr:-44/57 avg:-3740/6 txp:-17 ATP: | [54] - - - - - - - - - - - - 4 - - - - - - - - - - - - - - - - - - - - - - - - - - diagnostic now RECEIVING_RESPONSE (waiting for response) 240036 fm gateway:6 waiting for response from gateway 240036 fm gateway:6 now receiving response from gateway (waiting for response) 240036 fm gateway:65 sendingwaiting ACK (0/0) at txp:-17for response from gateway diag: Entered application callback function: diagPoll appId: 3 state: RECEIVING_RESPONSE sched: sleeping 4s5s (next transmit window in 8s) 3s) 240036 fm gateway:5 now receiving response from gateway 240036 fm gateway:5 sending ACK (0/0) at txp:-17 diagnostic now 1 (response completed) diag: Entered application callback function: diagResponse appId: 3 rsp: {"id":9171979,"template":true} diag: SUCCESSFUL Note submission diag: Entered application callback function: diagPoll appId: 3 state: STATE_DIAG_CHECK diagnostic now DEACTIVATED (diag: completed successfully) diagnostic deactivated |
Implementation Details
...