nrf5/modules/ubluepy: Adding new members to the ublupy advertisment parameters, to hold custom data payload if set.
This commit is contained in:
parent
52c07e7cb2
commit
58238a43b3
@ -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 {
|
||||||
|
Loading…
Reference in New Issue
Block a user