rename BLEService disconnect/connect handler

This commit is contained in:
hathach committed 2019-02-27 12:16:00 +07:00
1 parent 7bc06a9634
commit 1d61b33765
5 files changed
+12 -11

No files matched your search

@@ -204,7 +204,7 @@ bool BLEUart::notifyEnabled(uint16_t conn_hdl)
return _txd.notifyEnabled(conn_hdl);
}
void BLEUart::_disconnect_cb(void)
void BLEUart::svc_disconnect_hdl(uint16_t conn_hdl)
{
if (_buffered_th)
{
@@ -215,7 +215,7 @@ void BLEUart::_disconnect_cb(void)
}
}
void BLEUart::_connect_cb (void)
void BLEUart::svc_connect_hdl (uint16_t conn_hdl)
{
if ( _tx_buffered )
{