Long Client Device Name on Heltec V4 R8 Does Not Display on Bluetooth Scan

Open
#3,884 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 2 days

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
54/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Active
Tech stack
android, c

Research direction

Start by locating the Bluetooth advertising code for the Heltec V4 R8 and tracing how the configured client device name is passed into it. Reproduce with a 28-character name and compare the name shown during an Android Bluetooth scan with the configured name. Done means long valid names remain identifiable, or are consistently truncated instead of appearing as ESP32.

Written by the indexing model from the issue text.

Description

When setting a long, but valid, client device name (for example, 28 characters) the device name displays as ESP32 when scanning for Bluetooth devices. This is confusing if you have multiple devices with a long name as they all show up as ESP32 when scanning for Bluetooth devices so you never know exactly which device you are connecting to. If it is not possible to display long device names, possibly truncating the name displayed via Bluetooth scan may be a better solution for identifying multiple devices with long names. MeshCore version 1.18. Heltec V4 R8 + Expansion Board (GPS and touchscreen). Android application.

Dominant language
C
Stars
3.9k
Forks
1.5k
Avg merge
2d 7h
Merged PRs (30d)
56

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

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.

More from meshcore-dev/MeshCore

All issues in meshcore-dev/MeshCore

Similar issues

More C issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.