client characteristic rename assign, discoverDescriptor for internal ussage

This commit is contained in:
hathach committed 2018-01-04 18:57:41 +07:00
1 parent ad313ee8db
commit 0003e1af6e
3 files changed
+8 -7

No files matched your search

@@ -81,7 +81,7 @@ void BLEClientCharacteristic::begin(BLEClientService* parent_svc)
_adamsg.begin(true);
}
void BLEClientCharacteristic::assign(ble_gattc_char_t* gattc_chr)
void BLEClientCharacteristic::_assign(ble_gattc_char_t* gattc_chr)
{
_chr = *gattc_chr;
}
@@ -141,7 +141,7 @@ BLEClientService& BLEClientCharacteristic::parentService (void)
return *_service;
}
bool BLEClientCharacteristic::discoverDescriptor(uint16_t conn_handle, ble_gattc_handle_range_t hdl_range)
bool BLEClientCharacteristic::_discoverDescriptor(uint16_t conn_handle, ble_gattc_handle_range_t hdl_range)
{
enum { MAX_DESCIRPTORS = 8 };