galmon icon indicating copy to clipboard operation
galmon copied to clipboard

Automatic upload of u-center configuration files during startup?

Open Avamander opened this issue 3 years ago • 5 comments

Due to the fact that my module is one of the cheap ones, it loses it's configuration each reboot, I'm currently using a bash script to parse the u-center configuration file and upload everything (including baudrate change) to the m8n module.

I am wondering, is there a way to do this nicely, with galmon and its set of tools?

Avamander avatar Jul 11 '20 14:07 Avamander

@Avamander - can you expand on this?

  • Which module? (so we can document this)
  • What's the core of your script to do the reset?
  • What platform? (hw,sw)

Plus, which parts of the u-center config file do you think is important..

mahtin avatar Jul 12 '20 19:07 mahtin

Which module? (so we can document this)

Ublox M8N, some random module from AliExpress. I can't find a picture at the moment.

What's the core of your script to do the reset?

I'm using this one: https://gist.github.com/hdoverobinson/42732da4c5b50d031f60c1fae39f0720

What platform? (hw,sw)

RPi4, Ubuntu Server 20.04

Plus, which parts of the u-center config file do you think is important..

Channel/constellation configuration, baudrate, time source, PPS configuration, update rate, power settings. I'm basically uploading the full configuration I exported using u-center.

Avamander avatar Jul 14 '20 00:07 Avamander

Hi Avamander, we can set baud rate now, and we set the update rate for the messages we need, the rest is a bit out of scope. How would you propose the uploading of the configuration to work? Is there a u-center save format perhaps?

ahupowerdns avatar Aug 02 '20 12:08 ahupowerdns

Is there a u-center save format perhaps?

Yes. The script I posted earlier is able to upload those.

Avamander avatar Aug 02 '20 13:08 Avamander

How would you propose the uploading of the configuration to work?

Some configuration option that takes a file path, after that it should just be uploaded when the opportunity arises?

Avamander avatar Aug 02 '20 13:08 Avamander