Okundu Omeni
/
wifi-https-ble-sm-uart-atcmd-5-13-1
Diff: source/BleManager.h
- Branch:
- PassingRegression
- Revision:
- 120:779b74689747
- Parent:
- 119:8d939a902333
- Child:
- 121:ac4f59839e4f
--- a/source/BleManager.h Mon May 27 12:34:58 2019 +0000 +++ b/source/BleManager.h Mon May 27 17:00:43 2019 +0000 @@ -90,7 +90,7 @@ ); void shutDown(); - void sendBLEUartData(char * str); + void sendBLEUartData(const uint8_t * buf, int len); protected: // connection status @@ -128,7 +128,7 @@ // application virtual methods called by peripheral virtual bool queueBleDataResponse(ble_at_msg_t at_resp) = 0; virtual bool dequeueATdataResponse() = 0; - virtual void sendATresponseBytes(at_cmd_resp_t at_cmd, const uint8_t * buf, int len) = 0; + virtual void sendATresponseBytes(at_cmd_resp_t at_cmd) = 0; virtual bool setNextCommand(ble_cmd_t cmd) = 0; virtual void processQueues() = 0; @@ -186,7 +186,7 @@ void startAdvertising(); virtual bool queueBleDataResponse(ble_at_msg_t at_resp); virtual bool dequeueATdataResponse(); - virtual void sendATresponseBytes(at_cmd_resp_t at_cmd, const uint8_t * buf, int len); + virtual void sendATresponseBytes(at_cmd_resp_t at_cmd); virtual bool setNextCommand(ble_cmd_t cmd); virtual void processQueues();