complete rename BLEClientCharacteristic

This commit is contained in:
hathach committed 2017-04-12 13:54:54 +07:00
1 parent a4ff4c8bd3
commit d70b13e7f3
4 files changed
+9 -9

No files matched your search

+1 -1
View File
@@ -64,7 +64,7 @@ void adafruit_callback_task(void* arg)
((BLECentral::connect_callback_t) func)( (uint16_t) args[0]);
break;
case BLECentralCharacteristic_notify_cb_t:
case BLEClientCharacteristic_notify_cb_t:
((BLEClientCharacteristic::notify_cb_t) func) ( *((BLEClientCharacteristic*) args[0]), (uint8_t*) args[1], (uint16_t) args[2] );
break;
+3 -3
View File
@@ -68,9 +68,9 @@ static_assert(sizeof(ada_callback_t) == 16, "Incorrect Size");
XPAND(BLECentral , scan_callback_t ) \
XPAND(BLECentral , connect_callback_t ) \
XPAND(BLECentral , disconnect_callback_t ) \
/* Central Characteristic */ \
XPAND(BLECentralCharacteristic , notify_cb_t ) \
/*XPAND(BLECentralCharacteristic , indicate_cb_t )*/ \
/* Client Characteristic */ \
XPAND(BLEClientCharacteristic , notify_cb_t ) \
/*XPAND(BLEClientCharacteristic , indicate_cb_t )*/ \
#define ADA_CB_ENUM_XPAND(_class, _cbname) \
_class##_##_cbname,
@@ -1,6 +1,6 @@
/**************************************************************************/
/*!
@file BLECentralCharacteristic.h
@file BLEClientCharacteristic.h
@author hathach
@section LICENSE