-
Notifications
You must be signed in to change notification settings - Fork 151
Description
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.