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.

Can't get data packets with Packetsniffer while connected to an iOS IPad

Helo. This is my first question on the e2e forum.

I am working on a BTLE project that works with an iOS app. All seems okay between the conectblue OLS425 module using the ti 2530 and iOS iPad and app. However, while using my new Packet Sniffer, I see the advertisment packets, but once connected to the initiator (iPad app), the data packets are not displayed. I have enterd my iOS device BTLE address in the 'connect to initiator address' box and have made sure that no encryption is being used All the time the app is doing just as I designed it. I am sure its somthing simple I am doing wrong, but have yet to find it. Please advise.

  • Hi,

    I think, the packet sniffer scans on the selected advertising channel for advertisements and if the connection is established on another channel than the one you have selected, the connection will be missed. I mean, let say you have selected Channel 37 as advertising channel and connection happens using advertising on Channel 38 then you won't be able to see the data transfer between central and peripheral device.

    To handle this, for now you can change the advertising channel to 37 only. And select the same in packet sniffer.

    Hope this helps!

    Thanks,

    Dhaval

     

  • Thank you very much for the bit of info. Once I told the decice to advertise on channel 37 only. I still see nothing in the way of data packets. All the rime while the two (my BT module and the iOS app) are happely exchanhing data. Being this my first time using the packet sniffer, I have a few questions that don't seem to come to me while reading the manual and notices. What color should the data packets be? I am assumeing orange. I do, however, see two green, LLData (Part 1) and LLData (Part 2) packets. The second one lists Latency Timeout ChM. I find no reference to these in the Select fields tab. I am using 2.18.1.0 and have updated the USB Dongle with the latest sniffer firmware from this package. At this point the BLE Explorer has been quite useful, but would like to find out what I am doing wrong With Packet Sniffer.

  • You can set the peripheral device to advertise on channel 37, by setting the 'gapRole_AdvChanMap' variable to 'GAP_ADVCHAN_37' in peripheral.c file.

    Have you tried after uncheck the 'Connect to Initiator Address' checkbox? Also, make sure that the peripheral device is within the range of BLE Sniffer dongle.

  • I am indeed advertising only on channel 37, but still no luck. the two devices are well in range (less than a meter) Could it be something iOS-8 is doing? I can't see why, but figured I would ask.

  • In my experience i've had to do several connects between the devices before the sniffer will finally pick up the connection.  This happens regardless if between two cc2540s or when an iphone is involved.

  • Aahhh! this makes more sense. Thank you very much. However, I too felt that this perhaps was the case. I gave up after about 35 unsuccessful attempts. So far I have found that the ti PacketSniffer is no good for BlueTooth-LE use.