logo elektroda
logo elektroda
X
logo elektroda

Medtronic blood glucose transmitter simulator - problem reading services after bluetooth connection

MAJSTER XXL 324 0
ADVERTISEMENT
Treść została przetłumaczona polish » english Zobacz oryginalną wersję tematu
  • #1 21133420
    MAJSTER XXL
    Level 29  
    I am trying to run a simulator of a certain blood glucose measurement transmitter based on the real device. I have the service readings and characteristics and descriptors of the original Medtronic transmitter done. With the Cypress BLE dongle CY5677 module I was able to pair and read a lot of data without any problems, not everything is visible because they either have the Write, Notify or Indicate property only. What is as Read is basically all I have collected. And now yes, based on the CGM profile analysis done from the Bluetooth specification and the data from the Cypress application logs I have managed to collect and put together all the services, characteristics, descriptors and their values and properties. Unfortunately I have a bug somewhere that the device that is supposed to bind to this beacon simulator on the printed events from the callbacks only does the connection, but doesn't even read any service. The original transmitter has pairing / bonding functions - which I also have to make up in the simulator for later, but it seems to me that it should read the basic at least services before doing this pairing. I attach the code I have on my github profile. There are also logs in the files and a table made in pdf of what services were read in turn from the actual transmitter. Asking for some guidance on the subject. I am writing the program in the Arduino IDE on an ESP32. I'll add that in the cooperation of the transmitter simulator with the SmartBond app (from Renesas) on the phone I make the connection and read all the data without any problem, it already looks almost identical to the real circuit.

    https://github.com/sarunia/MinimedCGMtransmitterSimulator
  • ADVERTISEMENT
ADVERTISEMENT