Edit

Dependencies:   Lis2dh12 aconno_I2C aconno_nrf52_uart adc52832_common aconno_SEGGER_RTT

Committer:
jurica238814
Date:
Fri Mar 02 10:29:59 2018 +0000
Branch:
NanoModule
Revision:
13:7ae1c5bcccb5
Parent:
9:a9c5db477f35
This version works ok for DICE project. ;

Who changed what in which revision?

UserRevisionLine numberNew 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);