- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I've been doing some testing recently to determine the severity of packet loss and was wondering if its possible to advertise more than once per interval?
Currently I have one device set to advertise constantly at 100ms intervals and another device set to scan all the time with no sleep (30ms interval with 30ms duration). I've noticed that I still get on average around 6% packet loss and am wondering if sending 3 or 5 packets every 100ms instead of just 1 packet every 100ms would be able to reduce this.
I'm using the "blecm_startAdv()" and "blecm_startScan()" functions.
Solved! Go to Solution.
- Labels:
-
Scanning-Advertising
-
SDK 2.X
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ADVs are not guaranteed to be delivered - you may miss it for any number of reasons like scan interval and duration, interference and range (so 6% might be very low or very high for the environment you are testing in).
Keeping your scan intervals and windows small and reducing adv interval will increase the probability of successfullt getting the data across, but all of this has a power penalty that you will need to tune for your application/use case.