SSID (Source Id) strips leading zero from device IDs
BrownGraham opened this issue · comments
ATTENTION !
- Use this form to report bugs in an Official Release of SoftRF firmware, hardware and web pages only ;
- Issue reports from anonymous users will be most likely invalidated. Reasons for that are well explained here ;
- Prior to asking a question, look into "Closed issues" area to see if it was answered before ;
- No any "ideas" or new feature requests, please ! New feature requests do not subject for taking into consideration unless they come from co-developers ;
- "Enhancements" of existing features are only allowed when you are ready to implement them by yourself. See CONTRIBUTING list for details ;
Recommended:
- screenshot or photo width - from 600 to 800 pixels ;
- aspect ratio - 4:3, 3:4, 16:9 or 9:16.
- substitute 'space' by 'x' character to mark a hardware checkbox
Hardware
- Standalone
- Badge
- Prime Mark II
- Dongle
- SkyView EZ
- Uni
- Mini
- Academy
- Lego
- ES Edition
- Balkan
- Raspberry Edition
- UAV
- WebTop Serial
- WebTop USB
- UAT978 module
- Flight Recorder
Firmware version
< screenshot of WebUI and/or SoftRF Tool status page > (required)
Firmware settings
Describe the bug
When you have SoftRF hardware whose Device Id starts with a zero (ex: 034FC0), the SSID created is shortened to eliminate the zero, but this is not documented as such. It is documented as SoftRF-XXXXXX on https://github.com/lyusupov/SoftRF/wiki/Prime-Edition-MkII.-Quick-start.
To Reproduce
Install SoftRF on a device with a leading zero, open WiFi settings on a phone or PC.
Expected behavior
Alignment between documentation & implementation. Document the stripping of leading zeros, or pad to the length of the Device ID as a string to retain the leading zero(s).