This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Why is there no advertisment for a beacon with services?

I'm creating a custom beacon, similar to iBeacon, but with a custom data format. It advertises only once every 8 seconds, but the iPhone app doesn't receive advertisements when the app is in the background. In order to get around this, I've added a service to the advertisement data (BLE_UUID_DEVICE_INFORMATION_SERVICE) but now the device won't advertise at all. When I remove the service UUID from the advertisement data, then the device will advertise again. Am I violating some sort of spec? I can't tell what's going on inside the soft device, why won't it advertise?

Parents
  • Could you post the advertising data you are trying to set, and the return code of the adv_data_set() and adv_start() calls? It sounds like the advertising data is formatted incorrectly, and the return codes should give an indication of what is wrong.

Reply
  • Could you post the advertising data you are trying to set, and the return code of the adv_data_set() and adv_start() calls? It sounds like the advertising data is formatted incorrectly, and the return codes should give an indication of what is wrong.

Children
No Data
Related