Install the TI Packet Sniffer and then Click on Help -> User Manual. It will walk you through getting a dongle set up. Too many options to repeat here. Skim the manual, play with the analyzer and then re-read the manual. The packet sniffer code is Windows only AFAIK. I run it in a Virtual Box VM running WinXP. Get the hang of the analyzer in a controlled environment, preferably with just a single BLE peripheral and an app such as Light Blue. Start with the central/Light Blue turned off. Start the analyzer and make sure to hit the "down arrows" to allow the display to scroll. Turn on your peripheral and make sure you see it advertising. Turn on the central or Light Blue. You should see a SCAN_REQ in response to and ADV_IND and then a SCAN_RESP in response to the SCAN_REQ. Have the central connect to the peripheral. You should see a CONNECT_REQ and then the link layer will kick in, spitting control packets every connection interval so the display may scroll quickly. The link layer packets all appear in yellow on my machine. If a service/characteristic discovery process gets started you should see some ATT packets with recognizable operations in them appear in an orange-ish color. If you are going to be looking at the air traces then I suggest having the Bluetooth Core Spec 4.0 handy and possibly a copy of Heydon's Bluetooth Low Energy: The Developer’s Handbook (available through safaribooksonline). NOTES:The analyzer can only look at one advertising channel. The default configuration allows it to follow a connection as it channel hops, but if you are watching for advertising on channel 37 and a connection gets started on 38, you can't follow it. When debugging I set my peripheral to advertise only on Ch 37 and can then observe all the traffic that follows. Following an encrypted conversation appears possible from reading the manual, but requires a static long term key entered in a text file.Sometimes the analyzer gets stuck and needs to be restarted. When in doubt, quit and restart. Spero Koulouras (408) 874-6331 On Tue, Dec 17, 2013 at 12:10 AM, Rick Mann <email@hidden> wrote: How are you guys using the TI packet sniffer? I have the TI dev kit with the requisite dongles, I think. Don't know what software I need to run. Is there something on the Mac? On Dec 16, 2013, at 23:47 , John Earl <email@hidden> wrote: > Yes, empty packets are sent over the physical link (no payload). You can see them easily as a pair of packets every CI on the TI packet sniffer, when the link is quiescent. > > John > > > On Tuesday, December 17, 2013, Rick Mann wrote: > I'm having a hard time getting precise information about BLE connections. > > Specifically, I want to know if there's no data to transmit, does BLE maintain the connection by continuing to send packets over the physical link? It seems this would be necessary, otherwise the supervision timeout would result in the connection being closed, but my app does not seem to drop the connection, even though no characteristics are being written. > > Can anyone elaborate? Thanks. > > -- > Rick > > > > _______________________________________________ > Do not post admin requests to the list. They will be ignored. > Bluetooth-dev mailing list (email@hidden) > Help/Unsubscribe/Update your Subscription: > > This email sent to email@hidden -- Rick _______________________________________________ Do not post admin requests to the list. They will be ignored. Bluetooth-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden _______________________________________________ Do not post admin requests to the list. They will be ignored. Bluetooth-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden References: >Re: BLE Connection Maintenance (From: John Earl <email@hidden>) >Re: BLE Connection Maintenance (From: Spero Koulouras <email@hidden>) Prev by Date: Re: BLE Connection Maintenance Next by Date: Re: iOS Bluetooth in Background Previous by thread: Re: BLE Connection Maintenance Next by thread: Re: BLE disconnect on heavy WiFi Index(es): Date Thread
How are you guys using the TI packet sniffer? I have the TI dev kit with the requisite dongles, I think. Don't know what software I need to run. Is there something on the Mac? On Dec 16, 2013, at 23:47 , John Earl <email@hidden> wrote: > Yes, empty packets are sent over the physical link (no payload). You can see them easily as a pair of packets every CI on the TI packet sniffer, when the link is quiescent. > > John > > > On Tuesday, December 17, 2013, Rick Mann wrote: > I'm having a hard time getting precise information about BLE connections. > > Specifically, I want to know if there's no data to transmit, does BLE maintain the connection by continuing to send packets over the physical link? It seems this would be necessary, otherwise the supervision timeout would result in the connection being closed, but my app does not seem to drop the connection, even though no characteristics are being written. > > Can anyone elaborate? Thanks. > > -- > Rick > > > > _______________________________________________ > Do not post admin requests to the list. They will be ignored. > Bluetooth-dev mailing list (email@hidden) > Help/Unsubscribe/Update your Subscription: > > This email sent to email@hidden -- Rick _______________________________________________ Do not post admin requests to the list. They will be ignored. Bluetooth-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
_______________________________________________ Do not post admin requests to the list. They will be ignored. Bluetooth-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden