Download a stream of data to a peripheral over BLE.
Dependencies: BLE_API mbed nRF51822
A simple demonstration of downloading a stream onto a peripheral over BLE. There's a corresponding Python script to driver the client.
Logger.h
- Committer:
- rgrover1
- Date:
- 2014-12-09
- Revision:
- 5:90b73268e270
- Parent:
- 0:4eaf82806f06
File content as of revision 5:90b73268e270:
#ifndef _H_LOGGER_H #define _H_LOGGER_H #define NEED_CONSOLE_OUTPUT 1 /* Set this if you need debug messages on the console; * it will have an impact on code-size and power consumption. */ #if NEED_CONSOLE_OUTPUT #define DEBUG(...) { printf(__VA_ARGS__); } #else #define DEBUG(...) /* nothing */ #endif /* #if NEED_CONSOLE_OUTPUT */ #endif //_H_LOGGER_H