summaryrefslogtreecommitdiff
path: root/ports/nrf/common-hal/bleio/UUID.h
diff options
context:
space:
mode:
Diffstat (limited to 'ports/nrf/common-hal/bleio/UUID.h')
-rw-r--r--ports/nrf/common-hal/bleio/UUID.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/ports/nrf/common-hal/bleio/UUID.h b/ports/nrf/common-hal/bleio/UUID.h
index 77f8fc5d1..f0d32ede2 100644
--- a/ports/nrf/common-hal/bleio/UUID.h
+++ b/ports/nrf/common-hal/bleio/UUID.h
@@ -30,6 +30,8 @@
#include "py/obj.h"
+#include "ble.h"
+
typedef struct {
mp_obj_base_t base;
// If non-zero, `uuid_vs_idx` is an index into the SoftDevice's table of registered vendor-specific UUID's.
@@ -40,4 +42,7 @@ typedef struct {
uint16_t uuid16;
} bleio_uuid_obj_t;
+void bleio_uuid_construct_from_nrf_uuid(bleio_uuid_obj_t *self, ble_uuid_t *nrf_uuid);
+void bleio_uuid_convert_to_nrf_uuid(bleio_uuid_obj_t *self, ble_uuid_t *nrf_uuid);
+
#endif // MICROPY_INCLUDED_NRF_COMMON_HAL_BLEIO_UUID_H