Jurica Resetar / Mbed OS acnSensa_LIS

Dependencies:   Lis2dh12 aconno_I2C aconno_nrf52_uart adc52832_common aconno_SEGGER_RTT

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers aconno_ble.h Source File

aconno_ble.h

00001 /*
00002 *  Made by Jurica Resetar @ aconno
00003 *  More info @ aconno.de
00004 *  jurica_resetar@yahoo.com
00005 */
00006 
00007 
00008 #include "mbed.h"
00009 #include "ble/BLE.h"
00010 #include "GapAdvertisingData.h"
00011 
00012 #define MSD_SIZE_b          (10)
00013 #define ADV_INTERVAL_MS     (100)
00014 
00015 
00016 /* Global variables and constants */
00017 const char DEVICE_NAME[] = "aconno beacon";
00018 const char MSD[MSD_SIZE_b] = {0x59, 0x00, 0x9C, 0x23, 0x9D, 0x82, 0x1B, 0xD4, 0x11, 0xE8};
00019 
00020 /* Function declarations */
00021 void bleInitComplete(BLE::InitializationCompleteCallbackContext *params);