openbikesensor / openbikesensor/OpenBikeSensorFirmware
Offer a configurable device name
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 124
- Forks
- 29
- PR merge metrics
- No merged PRs in 30d
Description
The device exposes its name when opening a hotspot, exposing the bluetooth service and likely other places. This name should be part of the configuration and have a decent unique default.
Default could be:
char deviceName[32];
snprintf(deviceName, sizeof(deviceName), "OpenBikeSensor-%04X", (uint16_t)(ESP.getEfuseMac() >> 32));
it should be used consistently at all places, limitations might apply to make the name valid for all use-cases (use of whitespace, special chars etc.).
The name should also be part of the page title of the exposed pages of the html configuration server. So that it is used by the browser too,
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Search the firmware for the hotspot, Bluetooth service, and HTML configuration server entry points, then trace how the current device name is supplied in each place. Define the configuration value and its unique default, use it consistently across those surfaces, and include it in the configuration pages' browser title.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- arduino, cpp
- Domain
- embedded-iot, web-dev
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100