openbikesensor / openbikesensor/OpenBikeSensorFirmware

Offer a configurable device name

Open
#141 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.