Indoor positioning. Central unit.
Dependencies: aconno_SEGGER_RTT
source/main.cpp
- Committer:
- jurica238814
- Date:
- 2018-03-06
- Revision:
- 0:07a75b2fae14
- Child:
- 1:2bdc506d8baa
File content as of revision 0:07a75b2fae14:
/* * * */ #include "main.h" int main() { printf("Main program started.\r\n"); BLE &ble = BLE::Instance(); ble.init(bleInitComplete); printf("BLE initialised.\r\n"); #if DEBUG_LED // Turn the leds off advLed = 1; scanLed = 1; periodicLed = 1; #endif //tBleStartAdvertising.start(callback(bleStartAdvertising, &ble)); tBleStartScanning.start(callback(bleStartScanning, &ble)); tPeriodicCallback.start(callback(periodicCallback, &ble)); while(true) { // Do nothing } }