meshtastic / protobufs

Protobuf definitions for the Meshtastic project
https://meshtastic.org
GNU General Public License v3.0
71 stars 106 forks source link

Synchronize ham short_name length with meshtastic user short_name length #502

Closed tuxphone closed 1 month ago

tuxphone commented 1 month ago

Synchronize ham short_name length with meshtastic user short_name length

What does this PR do?

Setting the field length of short_name to 5 instead of 6.

The length of the short name of a meshtastic user is 4. The array of chars containg the name has the length of 5 (terminating zero at byte 5). The short name length and the refelcting field of HAM should not exceed these values.

Note: You cannot set the short name of a user to more than 4 chars via the app, so it should not be a vital issue.