SacArea-BayDeltaProjects / HydroRDITemplate

CR1000 and CR6 Datalogger template for RDI ADCPs
2 stars 0 forks source link

Radio Configs #17

Closed violetteta8 closed 5 years ago

violetteta8 commented 5 years ago

Have had issue with the RF450/451 radios seemingly losing their settings. Pull power/resend settings and everything is fine. Can we load the settings into the USR drive and have logger reload them? If so, let's use the SendVariables and GetVariables to set up a counter to tell the logger if radio comms have failed. IF they have, reboot/send proper configuration.

violetteta8 commented 5 years ago

Looks like this can be done via the SetSetting function on a CR6-RF451. It does not sound possible on external radios.

violetteta8 commented 5 years ago

Wrote a program external from the main program to test. Seemed to work like I wanted it to. Added code into AddRadioReset Branch. Need to update some placement of variables, update the ReadMe, etc. Need to FULLY test with board(s), and all instruments to verify scan times and everything are still working appropriately.

violetteta8 commented 5 years ago

Should update code to use all "GetVariables" instead of "SendVariables". This will allow us to see an actual counting value to verify the GetResult of 0 instead of just assuming it is working properly.

violetteta8 commented 5 years ago

Radio Configs were added to Master and have worked in testing. Closing the issue unless something comes up in the future.