Edit

Dependencies:   Lis2dh12 aconno_I2C aconno_nrf52_uart adc52832_common aconno_SEGGER_RTT

aconno_ble/aconno_ble.h

Committer:
jurica238814
Date:
2018-03-02
Branch:
NanoModule
Revision:
13:7ae1c5bcccb5
Parent:
9:a9c5db477f35

File content as of revision 13:7ae1c5bcccb5:

/*
*  Made by Jurica Resetar @ aconno
*  More info @ aconno.de
*  jurica_resetar@yahoo.com
*/


#include "mbed.h"
#include "ble/BLE.h"
#include "GapAdvertisingData.h"

#define MSD_SIZE_b          (10)
#define ADV_INTERVAL_MS     (100)


/* Global variables and constants */
const char DEVICE_NAME[] = "aconno beacon";
const char MSD[MSD_SIZE_b] = {0x59, 0x00, 0x9C, 0x23, 0x9D, 0x82, 0x1B, 0xD4, 0x11, 0xE8};

/* Function declarations */
void bleInitComplete(BLE::InitializationCompleteCallbackContext *params);