What you did not mention here, but is visible in the log snippet you provided, the app is in the background.
When an advertising app is not in the foreground advertising operates differently than when your app is in the foreground.
In particular, when your app is advertising while in the background:
- The
CBAdvertisementDataLocalNameKey
advertisement key is ignored, and the local name of peripheral is not advertised. - All service UUIDs contained in the value of the CBAdvertisementDataServiceUUIDsKey advertisement key are hashed and placed in a special “overflow” area; they can be discovered only by an iOS device that is explicitly scanning for them.
- If multiple apps and/or system processes are advertising in the background, the frequency at which your peripheral device sends advertising packets may decrease.
This is a system behavior and there is no way to avoid this.
Argun Tekant /
DTS Engineer /
Core Technologies