ve3wmb / OrionWspr

Arduino WSPR Beacon for Amateur Radio pico-Balloons using SI5351a
GNU General Public License v3.0
16 stars 5 forks source link

***SWERR 2 data dump in hex: 6 occurs sporadically starting in F/W v0.09a #3

Closed ve3wmb closed 4 years ago

ve3wmb commented 5 years ago

This Swerr happens very sporadically and does somehow not seem to impact the next transmission.

Relevent code is in OrionStateMachine.cpp function orion_state_machine :

case WAIT_TELEMETRY_ST : // Waiting for telemetry gathering cycle if (event == TELEMETRY_TIME_EV) { // Time to get the Telemetery info orion_sm_change_state(TELEMETRY_ST); next_action = GET_TELEMETRY_ACTION; } else swerr(2, event); // This event is not supported in this state break;

It indicated that while waiting for a Telemetry Time Event that a PRIMARY_WSPR_TX_TIME_EV event was received instead, which is puzzling.

See attached files showing Orion WSPR TX Log (no debug trace unfortunately) and corresponding data from WSPRnet showing that the transmission at 17:50 utc was actually completed and received. Orion TX log Wsprnet

ve3wmb commented 4 years ago

This issue has been resolved by recent changes to prevent duplicate and missing events.