conr2286 / PocketFT8Xcvr

Yet Another Pocket FT8 Transceiver
4 stars 1 forks source link

CQ button ignored until received traffic appears #14

Closed conr2286 closed 2 weeks ago

conr2286 commented 1 month ago

When operating with a dummy load, the CQ button is ignored.

conr2286 commented 1 month ago

The service_CQ() method is not invoked by update_offset_waterfall() which is not invoked by process_FT8_FFT() because the DSP_Flag is not set in loop().

The DSP_Flag will only be set after queue1.available() (defined by record_queue.h in AudioRecordQueue, derived from AudioStream) returns true which is apparently not happening.

conr2286 commented 1 month ago

service_CQ() is not invoked by update_offset_waterfall until num_decoded_msg>0 which, without a complete RF chain on prototype, will not happen.

conr2286 commented 2 weeks ago

Pressing Tx button is not starting the transmitted CQ message either

conr2286 commented 2 weeks ago

In update_offset_waterfall, the conditional expression, if (num_decoded_msg > 0 && WF_counter == 0) { was changed to become, if (WF_counter == 0) { so that a successful decode is now unnecessary to transmit CQ.

conr2286 commented 2 weeks ago

Resolved.