mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-04-03 19:20:21 +00:00
mesh: mesh_access_setup_without_provisiong_data gets device uuid from mesh_node
This commit is contained in:
parent
8936a14384
commit
936cc64e19
@ -150,7 +150,7 @@ static void packet_handler (uint8_t packet_type, uint16_t channel, uint8_t *pack
|
|||||||
// dump PTS MeshOptions.ini
|
// dump PTS MeshOptions.ini
|
||||||
mesh_pts_dump_mesh_options();
|
mesh_pts_dump_mesh_options();
|
||||||
} else {
|
} else {
|
||||||
mesh_access_setup_without_provisiong_data(mesh_node_get_device_uuid());
|
mesh_access_setup_without_provisiong_data();
|
||||||
}
|
}
|
||||||
|
|
||||||
show_usage();
|
show_usage();
|
||||||
|
@ -1738,7 +1738,8 @@ void mesh_access_setup_from_provisioning_data(const mesh_provisioning_data_t * p
|
|||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
void mesh_access_setup_without_provisiong_data(const uint8_t * device_uuid){
|
void mesh_access_setup_without_provisiong_data(void){
|
||||||
|
const uint8_t * device_uuid = mesh_node_get_device_uuid();
|
||||||
#ifdef ENABLE_MESH_PB_ADV
|
#ifdef ENABLE_MESH_PB_ADV
|
||||||
// PB-ADV
|
// PB-ADV
|
||||||
beacon_unprovisioned_device_start(device_uuid, 0);
|
beacon_unprovisioned_device_start(device_uuid, 0);
|
||||||
|
@ -415,7 +415,7 @@ mesh_transport_pdu_t * mesh_access_setup_segmented_message(const mesh_access_mes
|
|||||||
|
|
||||||
// setup
|
// setup
|
||||||
void mesh_access_setup_from_provisioning_data(const mesh_provisioning_data_t * provisioning_data);
|
void mesh_access_setup_from_provisioning_data(const mesh_provisioning_data_t * provisioning_data);
|
||||||
void mesh_access_setup_without_provisiong_data(const uint8_t * device_uuid);
|
void mesh_access_setup_without_provisiong_data(void);
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
} /* end of extern "C" */
|
} /* end of extern "C" */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user