Re: Recommended Packet Sniffer?
Re: Recommended Packet Sniffer?
- Subject: Re: Recommended Packet Sniffer?
- From: Spero Koulouras <email@hidden>
- Date: Wed, 30 Apr 2014 07:28:31 -0700
To provide single channel advertisements for the TI packet sniffer from a peripheral running TI's stack modify the file ../profiles/peripheral.c as follows. Scan for "AdvChanMap" and make the code look like this, then add the preprocessor define "CH_37" to your test configuration.
// To advertise only on channel 37 for effective use of the TI Packet Sniffer
#ifdef CH_37
gapRole_AdvChanMap = GAP_ADVCHAN_37;
#else
gapRole_AdvChanMap = GAP_ADVCHAN_ALL;
#endif