Ionic 4 - Bluetooth Low Energy - "chat" with device

Hi everyone.
I have a challenge that surpasses me.
I write application to communication with device with the use bluetooth low energy (BLE).On device BLE communication is based on the ATMEL CSC software framework. At the beginning I will mark that Bluetooth Serial (https://ionicframework.com/docs/native/bluetooth-serial) plugin does’t connect with device.

I use BluetoothLE plugin https://ionicframework.com/docs/native/bluetooth-le. (github docs https://github.com/randdusing/cordova-plugin-bluetoothle)

Connection, discoverd all services, subscribtion on service works perfectly.

Problem:

I have no idea how to send a request for the parameters and answer the answer. I use the https://play.google.com/store/apps/details?id=com.microchip.bluetooth.data&hl=en application that allows “chat” with the device and there I can send such a rare payment and I get an answer but I do not know how to solve it in my application. Perhaps I should do the right steps in the right order, but I do not have any ideas anymore.

method bluetoothle.discover() returns:

1 Like

Hi,

You might want to check out:


And:
https://www.bluetooth.com/specifications/gatt/services/
Sincerely,
Fred