I\'ve tried out Bluetooth LE advertising i.e. using an Android phone as a BLE \"peripheral\" device. Starting and stopping a constant advertising once works fine but if I\'d
I tested your app on a Moto G 2nd Gen and run into the same problem.
I tried it on a Nexus 9 tablet running Android 6.0, there I could not reproduce the error and it seems to work. Also on a nexus player with Android 5.1.1 it seems to run without problems. So either it is really an issue of the Moto G or - what I think is more likely - a bug of Android 5.0.2 that was solved in later versions.