mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-01-27 06:35:20 +00:00
mesh: let provisioning_done generate initial ecc key
This commit is contained in:
parent
2693e1cf3a
commit
af1eaed4b1
@ -852,11 +852,8 @@ void provisioning_device_init(void){
|
||||
|
||||
pb_transport_cid = MESH_PB_TRANSPORT_INVALID_CID;
|
||||
|
||||
// init provisioning state
|
||||
// init provisioning state and generate ecc key
|
||||
provisioning_done();
|
||||
|
||||
// generate public key
|
||||
btstack_crypto_ecc_p256_generate_key(&prov_ecc_p256_request, prov_ec_q, &prov_key_generated, NULL);
|
||||
}
|
||||
|
||||
void provisioning_device_register_packet_handler(btstack_packet_handler_t packet_handler){
|
||||
|
Loading…
x
Reference in New Issue
Block a user