-
Notifications
You must be signed in to change notification settings - Fork 135
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
hop stoped at its second step #33
Comments
About my BLE equipment, they are a pad as master and a phone as slave. I used an app named BLE Debugging Assistant to make the phone work as slave, it could be seen on pad, connect with it and get simple data from it. Don't know if this has effected anything. |
I found something strange when checking packets with wireshark. I don't know if it's normal, cause it looks like the real freqency is wrongly setted. I read btle_rx.c to find out which frequency it will set but it seems correctly. So is this just a specially expression or there is a problem? |
Partly solve the problem. That's it: However, there are a few of problems I still don't understand: why wireshark shows different frequency from it should be? why the order of hopping is like this (just copy channel part from terminal): Hop: track start ... I thought it should be something like: |
I'm working on BTLE with bladeRF xA9 on Ubuntu 22.04, using newest BTLE, libbladeRF and .rbf file, and met a problem on hopping.
Firstly, sorry for my poor English.
The problem is, when I use btle_rx with -o, seeing "track start" in terminal when bladeRF catches AUX_CONNECT_REQ, it could catch some packeges on one channel, but when it says next state 2, it stops working while not exiting. I tried at least five times with the same problem.
That's my input:
./btle_rx -c 37 -s test -o
That's what I get before it stop (hide some data because I don't know if it is needed):
0028557us Pkt080 Ch37 AA:hide ADV_PDU_t0:ADV_IND T1 R0 PloadL24 AdvA:hide Data:hide CRC0
0000032us Pkt081 Ch37 AA:hide ADV_PDU_t5:CONNECT_REQ T1 R1 PloadL34 InitA:hide AdvA:hide AA:hide CRCInit:hide WSize:02 WOffset:0011 Itrvl:0018 Ltncy:0000 Timot:01f4 ChM:1fffffffff Hop:10 SCA:5 CRC0
Hop: track start ...
Hop: next ch 10 freq 2424MHz access hide crcInit hide
Hop: next state 1
0266259us Pkt082 Ch10 AA:hide LL_PDU_t1:LL_DATA1 NESN1 SN1 MD0 PloadL0 CRC0
0000036us Pkt083 Ch10 AA:hide LL_PDU_t3:LL_CTRL NESN0 SN1 MD1 PloadL24 Op10(LL_RESERVED) Byte:hide CRC0
0000014us Pkt084 Ch10 AA:hide LL_PDU_t1:LL_DATA1 NESN0 SN0 MD0 PloadL0 CRC0
0000011us Pkt085 Ch10 AA:hide LL_PDU_t2:LL_DATA2 NESN1 SN0 MD0 PloadL9 LL_Data:hide CRC0
Hop: 1st data pdu
Hop: next state 2
0941868us Pkt086 Ch34 AA:hide LL_PDU_t1:LL_DATA1 NESN1 SN1 MD0 PloadL0 CRC1
^CCaught signal 2 (here I use ctrl+C after waiting for 1 or 2 minutes)
Exit main loop ...
bladerf_deinit_stream.
enable module false: Success
bladerf_close.
bladeRF rx thread quit.
I'd like to know why this happenes and how can I fix it. Thanks for any suggestion.
The text was updated successfully, but these errors were encountered: