This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

nRF Connect for iOS crashes when advertising 5+ bytes of Manufacturer Data

I've been using the nRF connect app to evaluate and test custom services that I'm building on the nRF52832 (Raytech module). Everything has been working great and the manufacturer data in the advertising worked just fine until we bumped the length up to 5 bytes (not including the manufacturer's ID which is currently 0xFFFF). 4 bytes of data works just fine but 5 bytes or more makes the nRF connect app crash while scanning for devices. The app doesn't crash if I stop my advertising and will crash the minute I start advertising again so I assume it has to be something about the advertising that is crashing the app. Light Blue and other bluetooth apps work just fine so I believe my settings in my nRF project are correct. I'm using nRF SDK v13.0.0 which SoftDevice 132 on the module.

Parents
  • I also find that iOS version of nRFConnect on iPhone crashes all the time. Not just on manufacturer data. It crashes when it starts scanning. It is very unstable especially when there are many different devices around. It works fine at the office where there are only about 3-4 devices. Crash all the time at home when more devices around. The nRFConnect on OSX seems to be more stable in the same environment.

Reply
  • I also find that iOS version of nRFConnect on iPhone crashes all the time. Not just on manufacturer data. It crashes when it starts scanning. It is very unstable especially when there are many different devices around. It works fine at the office where there are only about 3-4 devices. Crash all the time at home when more devices around. The nRFConnect on OSX seems to be more stable in the same environment.

Children
No Data
Related