mirror of
https://github.com/meshtastic/protobufs.git
synced 2026-04-20 22:13:55 +00:00
don't lose region info for 1.1 nodes that update
This commit is contained in:
parent
e6e1c5a600
commit
5c1062ea83
2 changed files with 51 additions and 2 deletions
34
docs/docs.md
34
docs/docs.md
|
|
@ -20,6 +20,8 @@
|
|||
- [deviceonly.proto](#deviceonly.proto)
|
||||
- [ChannelFile](#.ChannelFile)
|
||||
- [DeviceState](#.DeviceState)
|
||||
- [LegacyRadioConfig](#.LegacyRadioConfig)
|
||||
- [LegacyRadioConfig.LegacyPreferences](#.LegacyRadioConfig.LegacyPreferences)
|
||||
|
||||
- [environmental_measurement.proto](#environmental_measurement.proto)
|
||||
- [EnvironmentalMeasurement](#.EnvironmentalMeasurement)
|
||||
|
|
@ -319,6 +321,7 @@ the receive queue and use the preferences store for the other stuff
|
|||
|
||||
| Field | Type | Label | Description |
|
||||
| ----- | ---- | ----- | ----------- |
|
||||
| legacyRadio | [LegacyRadioConfig](#LegacyRadioConfig) | | Moved to its own file, but we keep this here so we can automatically migrate old radio.region settings |
|
||||
| my_node | [MyNodeInfo](#MyNodeInfo) | | Read only settings/info about this node |
|
||||
| owner | [User](#User) | | My owner info |
|
||||
| node_db | [NodeInfo](#NodeInfo) | repeated | |
|
||||
|
|
@ -332,6 +335,37 @@ the receive queue and use the preferences store for the other stuff
|
|||
|
||||
|
||||
|
||||
|
||||
<a name=".LegacyRadioConfig"></a>
|
||||
|
||||
### LegacyRadioConfig
|
||||
This is a stub version of the old 1.1 representation of RadioConfig. But only keeping the region info. The device firmware uses
|
||||
this stub while migrating old nodes to the new preferences system.
|
||||
|
||||
|
||||
| Field | Type | Label | Description |
|
||||
| ----- | ---- | ----- | ----------- |
|
||||
| preferences | [LegacyRadioConfig.LegacyPreferences](#LegacyRadioConfig.LegacyPreferences) | | |
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a name=".LegacyRadioConfig.LegacyPreferences"></a>
|
||||
|
||||
### LegacyRadioConfig.LegacyPreferences
|
||||
|
||||
|
||||
|
||||
| Field | Type | Label | Description |
|
||||
| ----- | ---- | ----- | ----------- |
|
||||
| region | [RegionCode](#RegionCode) | | The region code for my radio (US, CN, EU433, etc...) |
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue