Lines Matching refs:table_status
38 static int table_status(const struct bt_mesh_model *model, struct bt_mesh_msg_ctx *ctx, in table_status() function
41 struct bt_mesh_brg_cfg_table_status table_status; in table_status() local
44 table_status.status = net_buf_simple_pull_u8(buf); in table_status()
45 table_status.entry.directions = net_buf_simple_pull_u8(buf); in table_status()
46 key_idx_unpack_pair(buf, &table_status.entry.net_idx1, &table_status.entry.net_idx2); in table_status()
47 table_status.entry.addr1 = net_buf_simple_pull_le16(buf); in table_status()
48 table_status.entry.addr2 = net_buf_simple_pull_le16(buf); in table_status()
50 if (!(table_status.entry.addr1 == BT_MESH_ADDR_UNASSIGNED || in table_status()
51 BT_MESH_ADDR_IS_UNICAST(table_status.entry.addr1))) { in table_status()
54 } else if (table_status.entry.addr2 == BT_MESH_ADDR_ALL_NODES) { in table_status()
61 *rsp = table_status; in table_status()
65 if (cli->cb && cli->cb->table_status) { in table_status()
66 cli->cb->table_status(cli, ctx->addr, &table_status); in table_status()
170 {OP_BRIDGING_TABLE_STATUS, BT_MESH_LEN_EXACT(9), table_status},