|
In file included from C:\Users\stephen.cooper\Documents\Arduino\ota\ota\ota.ino:1: |
|
C:\Users\stephen.cooper\Documents\Arduino\ota\ota\BLE.h:21:59: error: expected class-name before '{' token |
|
class BLECustomServerCallbacks: public BLEServerCallbacks { |
|
^ |
|
C:\Users\stephen.cooper\Documents\Arduino\ota\ota\BLE.h:22:20: error: 'BLEServer' has not been declared |
|
void onConnect(BLEServer* pServer) { |
|
^~~~~~~~~ |
|
C:\Users\stephen.cooper\Documents\Arduino\ota\ota\BLE.h:27:23: error: 'BLEServer' has not been declared |
|
void onDisconnect(BLEServer* pServer) { |
|
^~~~~~~~~ |
|
C:\Users\stephen.cooper\Documents\Arduino\ota\ota\BLE.h:33:54: error: expected class-name before '{' token |
|
class otaCallback: public BLECharacteristicCallbacks { |
|
^ |
|
C:\Users\stephen.cooper\Documents\Arduino\ota\ota\BLE.h:40:18: error: 'BLECharacteristic' has not been declared |
|
void onWrite(BLECharacteristic *pCharacteristic); |
|
^~~~~~~~~~~~~~~~~ |
|
C:\Users\stephen.cooper\Documents\Arduino\ota\ota\BLE.h:55:5: error: 'BLEServer' does not name a type; did you mean 'Server'? |
|
BLEServer *pServer = NULL; |
|
^~~~~~~~~ |
|
Server |
|
C:\Users\stephen.cooper\Documents\Arduino\ota\ota\BLE.h:57:5: error: 'BLEService' does not name a type |
|
BLEService *pESPOTAService = NULL; |
|
^~~~~~~~~~ |
|
C:\Users\stephen.cooper\Documents\Arduino\ota\ota\BLE.h:58:5: error: 'BLECharacteristic' does not name a type; did you mean 'Character_h'? |
|
BLECharacteristic *pESPOTAIdCharacteristic = NULL; |
|
^~~~~~~~~~~~~~~~~ |
|
Character_h |
|
C:\Users\stephen.cooper\Documents\Arduino\ota\ota\BLE.h:60:5: error: 'BLEService' does not name a type |
|
BLEService *pService = NULL; |
|
^~~~~~~~~~ |
|
C:\Users\stephen.cooper\Documents\Arduino\ota\ota\BLE.h:61:5: error: 'BLECharacteristic' does not name a type; did you mean 'Character_h'? |
|
BLECharacteristic *pVersionCharacteristic = NULL; |
|
^~~~~~~~~~~~~~~~~ |
|
Character_h |
|
C:\Users\stephen.cooper\Documents\Arduino\ota\ota\BLE.h:62:5: error: 'BLECharacteristic' does not name a type; did you mean 'Character_h'? |
|
BLECharacteristic *pOtaCharacteristic = NULL; |
|
^~~~~~~~~~~~~~~~~ |
|
Character_h |
|
In file included from C:\Users\stephen.cooper\Documents\Arduino\ota\ota\BLE.cpp:1: |
|
C:\Users\stephen.cooper\Documents\Arduino\ota\ota\BLE.h:21:59: error: expected class-name before '{' token |
|
class BLECustomServerCallbacks: public BLEServerCallbacks { |
|
^ |
|
C:\Users\stephen.cooper\Documents\Arduino\ota\ota\BLE.h:22:20: error: 'BLEServer' has not been declared |
|
void onConnect(BLEServer* pServer) { |
|
^~~~~~~~~ |
|
C:\Users\stephen.cooper\Documents\Arduino\ota\ota\BLE.h:27:23: error: 'BLEServer' has not been declared |
|
void onDisconnect(BLEServer* pServer) { |
|
^~~~~~~~~ |
|
C:\Users\stephen.cooper\Documents\Arduino\ota\ota\BLE.h:33:54: error: expected class-name before '{' token |
|
class otaCallback: public BLECharacteristicCallbacks { |
|
^ |
|
C:\Users\stephen.cooper\Documents\Arduino\ota\ota\BLE.h:40:18: error: 'BLECharacteristic' has not been declared |
|
void onWrite(BLECharacteristic *pCharacteristic); |
|
^~~~~~~~~~~~~~~~~ |
|
C:\Users\stephen.cooper\Documents\Arduino\ota\ota\BLE.h:55:5: error: 'BLEServer' does not name a type; did you mean 'Server'? |
|
BLEServer *pServer = NULL; |
|
^~~~~~~~~ |
|
Server |
|
C:\Users\stephen.cooper\Documents\Arduino\ota\ota\BLE.h:57:5: error: 'BLEService' does not name a type |
|
BLEService *pESPOTAService = NULL; |
|
^~~~~~~~~~ |
|
C:\Users\stephen.cooper\Documents\Arduino\ota\ota\BLE.h:58:5: error: 'BLECharacteristic' does not name a type; did you mean 'Character_h'? |
|
BLECharacteristic *pESPOTAIdCharacteristic = NULL; |
|
^~~~~~~~~~~~~~~~~ |
|
Character_h |
|
C:\Users\stephen.cooper\Documents\Arduino\ota\ota\BLE.h:60:5: error: 'BLEService' does not name a type |
|
BLEService *pService = NULL; |
|
^~~~~~~~~~ |
|
C:\Users\stephen.cooper\Documents\Arduino\ota\ota\BLE.h:61:5: error: 'BLECharacteristic' does not name a type; did you mean 'Character_h'? |
|
BLECharacteristic *pVersionCharacteristic = NULL; |
|
^~~~~~~~~~~~~~~~~ |
|
Character_h |
|
C:\Users\stephen.cooper\Documents\Arduino\ota\ota\BLE.h:62:5: error: 'BLECharacteristic' does not name a type; did you mean 'Character_h'? |
|
BLECharacteristic *pOtaCharacteristic = NULL; |
|
^~~~~~~~~~~~~~~~~ |
|
Character_h |
|
C:\Users\stephen.cooper\Documents\Arduino\ota\ota\BLE.cpp:20:27: error: variable or field 'onWrite' declared void |
|
void otaCallback::onWrite(BLECharacteristic *pCharacteristic) |
|
^~~~~~~~~~~~~~~~~ |
|
C:\Users\stephen.cooper\Documents\Arduino\ota\ota\BLE.cpp:20:27: error: 'BLECharacteristic' was not declared in this scope |
|
C:\Users\stephen.cooper\Documents\Arduino\ota\ota\BLE.cpp:20:27: note: suggested alternative: 'Character_h' |
|
void otaCallback::onWrite(BLECharacteristic *pCharacteristic) |
|
^~~~~~~~~~~~~~~~~ |
|
Character_h |
|
C:\Users\stephen.cooper\Documents\Arduino\ota\ota\BLE.cpp:20:46: error: 'pCharacteristic' was not declared in this scope |
|
void otaCallback::onWrite(BLECharacteristic *pCharacteristic) |
|
^~~~~~~~~~~~~~~ |
|
C:\Users\stephen.cooper\Documents\Arduino\ota\ota\BLE.cpp:20:46: note: suggested alternative: 'Character_h' |
|
void otaCallback::onWrite(BLECharacteristic *pCharacteristic) |
|
^~~~~~~~~~~~~~~ |
|
Character_h |
|
C:\Users\stephen.cooper\Documents\Arduino\ota\ota\BLE.cpp: In member function 'bool BLE::begin(const char*)': |
|
C:\Users\stephen.cooper\Documents\Arduino\ota\ota\BLE.cpp:71:3: error: 'BLEDevice' has not been declared |
|
BLEDevice::init(localName); |
|
^~~~~~~~~ |
|
C:\Users\stephen.cooper\Documents\Arduino\ota\ota\BLE.cpp:74:3: error: 'pServer' was not declared in this scope |
|
pServer = BLEDevice::createServer(); |
|
^~~~~~~ |
|
C:\Users\stephen.cooper\Documents\Arduino\ota\ota\BLE.cpp:74:3: note: suggested alternative: 'Server' |
|
pServer = BLEDevice::createServer(); |
|
^~~~~~~ |
|
Server |
|
C:\Users\stephen.cooper\Documents\Arduino\ota\ota\BLE.cpp:74:13: error: 'BLEDevice' has not been declared |
|
pServer = BLEDevice::createServer(); |
|
^~~~~~~~~ |
|
C:\Users\stephen.cooper\Documents\Arduino\ota\ota\BLE.cpp:78:3: error: 'pESPOTAService' was not declared in this scope |
|
pESPOTAService = pServer->createService(SERVICE_UUID_ESPOTA); |
|
^~~~~~~~~~~~~~ |
|
C:\Users\stephen.cooper\Documents\Arduino\ota\ota\BLE.cpp:79:3: error: 'pService' was not declared in this scope |
|
pService = pServer->createService(SERVICE_UUID_OTA); |
|
^~~~~~~~ |
|
C:\Users\stephen.cooper\Documents\Arduino\ota\ota\BLE.cpp:79:3: note: suggested alternative: 'Serial' |
|
pService = pServer->createService(SERVICE_UUID_OTA); |
|
^~~~~~~~ |
|
Serial |
|
C:\Users\stephen.cooper\Documents\Arduino\ota\ota\BLE.cpp:82:3: error: 'pESPOTAIdCharacteristic' was not declared in this scope |
|
pESPOTAIdCharacteristic = pESPOTAService->createCharacteristic( |
|
^~~~~~~~~~~~~~~~~~~~~~~ |
|
C:\Users\stephen.cooper\Documents\Arduino\ota\ota\BLE.cpp:84:40: error: 'BLECharacteristic' has not been declared |
|
BLECharacteristic::PROPERTY_READ |
|
^~~~~~~~~~~~~~~~~ |
|
C:\Users\stephen.cooper\Documents\Arduino\ota\ota\BLE.cpp:87:3: error: 'pVersionCharacteristic' was not declared in this scope |
|
pVersionCharacteristic = pService->createCharacteristic( |
|
^~~~~~~~~~~~~~~~~~~~~~ |
|
C:\Users\stephen.cooper\Documents\Arduino\ota\ota\BLE.cpp:89:30: error: 'BLECharacteristic' has not been declared |
|
BLECharacteristic::PROPERTY_READ |
|
^~~~~~~~~~~~~~~~~ |
|
C:\Users\stephen.cooper\Documents\Arduino\ota\ota\BLE.cpp:92:3: error: 'pOtaCharacteristic' was not declared in this scope |
|
pOtaCharacteristic = pService->createCharacteristic( |
|
^~~~~~~~~~~~~~~~~~ |
|
C:\Users\stephen.cooper\Documents\Arduino\ota\ota\BLE.cpp:92:3: note: suggested alternative: 'Character_h' |
|
pOtaCharacteristic = pService->createCharacteristic( |
|
^~~~~~~~~~~~~~~~~~ |
|
Character_h |
|
C:\Users\stephen.cooper\Documents\Arduino\ota\ota\BLE.cpp:94:26: error: 'BLECharacteristic' has not been declared |
|
BLECharacteristic::PROPERTY_NOTIFY | BLECharacteristic::PROPERTY_WRITE |
|
^~~~~~~~~~~~~~~~~ |
|
C:\Users\stephen.cooper\Documents\Arduino\ota\ota\BLE.cpp:94:63: error: 'BLECharacteristic' has not been declared |
|
BLECharacteristic::PROPERTY_NOTIFY | BLECharacteristic::PROPERTY_WRITE |
|
^~~~~~~~~~~~~~~~~ |
|
C:\Users\stephen.cooper\Documents\Arduino\ota\ota\BLE.cpp:97:41: error: expected type-specifier before 'BLE2902' |
|
pOtaCharacteristic->addDescriptor(new BLE2902()); |
|
^~~~~~~ |
|
|
|
exit status 1 |
|
|
|
Compilation error: expected class-name before '{' token |