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

+4 -4
View File
@@ -11,8 +11,8 @@ BLECentral KEYWORD1
BLEService KEYWORD1
BLECharacteristic KEYWORD1
BLECentralService KEYWORD1
BLECentralCharacteristic KEYWORD1
BLEClientService KEYWORD1
BLEClientCharacteristic KEYWORD1
BLEUuid KEYWORD1
BLEGap KEYWORD1
@@ -126,7 +126,7 @@ notifyEnabled KEYWORD2
notify KEYWORD2
#######################################
# BLECentralService Methods (KEYWORD2)
# BLEClientService Methods (KEYWORD2)
#######################################
discover KEYWORD2
@@ -134,7 +134,7 @@ discovered KEYWORD2
connHandle KEYWORD2
#######################################
# BLECentralCharacteristic Methods (KEYWORD2)
# BLEClientCharacteristic Methods (KEYWORD2)
#######################################
parentService KEYWORD2
+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