mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-04-18 05:42:49 +00:00
test/sm: add gap_local_bd_addr
This commit is contained in:
parent
f33ad81deb
commit
9513b6ea90
@ -118,6 +118,12 @@ void att_init_connection(att_connection_t * att_connection){
|
|||||||
att_connection->authorized = 0;
|
att_connection->authorized = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void gap_local_bd_addr(bd_addr_t address_buffer){
|
||||||
|
int i;
|
||||||
|
for (i=0;i<6;i++) {
|
||||||
|
address_buffer[i] = 0x11 * (i+1);
|
||||||
|
}
|
||||||
|
}
|
||||||
int hci_can_send_command_packet_now(void){
|
int hci_can_send_command_packet_now(void){
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user