@@ -138,10 +138,10 @@ size_t common_hal_bleio_characteristic_get_value(bleio_characteristic_obj_t *sel
138138 if (self -> handle != BLE_GATT_HANDLE_INVALID ) {
139139 uint16_t conn_handle = bleio_connection_get_conn_handle (self -> service -> connection );
140140 if (common_hal_bleio_service_get_is_remote (self -> service )) {
141- return common_hal_bleio_gattc_read (self -> handle , conn_handle , buf , len );
141+ return bleio_gattc_read (self -> handle , conn_handle , buf , len );
142142 } else {
143143 // conn_handle is ignored for non-system attributes.
144- return common_hal_bleio_gatts_read (self -> handle , conn_handle , buf , len );
144+ return bleio_gatts_read (self -> handle , conn_handle , buf , len );
145145 }
146146 }
147147
@@ -159,7 +159,7 @@ void common_hal_bleio_characteristic_set_value(bleio_characteristic_obj_t *self,
159159 if (common_hal_bleio_service_get_is_remote (self -> service )) {
160160 uint16_t conn_handle = bleio_connection_get_conn_handle (self -> service -> connection );
161161 // Last argument is true if write-no-reponse desired.
162- common_hal_bleio_gattc_write (self -> handle , conn_handle , bufinfo ,
162+ bleio_gattc_write (self -> handle , conn_handle , bufinfo ,
163163 (self -> props & CHAR_PROP_WRITE_NO_RESPONSE ));
164164 } else {
165165 // Validate data length for local characteristics only.
@@ -172,7 +172,7 @@ void common_hal_bleio_characteristic_set_value(bleio_characteristic_obj_t *self,
172172
173173 // Always write the value locally even if no connections are active.
174174 // conn_handle is ignored for non-system attributes, so we use BLE_CONN_HANDLE_INVALID.
175- common_hal_bleio_gatts_write (self -> handle , BLE_CONN_HANDLE_INVALID , bufinfo );
175+ bleio_gatts_write (self -> handle , BLE_CONN_HANDLE_INVALID , bufinfo );
176176 // Check to see if we need to notify or indicate any active connections.
177177 for (size_t i = 0 ; i < BLEIO_TOTAL_CONNECTION_COUNT ; i ++ ) {
178178 bleio_connection_internal_t * connection = & bleio_connections [i ];
@@ -255,7 +255,7 @@ void common_hal_bleio_characteristic_set_cccd(bleio_characteristic_obj_t *self,
255255 }
256256
257257 const uint16_t conn_handle = bleio_connection_get_conn_handle (self -> service -> connection );
258- common_hal_bleio_check_connected (conn_handle );
258+ bleio_check_connected (conn_handle );
259259
260260 uint16_t cccd_value =
261261 (notify ? BLE_GATT_HVX_NOTIFICATION : 0 ) |
0 commit comments