Skip to content

Commit e6bd99a

Browse files
committed
wip
1 parent 0619966 commit e6bd99a

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

devices/ble_hci/common-hal/_bleio/Adapter.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,6 @@
4343

4444
extern bleio_connection_internal_t bleio_connections[BLEIO_TOTAL_CONNECTION_COUNT];
4545

46-
47-
4846
typedef struct _bleio_adapter_obj_t {
4947
mp_obj_base_t base;
5048
bleio_scanresults_obj_t *scan_results;

devices/ble_hci/common-hal/_bleio/Attribute.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,10 @@
2626

2727
#include "shared-bindings/_bleio/Attribute.h"
2828

29+
// Return the type of the attribute
30+
bleio_attribute_type_uuid(mp_obj_t *attribute) {
31+
if mp_is_o
32+
2933
// Convert a _bleio security mode to a ble_gap_conn_sec_mode_t setting.
3034
// void bleio_attribute_gatts_set_security_mode(ble_gap_conn_sec_mode_t *perm, bleio_attribute_security_mode_t security_mode) {
3135
// switch (security_mode) {

devices/ble_hci/common-hal/_bleio/Service.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,6 @@ uint32_t _common_hal_bleio_service_construct(bleio_service_obj_t *self, bleio_uu
4242

4343
vm_used_ble = true;
4444

45-
uint32_t status;
4645
self->handle = bleio_adapter_add_attribute(
4746
common_hal_bleio_adapter_obj,
4847
is_secondary ? BLE_TYPE_SECONDARY_SERVICE : BLE_TYPE_PRIMARY_SERVICE,

0 commit comments

Comments
 (0)