1. Calcaute Data Delta in different uplink
1.1 Use the script node
The calculation code is as follows:
The calculated difference result is saved to State and uploaded to telemetry for display.
If the normal increment occurs without packet loss, State = 1;
if packet loss occurs, State = 0.
1.2 Use the calculate delta node