Indoor positioning. Central unit.

Dependencies:   aconno_SEGGER_RTT

source/main.h

Committer:
dbartolovic
Date:
2018-03-07
Revision:
2:1b85a28b1e68
Parent:
0:07a75b2fae14

File content as of revision 2:1b85a28b1e68:

/*
 *
 *
 */

#ifndef MAIN_H
#define MAIN_H

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

#define PRINT_ON_RTT    (1)
#define DEBUG_LED       (1)

#if PRINT_ON_RTT
    #include "SEGGER_RTT.h"
    #define printf(...)                      SEGGER_RTT_printf(0, __VA_ARGS__)
#else
    #define printf(...)
#endif

extern Thread tBleUpdateData;
extern Thread tBleStartAdvertising;
extern Thread tBleStartScanning;
extern Thread tPeriodicCallback;

#endif // MAIN_H