nrf5/modules/ubluepy: Adding new members to the ublupy advertisment parameters, to hold custom data payload if set.

This commit is contained in:
Glenn Ruben Bakke 2017-04-02 15:48:32 +02:00
parent 52c07e7cb2
commit 58238a43b3

View File

@ -148,6 +148,8 @@ typedef struct _ubluepy_advertise_data_t {
uint8_t device_name_len; uint8_t device_name_len;
mp_obj_t * p_services; mp_obj_t * p_services;
uint8_t num_of_services; uint8_t num_of_services;
uint8_t * p_data;
uint8_t data_len;
} ubluepy_advertise_data_t; } ubluepy_advertise_data_t;
typedef struct _ubluepy_scanner_obj_t { typedef struct _ubluepy_scanner_obj_t {