adafruit / adafruit/Adafruit_CircuitPython_BLE_BroadcastNet

Fails to find advertisement on nRF52

Open
#20 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
14
Forks
7
PR merge metrics
No merged PRs in 30d

Description

When running the scan example on a nRF52 chip, the scan fails to match the BroadcastNet advertisement.
Running on Blinka with the PyPi version works as expected.

BroadcastNet generates the match prefix: (b'\xff\x22\x08\x03\x03\x00',)

The received advertisement on nRF52 is:
b'\x0e\xff\x22\x08\x03\x03\x00%\x06\x04\n\x00\x00\xdaA'
b'\x02\n\x00\x0e\tCIRCUITPY4638'

The received advertisement on Blinka is:
b'\x0e\xff\x22\x08\x03\x03\x00\x95\x06\x04\n\x00\x00\xd8A\x0e\tCIRCUITPY4638'

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the scan example and compare how the nRF52 and Blinka paths parse and match the BroadcastNet advertisement bytes shown in the report. The fix is complete when the nRF52 scan matches the same BroadcastNet prefix that succeeds on Blinka.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
embedded-iot
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.