Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

why I can not achieve the hopping? #13

Open
lanlanwei opened this issue Apr 10, 2018 · 2 comments
Open

why I can not achieve the hopping? #13

lanlanwei opened this issue Apr 10, 2018 · 2 comments

Comments

@lanlanwei
Copy link

I run the program first:
btle_rx -c chan -g gain -a access_addr -k crc_init -o
I can see the adv data,then I connect my phone with bluetooth modules,but I can not see the hopping data,any help will be appreciated.

@JiaoXianjun
Copy link
Owner

You need to share the packets you captured, then I can take a look.

@Bushbaker27
Copy link

Bushbaker27 commented Jun 28, 2023

@lanlanwei This may be because you are looking in the wrong place. Since Bluetooth core V4.0, connection requests in the form of AUX_CONNECT_REQ can go across the secondary advertising channels. These channels are specified as the 37 PHY channels that were previously reserved for Data PDUs. There is no difference between the packet structures of the CONNECT_IND and the AUX_CONNECT_REQ. The only difference is the latter is part of the new extended advertising protocol and is triggered by ADV_EXT_IND on one of the data channels (BLUETOOTH CORE SPECIFICATION Version 5.4 | Vol 6, Part B Section 4.4.2.4.4)

So if you have a bluetooth device that implements V4.0+ you may have to scour the data channels instead.

From the Bluetooth Core Specification page:
image
BLUETOOTH CORE SPECIFICATION Version 5.4 | Vol 6, Part B Section 2.3

image
BLUETOOTH CORE SPECIFICATION Version 5.4 | Vol 1, Part A Section 3.3.2.2.2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants