Lightly modified version of the BLE stack, that doesn't bring up a DFUService by default... as we have our own.

Fork of BLE_API by Bluetooth Low Energy

Files at this revision

API Documentation at this revision

Comitter:
rgrover1
Date:
Wed May 13 08:51:09 2015 +0100
Parent:
398:9d7666c2305f
Child:
400:868801af787c
Commit message:
Synchronized with git rev deac909a
Author: Rohit Grover
rename Gap::GAP_DURATION_UNITS_TO_MS to Gap::ADVERTISEMENT_DURATION_UNITS_TO_MS

Changed in this revision

public/Gap.h Show annotated file Show diff for this revision Revisions of this file
--- a/public/Gap.h	Wed May 13 08:51:09 2015 +0100
+++ b/public/Gap.h	Wed May 13 08:51:09 2015 +0100
@@ -142,7 +142,7 @@
     static uint16_t MSEC_TO_ADVERTISEMENT_DURATION_UNITS(uint32_t durationInMillis) {
         return (durationInMillis * 1000) / UNIT_0_625_MS;
     }
-    static uint16_t GAP_DURATION_UNITS_TO_MS(uint16_t gapUnits) {
+    static uint16_t ADVERTISEMENT_DURATION_UNITS_TO_MS(uint16_t gapUnits) {
         return (gapUnits * UNIT_0_625_MS) / 1000;
     }