adafruit / adafruit/Adafruit_CircuitPython_BLE

Fix setting name in advertisement in examples.

Open Beginner friendly
#221 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
138
Forks
58
PR merge metrics
No merged PRs in 30d

Description

https://github.com/adafruit/Adafruit_CircuitPython_BLE/blob/82ada04a0f4019de00d103256621f73b80151a0d/examples/ble_advertising_simpletest.py#L13 doesn't work, but setting ble.name before the advertisement is created does.

Contributor guide

No contributing guide indexed for this repository

Research direction

Open examples/ble_advertising_simpletest.py at the linked line and compare when ble.name is set with when the advertisement is created. Update the example so the name is set before advertisement creation, then run the example or its available checks to confirm the advertised name works.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
embedded-iot
Issue type
Bug
Difficulty
1/5
Estimated time
Under an hour
Activity status
Quiet
Clarity
Clearly specified
Newbie friendliness
84/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.