Edit
Dependencies: Lis2dh12 aconno_I2C aconno_nrf52_uart adc52832_common aconno_SEGGER_RTT
aconno_ble/aconno_ble.h@9:a9c5db477f35, 2018-02-28 (annotated)
- Committer:
- jurica238814
- Date:
- Wed Feb 28 07:25:59 2018 +0000
- Branch:
- NanoModule
- Revision:
- 9:a9c5db477f35
- Parent:
- 3:f2078081a779
INT1 defines added.
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
jurica238814 | 3:f2078081a779 | 1 | /* |
jurica238814 | 3:f2078081a779 | 2 | * Made by Jurica Resetar @ aconno |
jurica238814 | 3:f2078081a779 | 3 | * More info @ aconno.de |
jurica238814 | 3:f2078081a779 | 4 | * jurica_resetar@yahoo.com |
jurica238814 | 3:f2078081a779 | 5 | */ |
jurica238814 | 3:f2078081a779 | 6 | |
jurica238814 | 3:f2078081a779 | 7 | |
jurica238814 | 3:f2078081a779 | 8 | #include "mbed.h" |
jurica238814 | 3:f2078081a779 | 9 | #include "ble/BLE.h" |
jurica238814 | 3:f2078081a779 | 10 | #include "GapAdvertisingData.h" |
jurica238814 | 3:f2078081a779 | 11 | |
jurica238814 | 9:a9c5db477f35 | 12 | #define MSD_SIZE_b (10) |
jurica238814 | 3:f2078081a779 | 13 | #define ADV_INTERVAL_MS (100) |
jurica238814 | 3:f2078081a779 | 14 | |
jurica238814 | 9:a9c5db477f35 | 15 | |
jurica238814 | 3:f2078081a779 | 16 | /* Global variables and constants */ |
jurica238814 | 3:f2078081a779 | 17 | const char DEVICE_NAME[] = "aconno beacon"; |
jurica238814 | 9:a9c5db477f35 | 18 | const char MSD[MSD_SIZE_b] = {0x59, 0x00, 0x9C, 0x23, 0x9D, 0x82, 0x1B, 0xD4, 0x11, 0xE8}; |
jurica238814 | 3:f2078081a779 | 19 | |
jurica238814 | 3:f2078081a779 | 20 | /* Function declarations */ |
jurica238814 | 3:f2078081a779 | 21 | void bleInitComplete(BLE::InitializationCompleteCallbackContext *params); |