Implemnt gattc long write using AdaMsg

This commit is contained in:
hathach committed 2017-04-13 14:27:00 +07:00
1 parent c3ca58cba3
commit 8235db0ebf
2 files changed
+54 -77

No files matched your search

@@ -90,16 +90,11 @@ class BLEClientCharacteristic
notify_cb_t _notify_cb;
bool _use_AdaCallback; // whether callback is invoked in seperated task with AdaCallback
SemaphoreHandle_t _sem;
void* _evt_buf;
uint16_t _evt_bufsize;
AdaMsg _adamsg;
void _init (void);
void _eventHandler (ble_evt_t* event);
err_t _write_and_wait_rsp(ble_gattc_write_params_t* param, uint32_t ms);
friend class BLEGatt;
};