@@ -2652,18 +2652,18 @@ static void hb_pub_send_status(struct bt_mesh_model *model,
2652
2652
bt_mesh_model_send (model , ctx , msg , NULL , NULL );
2653
2653
}
2654
2654
2655
- static void hearbeat_pub_get (struct bt_mesh_model * model ,
2656
- struct bt_mesh_msg_ctx * ctx ,
2657
- struct net_buf_simple * buf )
2655
+ static void heartbeat_pub_get (struct bt_mesh_model * model ,
2656
+ struct bt_mesh_msg_ctx * ctx ,
2657
+ struct net_buf_simple * buf )
2658
2658
{
2659
2659
BT_DBG ("src 0x%04x" , ctx -> addr );
2660
2660
2661
2661
hb_pub_send_status (model , ctx , STATUS_SUCCESS , NULL );
2662
2662
}
2663
2663
2664
- static void hearbeat_pub_set (struct bt_mesh_model * model ,
2665
- struct bt_mesh_msg_ctx * ctx ,
2666
- struct net_buf_simple * buf )
2664
+ static void heartbeat_pub_set (struct bt_mesh_model * model ,
2665
+ struct bt_mesh_msg_ctx * ctx ,
2666
+ struct net_buf_simple * buf )
2667
2667
{
2668
2668
struct hb_pub_param * param = (void * )buf -> data ;
2669
2669
struct bt_mesh_cfg * cfg = model -> user_data ;
@@ -2772,18 +2772,18 @@ static void hb_sub_send_status(struct bt_mesh_model *model,
2772
2772
bt_mesh_model_send (model , ctx , msg , NULL , NULL );
2773
2773
}
2774
2774
2775
- static void hearbeat_sub_get (struct bt_mesh_model * model ,
2776
- struct bt_mesh_msg_ctx * ctx ,
2777
- struct net_buf_simple * buf )
2775
+ static void heartbeat_sub_get (struct bt_mesh_model * model ,
2776
+ struct bt_mesh_msg_ctx * ctx ,
2777
+ struct net_buf_simple * buf )
2778
2778
{
2779
2779
BT_DBG ("src 0x%04x" , ctx -> addr );
2780
2780
2781
2781
hb_sub_send_status (model , ctx , STATUS_SUCCESS );
2782
2782
}
2783
2783
2784
- static void hearbeat_sub_set (struct bt_mesh_model * model ,
2785
- struct bt_mesh_msg_ctx * ctx ,
2786
- struct net_buf_simple * buf )
2784
+ static void heartbeat_sub_set (struct bt_mesh_model * model ,
2785
+ struct bt_mesh_msg_ctx * ctx ,
2786
+ struct net_buf_simple * buf )
2787
2787
{
2788
2788
struct bt_mesh_cfg * cfg = model -> user_data ;
2789
2789
u16_t sub_src , sub_dst ;
@@ -2884,10 +2884,10 @@ const struct bt_mesh_model_op bt_mesh_cfg_op[] = {
2884
2884
{ OP_LPN_TIMEOUT_GET , 2 , lpn_timeout_get },
2885
2885
{ OP_KRP_GET , 2 , krp_get },
2886
2886
{ OP_KRP_SET , 3 , krp_set },
2887
- { OP_HEARTBEAT_PUB_GET , 0 , hearbeat_pub_get },
2888
- { OP_HEARTBEAT_PUB_SET , 9 , hearbeat_pub_set },
2889
- { OP_HEARTBEAT_SUB_GET , 0 , hearbeat_sub_get },
2890
- { OP_HEARTBEAT_SUB_SET , 5 , hearbeat_sub_set },
2887
+ { OP_HEARTBEAT_PUB_GET , 0 , heartbeat_pub_get },
2888
+ { OP_HEARTBEAT_PUB_SET , 9 , heartbeat_pub_set },
2889
+ { OP_HEARTBEAT_SUB_GET , 0 , heartbeat_sub_get },
2890
+ { OP_HEARTBEAT_SUB_SET , 5 , heartbeat_sub_set },
2891
2891
BT_MESH_MODEL_OP_END ,
2892
2892
};
2893
2893
0 commit comments