Kshipra
Kshipra

Reputation: 80

BLE advertising channel

I would like to know how to see in which channel our BLE device is advertising its data. Can we configure (change) on our own or is it chosen randomly?

I know this much there are three channels allocated for advertising BLE data.

Upvotes: 4

Views: 1767

Answers (2)

user2423804
user2423804

Reputation: 145

You can set the chan_map using the le_set_advertising_parameters structure to advertise on the particular channel

Upvotes: 2

Chirag Parekh
Chirag Parekh

Reputation: 432

If you want to know about the channel over which advertising data is transmitted you can create a packet sniffer for yourself...

The hex file for that can be found in \program files\Texas Instruments\SmartRF Tools\Packet Sniffer\bin\general\firmware\sniffer_fw_cc2540_usb.hex

For everything about packet sniffer refer

http://processors.wiki.ti.com/index.php/BLE_sniffer_guide

You can come to know about everything your BLE device is transmitting using packet sniffer.There are dozens of filters and everything you can configure in packet sniffer and visualize just the data you want.The transmitting channels are also described and from that you can know about the channel over which your advertising data is being transmitted...

The transmitting of advertising data is handeled over channel 37, 38 and 39 at frequencies 2.402, 2.426 and 2.480 Ghz respectively.This is actually handled by physical layer and as of I know you cant configure it...

Upvotes: 2

Related Questions