Bluetooth: Mesh: Rename configuration server code from cfg to cfg_srv

Now that there's support for configuration client as well, rename cfg
to cfg_srv to avoid any confusion.

Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
This commit is contained in:
Johan Hedberg 2017-11-13 21:31:25 +02:00 committed by Johan Hedberg
commit 3b252ca2be
9 changed files with 34 additions and 33 deletions

View file

@ -18,7 +18,7 @@
*/
/** Mesh Configuration Server Model Context */
struct bt_mesh_cfg {
struct bt_mesh_cfg_srv {
struct bt_mesh_model *model;
u8_t net_transmit; /* Network Transmit state */
@ -56,11 +56,11 @@ struct bt_mesh_cfg {
} hb_sub;
};
extern const struct bt_mesh_model_op bt_mesh_cfg_op[];
extern const struct bt_mesh_model_op bt_mesh_cfg_srv_op[];
#define BT_MESH_MODEL_CFG_SRV(srv_data) \
BT_MESH_MODEL(BT_MESH_MODEL_ID_CFG_SRV, \
bt_mesh_cfg_op, NULL, srv_data)
bt_mesh_cfg_srv_op, NULL, srv_data)
/**
* @}