Is there a way to force advertisements onto a single channel?

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
legic_1490776
Level 5
Level 5
25 likes received 10 likes received First like received

We are trying to debug our application using a packet sniffing tool but we often miss the connection establishment.  We think this might be because the connection request happens on one of the advertisement channels we are not monitoring (the tool can only monitor a single channel at a time).

Is there any way to force our tag to advertise only on one channel so that we can be sure that the connection is captured?

It looked like it might be possible using "SetAdvParams" but not sure what the right arguments are.

Also- we're currently using the TI USB dongle and their packet sniffing software - does anyone know of other packet sniffers (perhaps using the BRCM dongle?)

0 Likes
1 Solution
Anonymous
Not applicable

Hello Idgirod,

  You may want to give the Broadcom USB dongle a shot.  To capture these events.  Using something like the Pluggable BTv4.0 Dongle that makes use of the BCM20702 you can use the BTServerSpyLite which will capture all the transactions it sees via its connection.  I have had a couple of customers use this successfully to help debug their BTLE applications.  To find the executable and/or user guide you can simply do a web search for BTServer Spy Lite and you will see multiple places where you can download the executable.

Regards,

Frank

View solution in original post

0 Likes
2 Replies
MichaelF_56
Moderator
Moderator
Moderator
250 sign-ins 25 comments on blog 10 comments on blog

The BLE spec allows for 40 2MHz channels, 37 of which are used for data and 3 for advertising (ch 37-39).   Unfortunately, there is not a straight forward means by which to force advertising on just one of the three available channels.

Here's a packet sniffer recommended by one of my colleagues: http://www.blueradios.com/hardware_BlueSniff.htm

0 Likes
Anonymous
Not applicable

Hello Idgirod,

  You may want to give the Broadcom USB dongle a shot.  To capture these events.  Using something like the Pluggable BTv4.0 Dongle that makes use of the BCM20702 you can use the BTServerSpyLite which will capture all the transactions it sees via its connection.  I have had a couple of customers use this successfully to help debug their BTLE applications.  To find the executable and/or user guide you can simply do a web search for BTServer Spy Lite and you will see multiple places where you can download the executable.

Regards,

Frank

0 Likes