I have a React Native application. Im trying to get Glucose measurements from a peripheral.
theres a Data Transfer
option on the peripheral where it'll transfer data from the peripheral device via bluetooth.
I can retrieve and decode the data off the peripheral but i cant continually monitor Glucose characteristic. i.e if i add a new data to peripheral and select Data Transfer
option the second time around i dont get latest data.
any ideas on what i should be doing to achieve this?
im using react-native-ble-plx
library
this.manager.monitorCharacteristicForDevice(
device.id,
'00001808-0000-1000-8000-00805f9b34fb',
'00002a18-0000-1000-8000-00805f9b34fb'
)