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
  • So I made err_code into a global, and the return value I'm getting is 0x00... however, the APP_ERROR_CHECK(err_code) is causing a reset. It's acting like I'm corrupting memory somehow, but my code is posted below, I don't see how. Can someone explain how the APP_ERROR_CHECK macro works?

Reply
  • So I made err_code into a global, and the return value I'm getting is 0x00... however, the APP_ERROR_CHECK(err_code) is causing a reset. It's acting like I'm corrupting memory somehow, but my code is posted below, I don't see how. Can someone explain how the APP_ERROR_CHECK macro works?

Children
No Data
Related