mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-04-10 15:44:32 +00:00
mesh: pass configuration server model to mesh_configuration_server_process_heartbeat
This commit is contained in:
parent
b77439a1e3
commit
0be1a2a7cf
@ -1087,7 +1087,7 @@ static void mesh_control_message_handler(mesh_pdu_t * pdu){
|
|||||||
printf("Opcode: 0x%02x\n", opcode);
|
printf("Opcode: 0x%02x\n", opcode);
|
||||||
switch(opcode){
|
switch(opcode){
|
||||||
case 0x0a:
|
case 0x0a:
|
||||||
mesh_configuration_server_process_heartbeat(pdu);
|
mesh_configuration_server_process_heartbeat(&mesh_configuration_server_model, pdu);
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
break;
|
break;
|
||||||
|
@ -2202,6 +2202,6 @@ const mesh_operation_t * mesh_configuration_server_get_operations(void){
|
|||||||
return mesh_configuration_server_model_operations;
|
return mesh_configuration_server_model_operations;
|
||||||
}
|
}
|
||||||
|
|
||||||
void mesh_configuration_server_process_heartbeat(mesh_pdu_t * pdu){
|
void mesh_configuration_server_process_heartbeat(mesh_model_t * configuration_server_model, mesh_pdu_t * pdu){
|
||||||
printf("HEARTBEAT\n");
|
printf("HEARTBEAT\n");
|
||||||
}
|
}
|
||||||
|
@ -84,7 +84,7 @@ const mesh_operation_t * mesh_configuration_server_get_operations(void);
|
|||||||
|
|
||||||
void mesh_configuration_server_feature_changed(void);
|
void mesh_configuration_server_feature_changed(void);
|
||||||
|
|
||||||
void mesh_configuration_server_process_heartbeat(mesh_pdu_t * pdu);
|
void mesh_configuration_server_process_heartbeat(mesh_model_t * mesh_model, mesh_pdu_t * pdu);
|
||||||
|
|
||||||
// PTS Testing
|
// PTS Testing
|
||||||
void config_nekey_list_set_max(uint16_t max);
|
void config_nekey_list_set_max(uint16_t max);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user