mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-03-14 01:27:41 +00:00
change random address every 5 seconds in ble peripheral test
This commit is contained in:
parent
6b724e3cd7
commit
c20baaa5ef
@ -966,7 +966,7 @@ int btstack_main(int argc, const char * argv[]){
|
||||
|
||||
btstack_stdin_setup(stdin_process);
|
||||
|
||||
gap_random_address_set_update_period(300000);
|
||||
gap_random_address_set_update_period(5000);
|
||||
gap_random_address_set_mode(GAP_RANDOM_ADDRESS_RESOLVABLE);
|
||||
strcpy(gap_device_name, "BTstack");
|
||||
sm_set_io_capabilities(IO_CAPABILITY_NO_INPUT_NO_OUTPUT);
|
||||
|
Loading…
x
Reference in New Issue
Block a user