Skip to content

Commit 30e8575

Browse files
committed
Merge branch 'master' of github.com:JiaoXianjun/BTLE
2 parents e3131fd + 6a62783 commit 30e8575

File tree

1 file changed

+10
-6
lines changed

1 file changed

+10
-6
lines changed

README.md

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,13 @@ News (See complete introduction section after news section):
77

88
03 Nov. 2015: BTLE packet sniffer/scanner btle_rx works! Support HACKRF currently. Usage:
99

10-
btle_rx -c chan -g gain
10+
btle_rx -c chan -g gain -a access_addr
1111

12-
chan: Channel number. Default value 37. Valid value 37, 38, 39 currently (Advertising channel). Will support all channels 0~39 and flexible Access Address like TI's BTLE packet sniffer.
12+
chan: Channel number. Default value 37. Valid value 0~39. currently non 37 38 39 channel (advertising) are still under development. Will support all channels 0~39 and flexible Access Address like TI's BTLE packet sniffer.
1313

14-
gain: VGA gain. default value 10. valid value 0~62. LNA has been set to maximum 40dB internally. Gain should be tuned very carefully to ensure best performance under your circumstance. Suggest test from low gain, because high gain always causes severe distortion and get you nothing.
14+
gain: VGA gain. default value 6. valid value 0~62. LNA has been set to maximum 40dB internally. Gain should be tuned very carefully to ensure best performance under your circumstance. Suggest test from low gain, because high gain always causes severe distortion and get you nothing.
15+
16+
access_addr: access address. Default value 8e89bed6 for channel 37 38 39.
1517

1618
ATTENTION: To support fast/realtime sender and scanner/sniffer, I have changed lib_device->transfer_count to 4 and lib_device->buffer_size to 4096 in hackrf driver: hackrf.c. If you want to use this tool, you'd better also do that change to your driver source code and re-compile, re-install as instructed in <a href="https://github.com/mossmann/hackrf">hackrf</a>
1719

@@ -130,11 +132,13 @@ You will see a device named as "CA1308 11950 22.626 113.823 8" in your LightBlue
130132

131133
----btle_rx Usage:
132134

133-
btle_rx -c chan -g gain
135+
btle_rx -c chan -g gain -a access_addr
136+
137+
chan: Channel number. Default value 37. Valid value 0~39. currently non 37 38 39 channel (advertising) are still under development. Will support all channels 0~39 and flexible Access Address like TI's BTLE packet sniffer.
134138

135-
chan: Channel number. Default value 37. Valid value 37, 38, 39 currently (Advertising channel). Will support all channels 0~39 and flexible Access Address like TI's BTLE packet sniffer.
139+
gain: VGA gain. default value 6. valid value 0~62. LNA has been set to maximum 40dB internally. Gain should be tuned very carefully to ensure best performance under your circumstance. Suggest test from low gain, because high gain always causes severe distortion and get you nothing.
136140

137-
gain: VGA gain. default value 10. valid value 0~62. LNA has been set to maximum 40dB internally. Gain should be tuned very carefully to ensure best performance under your circumstance. Suggest test from low gain, because high gain always causes severe distortion and get you nothing.
141+
access_addr: access address. Default value 8e89bed6 for channel 37 38 39.
138142

139143
----Packet descriptor examples of btle_tx for all formats:
140144

0 commit comments

Comments
 (0)