Open luigi7up opened 1 day ago
@luigi7up you need to discover services first. This is not done automatically (or can using a connect parameter). Without this services cant be used
@farfromrefug hi, thank you for your reply... I¡m sorry for not providing the whole code where you can see that I'm calling the bluetooth.startScanning({})
method
I'll update my question above
@luigi7up i am.not talking about scanning. I am talking about discovering services and characteristics. It is mandatory. Look at the typings for how to do it either manually or through the connect method
I’m currently building a NativeScript app that uses BLE to connect to an ESP32 microcontroller. The microcontroller initializes a BLE server with a name, a service UUID, and characteristic UUIDs, as shown in the code snippet below. My NativeScript app successfully connects to the BLE service, but when I attempt to write commands to the characteristic, I consistently receive a
service_not_found
error.Error I receive:
Additional Notes:
I would greatly appreciate any help or suggestions on how to resolve this issue. Thank you in advance!