That BLE Error 4 is really strange - that's NRF_ERROR_NO_MEM - so that's the softdevice itself complaining that it has no memory left.
What's in services? Does it work if you don't set as many services? If you're using a bunch of different 128 bit UUIDs I guess that could cause some problems.
As far as how it shows up, I think you'd expect nRF Connect to flip between showing different things - but everything might still work properly?
Otherwise I'm not sure what to suggest - apart from to try manually constructing your own advertising packets... It might just be that you can't do what you want to do with Bluetooth LE.
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
That BLE Error 4 is really strange - that's
NRF_ERROR_NO_MEM
- so that's the softdevice itself complaining that it has no memory left.What's in
services
? Does it work if you don't set as many services? If you're using a bunch of different 128 bit UUIDs I guess that could cause some problems.As far as how it shows up, I think you'd expect nRF Connect to flip between showing different things - but everything might still work properly?
Otherwise I'm not sure what to suggest - apart from to try manually constructing your own advertising packets... It might just be that you can't do what you want to do with Bluetooth LE.