nrf5/bluetooth: Adding new structure which can hold local address. Updating api prototype for ble_drv_address_get with a address structure by reference.
This commit is contained in:
parent
e3773e899f
commit
1402574b7d
|
@ -32,6 +32,11 @@
|
|||
|
||||
#include "modubluepy.h"
|
||||
|
||||
typedef struct {
|
||||
uint8_t addr[6];
|
||||
uint8_t addr_type;
|
||||
} ble_drv_addr_t;
|
||||
|
||||
typedef struct {
|
||||
uint8_t * p_peer_addr;
|
||||
uint8_t addr_type;
|
||||
|
@ -71,7 +76,7 @@ void ble_drv_stack_disable(void);
|
|||
|
||||
uint8_t ble_drv_stack_enabled(void);
|
||||
|
||||
void ble_drv_address_get(void);
|
||||
void ble_drv_address_get(ble_drv_addr_t * p_addr);
|
||||
|
||||
void ble_drv_advertise(void);
|
||||
|
||||
|
|
Loading…
Reference in New Issue