mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-03-29 22:20:37 +00:00
use uint8_t for address type
This commit is contained in:
parent
69a9752351
commit
18904abd4b
@ -455,7 +455,7 @@ int hci_le_supported(void){
|
||||
}
|
||||
|
||||
// get addr type and address used in advertisement packets
|
||||
void hci_le_advertisement_address(int * addr_type, bd_addr_t * addr){
|
||||
void hci_le_advertisement_address(uint8_t * addr_type, bd_addr_t * addr){
|
||||
*addr_type = hci_stack.adv_addr_type;
|
||||
if (hci_stack.adv_addr_type){
|
||||
memcpy(addr, hci_stack.adv_address, 6);
|
||||
|
@ -412,7 +412,7 @@ void hci_ssp_set_authentication_requirement(int authentication_requirement);
|
||||
void hci_ssp_set_auto_accept(int auto_accept);
|
||||
|
||||
// get addr type and address used in advertisement packets
|
||||
void hci_le_advertisement_address(int * addr_type, bd_addr_t * addr);
|
||||
void hci_le_advertisement_address(uint8_t * addr_type, bd_addr_t * addr);
|
||||
|
||||
#if defined __cplusplus
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user