From 8cc0eb23d98544f33cbf29cfbbf126cfa8e94668 Mon Sep 17 00:00:00 2001 From: Glenn Ruben Bakke Date: Sat, 11 Feb 2017 17:37:48 +0100 Subject: [PATCH] nrf5/modules: Adding new structure to ubluepy in order to pass advertisment data information to the bluetooth le stack. --- nrf5/modules/ubluepy/modubluepy.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/nrf5/modules/ubluepy/modubluepy.h b/nrf5/modules/ubluepy/modubluepy.h index 900daef54e..df534b37d0 100644 --- a/nrf5/modules/ubluepy/modubluepy.h +++ b/nrf5/modules/ubluepy/modubluepy.h @@ -66,5 +66,9 @@ typedef struct _ubluepy_characteristic_obj_t { uint16_t sccd_handle; } ubluepy_characteristic_obj_t; +typedef struct _ubluepy_advertise_data_t { + uint8_t * p_device_name; + uint8_t device_name_len; +} ubluepy_advertise_data_t; #endif // UBLUEPY_H__