Blynk library for embedded hardware. Works with Arduino, ESP8266, Raspberry Pi, Intel Edison/Galileo, LinkIt ONE, Particle Core/Photon, Energia, ARM mbed, etc. http://www.blynk.cc/
Dependents: Blynk_RBL_BLE_Nano Blynk_MicroBit Blynk_Serial Blynk_RBL_BLE_Nano
Diff: BlynkSimpleRedBearLab_BLE_Nano.h
- Revision:
- 9:7369ec77a3ea
- Parent:
- 4:fa1450a7dd08
- Child:
- 16:6d9bf99b263c
--- a/BlynkSimpleRedBearLab_BLE_Nano.h Wed Oct 12 10:38:37 2016 +0300 +++ b/BlynkSimpleRedBearLab_BLE_Nano.h Thu Jan 05 14:55:36 2017 +0200 @@ -15,7 +15,6 @@ #define BLYNK_INFO_CONNECTION "RBL_BLE_Nano" #endif -#define BLYNK_NO_YIELD #define BLYNK_SEND_ATOMIC #define BLYNK_SEND_CHUNK 20 #define BLYNK_SEND_THROTTLE 20 @@ -54,10 +53,13 @@ class BlynkTransportRedBearLab_BLE_Nano { public: - BlynkTransportRedBearLab_BLE_Nano() + BlynkTransportRedBearLab_BLE_Nano() : mConn (false) {} + // IP redirect not available + void begin(char* h, uint16_t p) {} + void begin() { instance = this;