arduino / arduino/ArduinoCore-arc32

CurieBLE: advertising doesn't work with longer local names

Open
#543 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
C
Stars
330
Forks
281
PR merge metrics
No merged PRs in 30d

Description

Observed by @CarlaMSedze and @rodriguezcarlos from the Arduino CTC team in Malmo.

```arduino
#include

void setup() {
BLE.begin();

BLE.setLocalName("Messenger");

BLE.advertise();
}

void loop() {
}
```

We expect this sketch to work. As with 2.0.2 both the advertisement data and scan response are supported. I think we should be able to support local name values up to 20 characters ....

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the CurieBLE sketch using BLE.begin(), BLE.setLocalName("Messenger"), and BLE.advertise(). Check how advertising data and the scan response handle local names, then verify that a 20-character local name works in both supported payloads.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
embedded-iot
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.