Skip to content

btle_tx and btle_rx: BTLE packet sender and sniffer/scanner

Compare
Choose a tag to compare
@JiaoXianjun JiaoXianjun released this 07 Nov 15:53
· 114 commits to master since this release
  1. Add all channels support. Including both ADV channel and DATA channel. btle_tx and btle_rx are tested with TI's packet sniffer. They work correctly.
  2. Add verbose and raw option to btle_rx.

btle_rx -c chan -g gain -a access_addr -k crc_init -v -r

chan: Channel number. Default value 37 (one of ADV chan). Valid value 0~39 (all ADV and DATA chan).

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.

access_addr: Access address. Default 8e89bed6 for ADV channel 37 38 39. You should specify correct value for data channel according to captured connection setup procedure.

crc_init: Default 555555 for ADV channel. You should specify correct value for data channel according to captured connection setup procedure.

-v: Verbose mode. Print more information when there is error

-r: Raw mode. After access addr is detected, print out following raw 42 bytes (without descrambling, parsing)