Demo Glucose Service

Dependencies:   BLE_API mbed nRF51822

Fork of BLE_HeartRate by Bluetooth Low Energy

BLE_Glucose_demo implements the Glucose Service which enables a collector device to connect and interact with.

There is a brief sample code edited with Android Studio for demo this BLE_Glucose_demo example, and it is public on github, everyone can clone it by this URL: https://github.com/Marcomissyou/BluetoothLeGlucose.git. It is convenient for you to development your BLE idea.

There is also provided apk file so you can download and install it directly then demo this code, but make sure your Android phone supports Bluetooth 4.0. /media/uploads/Marcomissyou/bleglucoseservice.apk

Revisions of main.cpp

Revision Date Message Actions
67:aa3a1bbed328 2015-07-02 update to correctly BLE_Glucose_demo File  Diff  Annotate
66:72ca05b7a092 2015-07-02 BLE HID demo File  Diff  Annotate
65:e419508fefc4 2015-06-30 BLE HID Demo File  Diff  Annotate
64:8cd9416028a7 2015-06-26 update BLE_API and modify code to consistent with the newest BLE_API File  Diff  Annotate
63:fc6117c32419 2015-05-29 First Commit.; For Glucose Demo. File  Diff  Annotate
56:83623419d5e4 2015-03-24 updating underlying libraries File  Diff  Annotate
55:3a7d497a3e03 2015-02-09 removed unncessary Battery Service from HearRate demo code File  Diff  Annotate
53:06a74fd722b8 2014-11-28 Updating to 0.2.5 of BLE_API File  Diff  Annotate
52:6bbf62943106 2014-11-21 add some code to configure slower connection interval File  Diff  Annotate
50:477004d54431 2014-11-17 add a check for gap-connectedness before polling for sensor data. File  Diff  Annotate
47:430545f41113 2014-09-30 updating the underlying libraries. File  Diff  Annotate
46:ee7c55907f36 2014-09-30 DFUService is now added automatically for DFU platforms. File  Diff  Annotate
45:98c5a34b07a4 2014-09-29 move service initialization before starting advertisements. File  Diff  Annotate
43:dbb025ed4a55 2014-09-23 minor update to advertising payload; and fleshing out Device Information Service. File  Diff  Annotate
42:06ebef2e0e44 2014-09-22 updating to 0.2.0 of the BLE_API File  Diff  Annotate
41:9cef0129da5f 2014-09-02 updated underlying libraries File  Diff  Annotate
40:e73130c6f2bb 2014-08-22 white space diffs File  Diff  Annotate
39:6390604f904c 2014-08-22 Extract HeartRateService as a template to simplify the main application. File  Diff  Annotate
37:d310a72115c7 2014-07-11 updated heart-rate demo to use the new connectionParams APIs File  Diff  Annotate
36:ea2a1b4f51c1 2014-07-11 change hrm demo to do sensor polling from the main thread File  Diff  Annotate
35:ba3e3174331a 2014-07-11 disconnectionCallback now takes a handle File  Diff  Annotate
34:44dc6efc0b50 2014-07-08 use a declared constant for the Heart-Rate Location characteristic File  Diff  Annotate
33:e63df636d3b2 2014-07-08 Remove a const attribute for a global variable used to initialize the location characteristic. File  Diff  Annotate
30:3dc9e6f2bc8c 2014-07-04 remove the battery-level and device-information services File  Diff  Annotate
29:76d865c718a6 2014-07-04 HRM demo now works with the nordic Android App (nRFToolBox) File  Diff  Annotate
28:bdfc8cc53f0b 2014-07-04 add the battery level server to the HRM demo File  Diff  Annotate
27:97adf2b76b9c 2014-07-03 add 16-bit UUIDs to the advertising payload; this is cosmetic File  Diff  Annotate
26:e6ad33b227c6 2014-07-03 add deviceInformationService to the basic HRM demo File  Diff  Annotate
22:299658c5fa3c 2014-06-12 simplify demo to only contain the heart-rate service File  Diff  Annotate
20:58bff62d0f7a 2014-06-11 remove un-necessary callbacks from the demo File  Diff  Annotate
19:1713b11694ea 2014-06-11 make use of the new GattService constructor which takes in an array of pointers to Characteristics File  Diff  Annotate
18:8a2e313f49cb 2014-06-11 GattServer::addService() automatically sets initial value for characteristics File  Diff  Annotate
17:583b765af55f 2014-06-11 remove an un-used global variable File  Diff  Annotate
16:f3361e20642d 2014-06-11 minor white-space diffs having to do with coding style File  Diff  Annotate
15:7ba28817e31e 2014-06-10 move ble_init() to the beginning of main() File  Diff  Annotate
13:3ca2045597e7 2014-06-10 minor updates to comment headers File  Diff  Annotate
11:1d9aafee4984 2014-06-10 use a ticker to schedule a periodicCallback() instead of a busy-wait loop File  Diff  Annotate
10:2436164b692e 2014-06-10 reverting to BLEDevice (from BLEPeripheral) File  Diff  Annotate
9:5d693381e883 2014-06-10 make console output optional File  Diff  Annotate
8:49d8ee0aac11 2014-06-10 remove ticker; consumes un-necessary power; also added a satic const File  Diff  Annotate
7:daab8ba5139e 2014-06-10 Update to using the latest versions of the underlying APIs and waitForEvent() to reduce power consumption. File  Diff  Annotate
5:b0baff4a124f 2014-05-29 use accessor methods to get handle for characteristics File  Diff  Annotate
4:12890f3c62eb 2014-05-21 removing un-necessary nordic-specific hardware initialization from the demo File  Diff  Annotate
3:24e2b056d229 2014-05-21 white space diffs; using uncrustify File  Diff  Annotate
0:87a7fc231fae 2014-03-31 First commit of HRM example for the BLE API (using nRF51822 native mode drivers) File  Diff  Annotate