Lines Matching refs:net_idx

60 	LOG_DBG("net_idx 0x%04x app_idx 0x%04x src 0x%04x len %u: %s", ctx->net_idx, ctx->app_idx,  in comp_data_status()
96 LOG_DBG("net_idx 0x%04x app_idx 0x%04x src 0x%04x len %u: %s", ctx->net_idx, ctx->app_idx, in state_status_u8()
177 uint16_t net_idx; member
186 uint16_t net_idx; in krp_status() local
189 LOG_DBG("net_idx 0x%04x app_idx 0x%04x src 0x%04x len %u: %s", ctx->net_idx, ctx->app_idx, in krp_status()
193 net_idx = net_buf_simple_pull_le16(buf) & 0xfff; in krp_status()
197 if (param->net_idx != net_idx) { in krp_status()
215 cli->cb->krp_status(cli, ctx->addr, status, net_idx, phase); in krp_status()
234 LOG_DBG("net_idx 0x%04x app_idx 0x%04x src 0x%04x len %u: %s", ctx->net_idx, ctx->app_idx, in relay_status()
277 uint16_t net_idx; member
285 uint16_t net_idx; in net_key_status() local
289 LOG_DBG("net_idx 0x%04x app_idx 0x%04x src 0x%04x len %u: %s", ctx->net_idx, ctx->app_idx, in net_key_status()
293 net_idx = net_buf_simple_pull_le16(buf) & 0xfff; in net_key_status()
298 if (param->net_idx != net_idx) { in net_key_status()
315 cli->cb->net_key_status(cli, ctx->addr, status, net_idx); in net_key_status()
356 LOG_DBG("net_idx 0x%04x app_idx 0x%04x src 0x%04x len %u: %s", ctx->net_idx, ctx->app_idx, in net_key_list()
390 LOG_DBG("net_idx 0x%04x app_idx 0x%04x src 0x%04x", ctx->net_idx, ctx->app_idx, ctx->addr); in node_reset_status()
411 uint16_t net_idx; member
420 uint16_t net_idx, app_idx; in app_key_status() local
424 LOG_DBG("net_idx 0x%04x app_idx 0x%04x src 0x%04x len %u: %s", ctx->net_idx, ctx->app_idx, in app_key_status()
428 key_idx_unpack_pair(buf, &net_idx, &app_idx); in app_key_status()
433 if (param->net_idx != net_idx || param->app_idx != app_idx) { in app_key_status()
450 cli->cb->app_key_status(cli, ctx->addr, status, net_idx, in app_key_status()
458 uint16_t net_idx; member
471 uint16_t net_idx; in app_key_list() local
474 LOG_DBG("net_idx 0x%04x app_idx 0x%04x src 0x%04x len %u: %s", ctx->net_idx, ctx->app_idx, in app_key_list()
478 net_idx = net_buf_simple_pull_le16(buf) & 0xfff; in app_key_list()
484 if (param->net_idx != net_idx) { in app_key_list()
510 cli->cb->app_key_list(cli, ctx->addr, status, net_idx, buf); in app_key_list()
533 LOG_DBG("net_idx 0x%04x app_idx 0x%04x src 0x%04x len %u: %s", ctx->net_idx, ctx->app_idx, in mod_app_status()
701 LOG_DBG("net_idx 0x%04x app_idx 0x%04x src 0x%04x len %u: %s", ctx->net_idx, ctx->app_idx, in mod_app_list()
711 LOG_DBG("net_idx 0x%04x app_idx 0x%04x src 0x%04x len %u: %s", ctx->net_idx, ctx->app_idx, in mod_app_list_vnd()
735 LOG_DBG("net_idx 0x%04x app_idx 0x%04x src 0x%04x len %u: %s", ctx->net_idx, ctx->app_idx, in mod_pub_status()
819 LOG_DBG("net_idx 0x%04x app_idx 0x%04x src 0x%04x len %u: %s", ctx->net_idx, ctx->app_idx, in mod_sub_status()
872 LOG_DBG("net_idx 0x%04x app_idx 0x%04x src 0x%04x len %u: %s", ctx->net_idx, ctx->app_idx, in mod_sub_list()
882 LOG_DBG("net_idx 0x%04x app_idx 0x%04x src 0x%04x len %u: %s", ctx->net_idx, ctx->app_idx, in mod_sub_list_vnd()
901 LOG_DBG("net_idx 0x%04x app_idx 0x%04x src 0x%04x len %u: %s", ctx->net_idx, ctx->app_idx, in hb_sub_status()
945 LOG_DBG("net_idx 0x%04x app_idx 0x%04x src 0x%04x len %u: %s", ctx->net_idx, ctx->app_idx, in hb_pub_status()
954 pub.net_idx = net_buf_simple_pull_le16(buf) & 0xfff; in hb_pub_status()
978 uint16_t net_idx; member
987 uint16_t net_idx, identity; in node_identity_status() local
990 LOG_DBG("net_idx 0x%04x app_idx 0x%04x src 0x%04x len %u: %s", ctx->net_idx, ctx->app_idx, in node_identity_status()
994 net_idx = net_buf_simple_pull_le16(buf) & 0xfff; in node_identity_status()
1012 net_idx, identity); in node_identity_status()
1031 LOG_DBG("net_idx 0x%04x app_idx 0x%04x src 0x%04x len %u: %s", ctx->net_idx, ctx->app_idx, in lpn_timeout_status()
1122 int bt_mesh_cfg_cli_comp_data_get(uint16_t net_idx, uint16_t addr, uint8_t page, uint8_t *rsp, in bt_mesh_cfg_cli_comp_data_get() argument
1126 struct bt_mesh_msg_ctx ctx = BT_MESH_MSG_CTX_INIT_DEV(net_idx, addr); in bt_mesh_cfg_cli_comp_data_get()
1144 static int get_state_u8(uint16_t net_idx, uint16_t addr, uint32_t op, uint32_t rsp, uint8_t *val) in get_state_u8() argument
1147 struct bt_mesh_msg_ctx ctx = BT_MESH_MSG_CTX_INIT_DEV(net_idx, addr); in get_state_u8()
1159 static int set_state_u8(uint16_t net_idx, uint16_t addr, uint32_t op, uint32_t rsp, uint8_t new_val, in set_state_u8() argument
1163 struct bt_mesh_msg_ctx ctx = BT_MESH_MSG_CTX_INIT_DEV(net_idx, addr); in set_state_u8()
1177 int bt_mesh_cfg_cli_beacon_get(uint16_t net_idx, uint16_t addr, uint8_t *status) in bt_mesh_cfg_cli_beacon_get() argument
1179 return get_state_u8(net_idx, addr, OP_BEACON_GET, OP_BEACON_STATUS, status); in bt_mesh_cfg_cli_beacon_get()
1182 int bt_mesh_cfg_cli_krp_get(uint16_t net_idx, uint16_t addr, uint16_t key_net_idx, uint8_t *status, in bt_mesh_cfg_cli_krp_get() argument
1186 struct bt_mesh_msg_ctx ctx = BT_MESH_MSG_CTX_INIT_DEV(net_idx, addr); in bt_mesh_cfg_cli_krp_get()
1190 .net_idx = key_net_idx, in bt_mesh_cfg_cli_krp_get()
1205 int bt_mesh_cfg_cli_krp_set(uint16_t net_idx, uint16_t addr, uint16_t key_net_idx, in bt_mesh_cfg_cli_krp_set() argument
1209 struct bt_mesh_msg_ctx ctx = BT_MESH_MSG_CTX_INIT_DEV(net_idx, addr); in bt_mesh_cfg_cli_krp_set()
1213 .net_idx = key_net_idx, in bt_mesh_cfg_cli_krp_set()
1229 int bt_mesh_cfg_cli_beacon_set(uint16_t net_idx, uint16_t addr, uint8_t val, uint8_t *status) in bt_mesh_cfg_cli_beacon_set() argument
1231 return set_state_u8(net_idx, addr, OP_BEACON_SET, OP_BEACON_STATUS, val, status); in bt_mesh_cfg_cli_beacon_set()
1234 int bt_mesh_cfg_cli_ttl_get(uint16_t net_idx, uint16_t addr, uint8_t *ttl) in bt_mesh_cfg_cli_ttl_get() argument
1236 return get_state_u8(net_idx, addr, OP_DEFAULT_TTL_GET, OP_DEFAULT_TTL_STATUS, ttl); in bt_mesh_cfg_cli_ttl_get()
1239 int bt_mesh_cfg_cli_ttl_set(uint16_t net_idx, uint16_t addr, uint8_t val, uint8_t *ttl) in bt_mesh_cfg_cli_ttl_set() argument
1241 return set_state_u8(net_idx, addr, OP_DEFAULT_TTL_SET, OP_DEFAULT_TTL_STATUS, val, ttl); in bt_mesh_cfg_cli_ttl_set()
1244 int bt_mesh_cfg_cli_friend_get(uint16_t net_idx, uint16_t addr, uint8_t *status) in bt_mesh_cfg_cli_friend_get() argument
1246 return get_state_u8(net_idx, addr, OP_FRIEND_GET, OP_FRIEND_STATUS, status); in bt_mesh_cfg_cli_friend_get()
1249 int bt_mesh_cfg_cli_friend_set(uint16_t net_idx, uint16_t addr, uint8_t val, uint8_t *status) in bt_mesh_cfg_cli_friend_set() argument
1251 return set_state_u8(net_idx, addr, OP_FRIEND_SET, OP_FRIEND_STATUS, val, status); in bt_mesh_cfg_cli_friend_set()
1254 int bt_mesh_cfg_cli_gatt_proxy_get(uint16_t net_idx, uint16_t addr, uint8_t *status) in bt_mesh_cfg_cli_gatt_proxy_get() argument
1256 return get_state_u8(net_idx, addr, OP_GATT_PROXY_GET, OP_GATT_PROXY_STATUS, status); in bt_mesh_cfg_cli_gatt_proxy_get()
1259 int bt_mesh_cfg_cli_gatt_proxy_set(uint16_t net_idx, uint16_t addr, uint8_t val, uint8_t *status) in bt_mesh_cfg_cli_gatt_proxy_set() argument
1261 return set_state_u8(net_idx, addr, OP_GATT_PROXY_SET, OP_GATT_PROXY_STATUS, val, status); in bt_mesh_cfg_cli_gatt_proxy_set()
1264 int bt_mesh_cfg_cli_net_transmit_set(uint16_t net_idx, uint16_t addr, uint8_t val, in bt_mesh_cfg_cli_net_transmit_set() argument
1267 return set_state_u8(net_idx, addr, OP_NET_TRANSMIT_SET, OP_NET_TRANSMIT_STATUS, val, in bt_mesh_cfg_cli_net_transmit_set()
1271 int bt_mesh_cfg_cli_net_transmit_get(uint16_t net_idx, uint16_t addr, uint8_t *transmit) in bt_mesh_cfg_cli_net_transmit_get() argument
1273 return get_state_u8(net_idx, addr, OP_NET_TRANSMIT_GET, OP_NET_TRANSMIT_STATUS, transmit); in bt_mesh_cfg_cli_net_transmit_get()
1276 int bt_mesh_cfg_cli_relay_get(uint16_t net_idx, uint16_t addr, uint8_t *status, uint8_t *transmit) in bt_mesh_cfg_cli_relay_get() argument
1279 struct bt_mesh_msg_ctx ctx = BT_MESH_MSG_CTX_INIT_DEV(net_idx, addr); in bt_mesh_cfg_cli_relay_get()
1296 int bt_mesh_cfg_cli_relay_set(uint16_t net_idx, uint16_t addr, uint8_t new_relay, in bt_mesh_cfg_cli_relay_set() argument
1300 struct bt_mesh_msg_ctx ctx = BT_MESH_MSG_CTX_INIT_DEV(net_idx, addr); in bt_mesh_cfg_cli_relay_set()
1319 int bt_mesh_cfg_cli_net_key_add(uint16_t net_idx, uint16_t addr, uint16_t key_net_idx, in bt_mesh_cfg_cli_net_key_add() argument
1323 struct bt_mesh_msg_ctx ctx = BT_MESH_MSG_CTX_INIT_DEV(net_idx, addr); in bt_mesh_cfg_cli_net_key_add()
1326 .net_idx = key_net_idx, in bt_mesh_cfg_cli_net_key_add()
1342 int bt_mesh_cfg_cli_net_key_update(uint16_t net_idx, uint16_t addr, uint16_t key_net_idx, in bt_mesh_cfg_cli_net_key_update() argument
1346 struct bt_mesh_msg_ctx ctx = BT_MESH_MSG_CTX_INIT_DEV(net_idx, addr); in bt_mesh_cfg_cli_net_key_update()
1349 .net_idx = key_net_idx, in bt_mesh_cfg_cli_net_key_update()
1365 int bt_mesh_cfg_cli_net_key_get(uint16_t net_idx, uint16_t addr, uint16_t *keys, size_t *key_cnt) in bt_mesh_cfg_cli_net_key_get() argument
1368 struct bt_mesh_msg_ctx ctx = BT_MESH_MSG_CTX_INIT_DEV(net_idx, addr); in bt_mesh_cfg_cli_net_key_get()
1385 int bt_mesh_cfg_cli_net_key_del(uint16_t net_idx, uint16_t addr, uint16_t key_net_idx, in bt_mesh_cfg_cli_net_key_del() argument
1389 struct bt_mesh_msg_ctx ctx = BT_MESH_MSG_CTX_INIT_DEV(net_idx, addr); in bt_mesh_cfg_cli_net_key_del()
1392 .net_idx = key_net_idx, in bt_mesh_cfg_cli_net_key_del()
1407 int bt_mesh_cfg_cli_app_key_add(uint16_t net_idx, uint16_t addr, uint16_t key_net_idx, in bt_mesh_cfg_cli_app_key_add() argument
1411 struct bt_mesh_msg_ctx ctx = BT_MESH_MSG_CTX_INIT_DEV(net_idx, addr); in bt_mesh_cfg_cli_app_key_add()
1414 .net_idx = key_net_idx, in bt_mesh_cfg_cli_app_key_add()
1431 int bt_mesh_cfg_cli_app_key_update(uint16_t net_idx, uint16_t addr, uint16_t key_net_idx, in bt_mesh_cfg_cli_app_key_update() argument
1435 struct bt_mesh_msg_ctx ctx = BT_MESH_MSG_CTX_INIT_DEV(net_idx, addr); in bt_mesh_cfg_cli_app_key_update()
1438 .net_idx = key_net_idx, in bt_mesh_cfg_cli_app_key_update()
1455 int bt_mesh_cfg_cli_node_reset(uint16_t net_idx, uint16_t addr, bool *status) in bt_mesh_cfg_cli_node_reset() argument
1458 struct bt_mesh_msg_ctx ctx = BT_MESH_MSG_CTX_INIT_DEV(net_idx, addr); in bt_mesh_cfg_cli_node_reset()
1476 int bt_mesh_cfg_cli_app_key_get(uint16_t net_idx, uint16_t addr, uint16_t key_net_idx, in bt_mesh_cfg_cli_app_key_get() argument
1480 struct bt_mesh_msg_ctx ctx = BT_MESH_MSG_CTX_INIT_DEV(net_idx, addr); in bt_mesh_cfg_cli_app_key_get()
1482 .net_idx = key_net_idx, in bt_mesh_cfg_cli_app_key_get()
1501 int bt_mesh_cfg_cli_app_key_del(uint16_t net_idx, uint16_t addr, uint16_t key_net_idx, in bt_mesh_cfg_cli_app_key_del() argument
1505 struct bt_mesh_msg_ctx ctx = BT_MESH_MSG_CTX_INIT_DEV(net_idx, addr); in bt_mesh_cfg_cli_app_key_del()
1508 .net_idx = key_net_idx, in bt_mesh_cfg_cli_app_key_del()
1524 static int mod_app_bind(uint16_t net_idx, uint16_t addr, uint16_t elem_addr, uint16_t mod_app_idx, in mod_app_bind() argument
1528 struct bt_mesh_msg_ctx ctx = BT_MESH_MSG_CTX_INIT_DEV(net_idx, addr); in mod_app_bind()
1556 int bt_mesh_cfg_cli_mod_app_bind(uint16_t net_idx, uint16_t addr, uint16_t elem_addr, in bt_mesh_cfg_cli_mod_app_bind() argument
1559 return mod_app_bind(net_idx, addr, elem_addr, mod_app_idx, mod_id, CID_NVAL, status); in bt_mesh_cfg_cli_mod_app_bind()
1562 int bt_mesh_cfg_cli_mod_app_bind_vnd(uint16_t net_idx, uint16_t addr, uint16_t elem_addr, in bt_mesh_cfg_cli_mod_app_bind_vnd() argument
1570 return mod_app_bind(net_idx, addr, elem_addr, mod_app_idx, mod_id, cid, status); in bt_mesh_cfg_cli_mod_app_bind_vnd()
1573 static int mod_app_unbind(uint16_t net_idx, uint16_t addr, uint16_t elem_addr, uint16_t mod_app_idx, in mod_app_unbind() argument
1577 struct bt_mesh_msg_ctx ctx = BT_MESH_MSG_CTX_INIT_DEV(net_idx, addr); in mod_app_unbind()
1605 int bt_mesh_cfg_cli_mod_app_unbind(uint16_t net_idx, uint16_t addr, uint16_t elem_addr, in bt_mesh_cfg_cli_mod_app_unbind() argument
1608 return mod_app_unbind(net_idx, addr, elem_addr, mod_app_idx, mod_id, CID_NVAL, status); in bt_mesh_cfg_cli_mod_app_unbind()
1611 int bt_mesh_cfg_cli_mod_app_unbind_vnd(uint16_t net_idx, uint16_t addr, uint16_t elem_addr, in bt_mesh_cfg_cli_mod_app_unbind_vnd() argument
1619 return mod_app_unbind(net_idx, addr, elem_addr, mod_app_idx, mod_id, cid, status); in bt_mesh_cfg_cli_mod_app_unbind_vnd()
1622 static int mod_member_list_get(uint32_t op, uint32_t expect_op, uint16_t net_idx, uint16_t addr, in mod_member_list_get() argument
1627 struct bt_mesh_msg_ctx ctx = BT_MESH_MSG_CTX_INIT_DEV(net_idx, addr); in mod_member_list_get()
1643 LOG_DBG("net_idx 0x%04x addr 0x%04x elem_addr 0x%04x", net_idx, addr, elem_addr); in mod_member_list_get()
1659 int bt_mesh_cfg_cli_mod_app_get(uint16_t net_idx, uint16_t addr, uint16_t elem_addr, in bt_mesh_cfg_cli_mod_app_get() argument
1662 return mod_member_list_get(OP_SIG_MOD_APP_GET, OP_SIG_MOD_APP_LIST, net_idx, addr, in bt_mesh_cfg_cli_mod_app_get()
1666 int bt_mesh_cfg_cli_mod_app_get_vnd(uint16_t net_idx, uint16_t addr, uint16_t elem_addr, in bt_mesh_cfg_cli_mod_app_get_vnd() argument
1674 return mod_member_list_get(OP_VND_MOD_APP_GET, OP_VND_MOD_APP_LIST, net_idx, addr, in bt_mesh_cfg_cli_mod_app_get_vnd()
1678 static int mod_sub(uint32_t op, uint16_t net_idx, uint16_t addr, uint16_t elem_addr, in mod_sub() argument
1682 struct bt_mesh_msg_ctx ctx = BT_MESH_MSG_CTX_INIT_DEV(net_idx, addr); in mod_sub()
1713 int bt_mesh_cfg_cli_mod_sub_add(uint16_t net_idx, uint16_t addr, uint16_t elem_addr, in bt_mesh_cfg_cli_mod_sub_add() argument
1720 return mod_sub(OP_MOD_SUB_ADD, net_idx, addr, elem_addr, sub_addr, mod_id, CID_NVAL, in bt_mesh_cfg_cli_mod_sub_add()
1724 int bt_mesh_cfg_cli_mod_sub_add_vnd(uint16_t net_idx, uint16_t addr, uint16_t elem_addr, in bt_mesh_cfg_cli_mod_sub_add_vnd() argument
1733 return mod_sub(OP_MOD_SUB_ADD, net_idx, addr, elem_addr, sub_addr, mod_id, cid, status); in bt_mesh_cfg_cli_mod_sub_add_vnd()
1736 int bt_mesh_cfg_cli_mod_sub_del(uint16_t net_idx, uint16_t addr, uint16_t elem_addr, in bt_mesh_cfg_cli_mod_sub_del() argument
1743 return mod_sub(OP_MOD_SUB_DEL, net_idx, addr, elem_addr, sub_addr, mod_id, CID_NVAL, in bt_mesh_cfg_cli_mod_sub_del()
1747 int bt_mesh_cfg_cli_mod_sub_del_all(uint16_t net_idx, uint16_t addr, uint16_t elem_addr, in bt_mesh_cfg_cli_mod_sub_del_all() argument
1750 return mod_sub(OP_MOD_SUB_DEL_ALL, net_idx, addr, elem_addr, BT_MESH_ADDR_UNASSIGNED, in bt_mesh_cfg_cli_mod_sub_del_all()
1754 int bt_mesh_cfg_cli_mod_sub_del_vnd(uint16_t net_idx, uint16_t addr, uint16_t elem_addr, in bt_mesh_cfg_cli_mod_sub_del_vnd() argument
1763 return mod_sub(OP_MOD_SUB_DEL, net_idx, addr, elem_addr, sub_addr, mod_id, cid, status); in bt_mesh_cfg_cli_mod_sub_del_vnd()
1766 int bt_mesh_cfg_cli_mod_sub_del_all_vnd(uint16_t net_idx, uint16_t addr, uint16_t elem_addr, in bt_mesh_cfg_cli_mod_sub_del_all_vnd() argument
1773 return mod_sub(OP_MOD_SUB_DEL_ALL, net_idx, addr, elem_addr, BT_MESH_ADDR_UNASSIGNED, in bt_mesh_cfg_cli_mod_sub_del_all_vnd()
1777 int bt_mesh_cfg_cli_mod_sub_overwrite(uint16_t net_idx, uint16_t addr, uint16_t elem_addr, in bt_mesh_cfg_cli_mod_sub_overwrite() argument
1784 return mod_sub(OP_MOD_SUB_OVERWRITE, net_idx, addr, elem_addr, sub_addr, mod_id, CID_NVAL, in bt_mesh_cfg_cli_mod_sub_overwrite()
1788 int bt_mesh_cfg_cli_mod_sub_overwrite_vnd(uint16_t net_idx, uint16_t addr, uint16_t elem_addr, in bt_mesh_cfg_cli_mod_sub_overwrite_vnd() argument
1797 return mod_sub(OP_MOD_SUB_OVERWRITE, net_idx, addr, elem_addr, sub_addr, mod_id, cid, in bt_mesh_cfg_cli_mod_sub_overwrite_vnd()
1801 static int mod_sub_va(uint32_t op, uint16_t net_idx, uint16_t addr, uint16_t elem_addr, in mod_sub_va() argument
1806 struct bt_mesh_msg_ctx ctx = BT_MESH_MSG_CTX_INIT_DEV(net_idx, addr); in mod_sub_va()
1821 LOG_DBG("net_idx 0x%04x addr 0x%04x elem_addr 0x%04x label %s", net_idx, addr, elem_addr, in mod_sub_va()
1838 int bt_mesh_cfg_cli_mod_sub_va_add(uint16_t net_idx, uint16_t addr, uint16_t elem_addr, in bt_mesh_cfg_cli_mod_sub_va_add() argument
1842 return mod_sub_va(OP_MOD_SUB_VA_ADD, net_idx, addr, elem_addr, label, mod_id, CID_NVAL, in bt_mesh_cfg_cli_mod_sub_va_add()
1846 int bt_mesh_cfg_cli_mod_sub_va_add_vnd(uint16_t net_idx, uint16_t addr, uint16_t elem_addr, in bt_mesh_cfg_cli_mod_sub_va_add_vnd() argument
1854 return mod_sub_va(OP_MOD_SUB_VA_ADD, net_idx, addr, elem_addr, label, mod_id, cid, in bt_mesh_cfg_cli_mod_sub_va_add_vnd()
1858 int bt_mesh_cfg_cli_mod_sub_va_del(uint16_t net_idx, uint16_t addr, uint16_t elem_addr, in bt_mesh_cfg_cli_mod_sub_va_del() argument
1862 return mod_sub_va(OP_MOD_SUB_VA_DEL, net_idx, addr, elem_addr, label, mod_id, CID_NVAL, in bt_mesh_cfg_cli_mod_sub_va_del()
1866 int bt_mesh_cfg_cli_mod_sub_va_del_vnd(uint16_t net_idx, uint16_t addr, uint16_t elem_addr, in bt_mesh_cfg_cli_mod_sub_va_del_vnd() argument
1874 return mod_sub_va(OP_MOD_SUB_VA_DEL, net_idx, addr, elem_addr, label, mod_id, cid, in bt_mesh_cfg_cli_mod_sub_va_del_vnd()
1878 int bt_mesh_cfg_cli_mod_sub_va_overwrite(uint16_t net_idx, uint16_t addr, uint16_t elem_addr, in bt_mesh_cfg_cli_mod_sub_va_overwrite() argument
1882 return mod_sub_va(OP_MOD_SUB_VA_OVERWRITE, net_idx, addr, elem_addr, label, mod_id, in bt_mesh_cfg_cli_mod_sub_va_overwrite()
1886 int bt_mesh_cfg_cli_mod_sub_va_overwrite_vnd(uint16_t net_idx, uint16_t addr, uint16_t elem_addr, in bt_mesh_cfg_cli_mod_sub_va_overwrite_vnd() argument
1894 return mod_sub_va(OP_MOD_SUB_VA_OVERWRITE, net_idx, addr, elem_addr, label, mod_id, cid, in bt_mesh_cfg_cli_mod_sub_va_overwrite_vnd()
1898 int bt_mesh_cfg_cli_mod_sub_get(uint16_t net_idx, uint16_t addr, uint16_t elem_addr, in bt_mesh_cfg_cli_mod_sub_get() argument
1901 return mod_member_list_get(OP_MOD_SUB_GET, OP_MOD_SUB_LIST, net_idx, addr, elem_addr, in bt_mesh_cfg_cli_mod_sub_get()
1905 int bt_mesh_cfg_cli_mod_sub_get_vnd(uint16_t net_idx, uint16_t addr, uint16_t elem_addr, in bt_mesh_cfg_cli_mod_sub_get_vnd() argument
1913 return mod_member_list_get(OP_MOD_SUB_GET_VND, OP_MOD_SUB_LIST_VND, net_idx, addr, in bt_mesh_cfg_cli_mod_sub_get_vnd()
1917 static int mod_pub_get(uint16_t net_idx, uint16_t addr, uint16_t elem_addr, uint16_t mod_id, in mod_pub_get() argument
1921 struct bt_mesh_msg_ctx ctx = BT_MESH_MSG_CTX_INIT_DEV(net_idx, addr); in mod_pub_get()
1949 int bt_mesh_cfg_cli_mod_pub_get(uint16_t net_idx, uint16_t addr, uint16_t elem_addr, in bt_mesh_cfg_cli_mod_pub_get() argument
1953 return mod_pub_get(net_idx, addr, elem_addr, mod_id, CID_NVAL, pub, status); in bt_mesh_cfg_cli_mod_pub_get()
1956 int bt_mesh_cfg_cli_mod_pub_get_vnd(uint16_t net_idx, uint16_t addr, uint16_t elem_addr, in bt_mesh_cfg_cli_mod_pub_get_vnd() argument
1964 return mod_pub_get(net_idx, addr, elem_addr, mod_id, cid, pub, status); in bt_mesh_cfg_cli_mod_pub_get_vnd()
1967 static int mod_pub_set(uint16_t net_idx, uint16_t addr, uint16_t elem_addr, uint16_t mod_id, in mod_pub_set() argument
1971 struct bt_mesh_msg_ctx ctx = BT_MESH_MSG_CTX_INIT_DEV(net_idx, addr); in mod_pub_set()
2004 static int mod_pub_va_set(uint16_t net_idx, uint16_t addr, uint16_t elem_addr, uint16_t mod_id, in mod_pub_va_set() argument
2008 struct bt_mesh_msg_ctx ctx = BT_MESH_MSG_CTX_INIT_DEV(net_idx, addr); in mod_pub_va_set()
2042 int bt_mesh_cfg_cli_mod_pub_set(uint16_t net_idx, uint16_t addr, uint16_t elem_addr, in bt_mesh_cfg_cli_mod_pub_set() argument
2051 return mod_pub_va_set(net_idx, addr, elem_addr, mod_id, CID_NVAL, pub, status); in bt_mesh_cfg_cli_mod_pub_set()
2053 return mod_pub_set(net_idx, addr, elem_addr, mod_id, CID_NVAL, pub, status); in bt_mesh_cfg_cli_mod_pub_set()
2057 int bt_mesh_cfg_cli_mod_pub_set_vnd(uint16_t net_idx, uint16_t addr, uint16_t elem_addr, in bt_mesh_cfg_cli_mod_pub_set_vnd() argument
2070 return mod_pub_va_set(net_idx, addr, elem_addr, mod_id, cid, pub, status); in bt_mesh_cfg_cli_mod_pub_set_vnd()
2072 return mod_pub_set(net_idx, addr, elem_addr, mod_id, cid, pub, status); in bt_mesh_cfg_cli_mod_pub_set_vnd()
2076 int bt_mesh_cfg_cli_hb_sub_set(uint16_t net_idx, uint16_t addr, struct bt_mesh_cfg_cli_hb_sub *sub, in bt_mesh_cfg_cli_hb_sub_set() argument
2080 struct bt_mesh_msg_ctx ctx = BT_MESH_MSG_CTX_INIT_DEV(net_idx, addr); in bt_mesh_cfg_cli_hb_sub_set()
2105 int bt_mesh_cfg_cli_hb_sub_get(uint16_t net_idx, uint16_t addr, struct bt_mesh_cfg_cli_hb_sub *sub, in bt_mesh_cfg_cli_hb_sub_get() argument
2109 struct bt_mesh_msg_ctx ctx = BT_MESH_MSG_CTX_INIT_DEV(net_idx, addr); in bt_mesh_cfg_cli_hb_sub_get()
2126 int bt_mesh_cfg_cli_hb_pub_set(uint16_t net_idx, uint16_t addr, in bt_mesh_cfg_cli_hb_pub_set() argument
2130 struct bt_mesh_msg_ctx ctx = BT_MESH_MSG_CTX_INIT_DEV(net_idx, addr); in bt_mesh_cfg_cli_hb_pub_set()
2152 net_buf_simple_add_le16(&msg, pub->net_idx); in bt_mesh_cfg_cli_hb_pub_set()
2157 int bt_mesh_cfg_cli_hb_pub_get(uint16_t net_idx, uint16_t addr, struct bt_mesh_cfg_cli_hb_pub *pub, in bt_mesh_cfg_cli_hb_pub_get() argument
2161 struct bt_mesh_msg_ctx ctx = BT_MESH_MSG_CTX_INIT_DEV(net_idx, addr); in bt_mesh_cfg_cli_hb_pub_get()
2178 int bt_mesh_cfg_cli_node_identity_set(uint16_t net_idx, uint16_t addr, uint16_t key_net_idx, in bt_mesh_cfg_cli_node_identity_set() argument
2182 struct bt_mesh_msg_ctx ctx = BT_MESH_MSG_CTX_INIT_DEV(net_idx, addr); in bt_mesh_cfg_cli_node_identity_set()
2185 .net_idx = key_net_idx, in bt_mesh_cfg_cli_node_identity_set()
2202 int bt_mesh_cfg_cli_node_identity_get(uint16_t net_idx, uint16_t addr, uint16_t key_net_idx, in bt_mesh_cfg_cli_node_identity_get() argument
2206 struct bt_mesh_msg_ctx ctx = BT_MESH_MSG_CTX_INIT_DEV(net_idx, addr); in bt_mesh_cfg_cli_node_identity_get()
2209 .net_idx = key_net_idx, in bt_mesh_cfg_cli_node_identity_get()
2225 int bt_mesh_cfg_cli_lpn_timeout_get(uint16_t net_idx, uint16_t addr, uint16_t unicast_addr, in bt_mesh_cfg_cli_lpn_timeout_get() argument
2229 struct bt_mesh_msg_ctx ctx = BT_MESH_MSG_CTX_INIT_DEV(net_idx, addr); in bt_mesh_cfg_cli_lpn_timeout_get()