Sorry for the trouble, how can I do this with the help of iBLE? Spike application no longer works on ios, and my daughter has diabetes. I urgently need to make an application to read data from dexcom g6.
#define G5_MM_SERVICE_UUID @"F8083532-849E-531C-C594-30F1F86A4EA5" - this Service
#define G5_MM_WRITE_CHARACTER_UUID @"F8083534-849E-531C-C594-30F1F86A4EA5" - this characteristic write
#define G5_MM_NOTIFY_CHARACTER_UUID @"F8083535-849E-531C-C594-30F1F86A4EA5" - this characteristic notify
#define G5_MM_ADVERTISEMENT_UUID @"0000FEBC-0000-1000-8000-00805F9B34FB"
At the stage of reading data from the service, nothing happens.
As you can see here 2 services:
"F8083532-849E-531C-C594-30F1F86A4EA5",
180A
If you read the second, it gives information about the device.
And if you read in order, then the reading of the first does not happen and does not even reach the second.
B4X:
For Each s As String In ConnectedServices
manager.ReadData(s)
Next
BleSrv.WriteData("F8083532-849E-531C-C594-30F1F86A4EA5","F8083534-849E-531C-C594-30F1F86A4EA5",Array As Byte(0x01,0x32,0x33,0x35,0x37,0x30,0x31,0x34,0x35,0x02))
In general, by analyzing the Native code from Spike, the device responds only after authorization.
Accordingly, the algorithm is as follows:
1. Find the device.
2. We take out what services it has.
3. After the main service we request characteristics.
4. After that we send an authorization package. (if you read at this stage, the device does not respond and expands the connection)
As far as I understand, you first have a request for characteristics, and after reading from the service?
Tell me how I can, with the help of Nativobject, process the request for characteristics, without further reading.