Closed koleto closed 3 years ago
Hi and thanks for finding my library!
The error is correct. If you have a 128-bit service uuid and flags, you can only fit a 8 byte long name. You could for example put the name in the scan response data if you want a longer name.
@Emill thanks!
Thank you very much for sharing this!
I know that BLE advertising data is limited to 31 bytes, and I am not sure if it is a bug, but by extending the device name from the original example by one character from
MyDevice
toMyDevice1
will throw an exception: