Indoor positioning. Peripheral unit.
Dependencies: aconno_SEGGER_RTT
aconno_ble/aconno_ble.h
- Committer:
- jurica238814
- Date:
- 2018-03-06
- Revision:
- 0:ad937152493a
File content as of revision 0:ad937152493a:
/* * Made by Jurica Resetar @ aconno * More info @ aconno.de * jurica_resetar@yahoo.com */ #ifndef ACONNO_BLE_H #define ACONNO_BLE_H #include "mbed.h" #include "ble/BLE.h" #include "GapAdvertisingData.h" #define MSD_SIZE_b (10) #define ADV_INTERVAL_MS (100) #define ADVERTISING_DURATION_S (1) #define BLE_SLEEP_DURATION_S (1) /* 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); #endif //ACONNO_BLE_H