This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

How to sniff multiple devices with packet sniffer?

Other Parts Discussed in Thread: CC2541, CC2540

Hi Everyone,

I'm trying to connect to 2 CC2541 devices with my Nexus 7 2nd-gen and would like to know the transmission pattern of them(when do they exchange messages and in what kind of order). However, my packet sniffer seems to catch only one pair all the time. That is, once the packet sniffer hear the first initiation request, it starts to hear the packets only to and from the one which initiates the connection first although I can see the data from both CC2541 devices on my Nexus 7. Does anyone know what the problem it is?

or Does the packet sniffer can only sniff one connection?

Thanks so much if anyone has any idea. 

  • Hi Jenny,

    The TI Packet Sniffer can only capture one connection. To capture more, you will need additional dongle(s).

    I can recommend Frontline or Ellisys sniffers if you want more advanced loggers.

    Best Regards

    Joakim

  • Hi Joakim,

    Thank you really much!

    I've just tried using additional dongles to capture both. I attach two USB dongles on my PC in different side. And put each device close to different dongles.

    However, every time they can only catch the same one.

    How can I do? Or should I buy the Frontline BPA-low energy or spectrum analyzer?

    The only thing I wanna do is to check the arriving pattern (when do the packets arrive) on my Nexus7.

    Thanks for your reply. It's really a big help for me.

  • Hey Jenny,

    You could set the sniffers to scan on different channels (there are three adv channels, 37,38 & 39). Also, you can set the CC254x device to adv on one channel only which is good for debug purposes. This is done by:

    uint8 advChannel = HCI_ADV_CHAN_38; // or example HCI_ADV_CHAN_ALL for all channels

    GAPRole_SetParameter(GAPROLE_ADV_CHANNEL_MAP, sizeof( uint8 ), advChannel);

    Jenny Chen said:
    Or should I buy the Frontline BPA-low energy or spectrum analyzer?

    If you have the budget, I highly recommend it.

    Best Regards

    Joakim

  • Hi Joakim,

    Thanks for your reply. And I'll try and discuss with my boss later haha.

    Thanks.

    Best Regards,

    Jenny

     

  • Hi,

    Adding to Joakim's point,

    I would also recommend using perytons BLE sniffer, which works with our CC2540 USB dongle, and really shortens the debugging sessions.

    http://www.perytons.com/bluetooth

    Regards,

    Vijay