fix built

This commit is contained in:
Matthias Ringwald 2019-05-01 21:49:47 +02:00
parent 7e656a409e
commit e90da8a6c2
2 changed files with 7 additions and 1 deletions

View File

@ -203,7 +203,7 @@ void le_device_db_info(int device_index, int * addr_type, bd_addr_t addr, sm_key
// set defaults if not found
if (!valid) {
memset(&entry, 0, sizeof(le_device_db_entry_t));
memset(&entry, 0, sizeof(le_device_nvm_t));
entry.addr_type = BD_ADDR_TYPE_UNKNOWN;
}

View File

@ -124,6 +124,9 @@ int l2cap_send_prepared_connectionless(uint16_t handle, uint16_t cid, uint16_t l
return 0;
}
void sm_add_event_handler(btstack_packet_callback_registration_t * callback_handler){
}
int sm_cmac_ready(void){
return 1;
}
@ -134,6 +137,9 @@ int sm_le_device_index(uint16_t handle ){
return -1;
}
irk_lookup_state_t sm_identity_resolving_state(hci_con_handle_t con_handle){
return IRK_LOOKUP_SUCCEEDED;
}
void btstack_run_loop_set_timer(btstack_timer_source_t *a, uint32_t timeout_in_ms){
}