xDrip-plus | Enhanced personal research version of the xDrip android app
kandi X-RAY | xDrip-plus Summary
kandi X-RAY | xDrip-plus Summary
Enhanced personal research version of the xDrip android app
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- Update the BgReading values
- Decode bluetooth packet from buffer
- Called when a message is received .
- Show a reminder dialog .
- Upload mongo data .
- Add a listener to be called when the button save is clicked .
- updates current BgInfo
- Process treatment response .
- Send a message to the Pebble
- a list of IOBs for a given graph
xDrip-plus Key Features
xDrip-plus Examples and Code Snippets
Community Discussions
Trending Discussions on xDrip-plus
QUESTION
I've been attempting to integrate the Contour Next glucose meter using corebluetooth I've run into a limitation of core bluetooth that appears to prevent me from receiving blood glucose indications.
If the specified characteristic’s configuration allows both notifications and indications, calling this method enables notifications only.
(source: https://developer.apple.com/documentation/corebluetooth/cbperipheral/1518949-setnotifyvalue)
Unfortunately, the Contour Next does in fact allow both notifications and indications for the blood glucose measurements characteristic. So while I am able to successfully receive new measurements (via notifications) there doesn't appear to be any way to receive historical measurements (via indications).
You can see the an integration for android at https://github.com/jamorham/xDrip-plus/blob/master/app/src/main/java/com/eveningoutpost/dexdrip/Services/BluetoothGlucoseMeter.java#L227 which enables both notifications and indications for that blood glucose measurements characteristic.
Is there some way to work around this limitation of core bluetooth or perhaps there's another way to integrate with bluetooth that doesn't use core bluetooth?
...ANSWER
Answered 2020-Feb-10 at 21:59@paulw was correct, the issue was not in fact with the indications at all. It turned out that the command I was using wasn't working as expected ("Request all" command didn't work but "Request all records from first to last" did).
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install xDrip-plus
You can use xDrip-plus like any standard Java library. Please include the the jar files in your classpath. You can also use any IDE and you can run and debug the xDrip-plus component as you would do with any other Java program. Best practice is to use a build tool that supports dependency management such as Maven or Gradle. For Maven installation, please refer maven.apache.org. For Gradle installation, please refer gradle.org .
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page