digiampietro / esp8266-rs41

ESP8266 Wemos D1 to setup the Radiosonde RS41 at startup. It will modify the TX registers 75, 76, and 77 to select an arbitrary frequency, usually inside the radio amateur band
22 stars 4 forks source link

Not > OK computer? #5

Open nsouthon opened 1 year ago

nsouthon commented 1 year ago

Following some collaberatiion on Facebook group Radiosonde UK, we found a workaround for an issue we had with the code not uploading the new frequencies - possibly on on later softare versions of RS41 sondes.

To enter service mode, the probe expects "STwsv", and then responds with the menu and the prompt ">" Looking at the code (line 277), it seems to be expecting the reply "> OK" Removing the 2 conditions in the 'if' statement and it worked (after a couple of reboots) and changes the frequency to 433.800. if ((buf[buflastline+1] == '>') && (buf[3] == 'O') && (buf[4] == 'K')) { to: if ((buf[buflastline+1] == '>') ) {

This workaround was applies sucessfully on another install. I hope this is useful.

Oskimark commented 10 months ago

i was having issues and just resolve to comment ALL the lines referring to de RX part. so i was blindly throwing commands. but it worked. Now i see the correct solution is that.