Lines Matching full:header

114 	struct smp_hdr *header;  in ZTEST()  local
150 header = net_buf_pull_mem(nb, sizeof(struct smp_hdr)); in ZTEST()
152 zassert_equal(header->nh_flags, 0, "SMP header flags mismatch"); in ZTEST()
153 zassert_equal(header->nh_op, MGMT_OP_READ_RSP, "SMP header operation mismatch"); in ZTEST()
154 zassert_equal(header->nh_group, sys_cpu_to_be16(MGMT_GROUP_ID_ENUM), in ZTEST()
155 "SMP header group mismatch"); in ZTEST()
156 zassert_equal(header->nh_seq, 1, "SMP header sequence number mismatch"); in ZTEST()
157 zassert_equal(header->nh_id, ENUM_MGMT_ID_COUNT, "SMP header command ID mismatch"); in ZTEST()
158 zassert_equal(header->nh_version, 1, "SMP header version mismatch"); in ZTEST()
213 struct smp_hdr *header; in ZTEST() local
251 header = net_buf_pull_mem(nb, sizeof(struct smp_hdr)); in ZTEST()
253 zassert_equal(header->nh_flags, 0, "SMP header flags mismatch"); in ZTEST()
254 zassert_equal(header->nh_op, MGMT_OP_READ_RSP, "SMP header operation mismatch"); in ZTEST()
255 zassert_equal(header->nh_group, sys_cpu_to_be16(MGMT_GROUP_ID_ENUM), in ZTEST()
256 "SMP header group mismatch"); in ZTEST()
257 zassert_equal(header->nh_seq, 1, "SMP header sequence number mismatch"); in ZTEST()
258 zassert_equal(header->nh_id, ENUM_MGMT_ID_LIST, "SMP header command ID mismatch"); in ZTEST()
259 zassert_equal(header->nh_version, 1, "SMP header version mismatch"); in ZTEST()
316 struct smp_hdr *header; in ZTEST() local
357 header = net_buf_pull_mem(nb, sizeof(struct smp_hdr)); in ZTEST()
359 zassert_equal(header->nh_flags, 0, "SMP header flags mismatch"); in ZTEST()
360 zassert_equal(header->nh_op, MGMT_OP_READ_RSP, "SMP header operation mismatch"); in ZTEST()
361 zassert_equal(header->nh_group, sys_cpu_to_be16(MGMT_GROUP_ID_ENUM), in ZTEST()
362 "SMP header group mismatch"); in ZTEST()
363 zassert_equal(header->nh_seq, 1, "SMP header sequence number mismatch"); in ZTEST()
364 zassert_equal(header->nh_id, ENUM_MGMT_ID_SINGLE, in ZTEST()
365 "SMP header command ID mismatch"); in ZTEST()
366 zassert_equal(header->nh_version, 1, "SMP header version mismatch"); in ZTEST()
510 struct smp_hdr *header; in ZTEST() local
563 header = net_buf_pull_mem(nb, sizeof(struct smp_hdr)); in ZTEST()
565 zassert_equal(header->nh_flags, 0, "SMP header flags mismatch"); in ZTEST()
566 zassert_equal(header->nh_op, MGMT_OP_READ_RSP, "SMP header operation mismatch"); in ZTEST()
567 zassert_equal(header->nh_group, sys_cpu_to_be16(MGMT_GROUP_ID_ENUM), in ZTEST()
568 "SMP header group mismatch"); in ZTEST()
569 zassert_equal(header->nh_seq, 1, "SMP header sequence number mismatch"); in ZTEST()
570 zassert_equal(header->nh_id, ENUM_MGMT_ID_DETAILS, "SMP header command ID mismatch"); in ZTEST()
571 zassert_equal(header->nh_version, 1, "SMP header version mismatch"); in ZTEST()
608 struct smp_hdr *header; in ZTEST() local
647 header = net_buf_pull_mem(nb, sizeof(struct smp_hdr)); in ZTEST()
649 zassert_equal(header->nh_flags, 0, "SMP header flags mismatch"); in ZTEST()
650 zassert_equal(header->nh_op, MGMT_OP_READ_RSP, "SMP header operation mismatch"); in ZTEST()
651 zassert_equal(header->nh_group, sys_cpu_to_be16(MGMT_GROUP_ID_ENUM), in ZTEST()
652 "SMP header group mismatch"); in ZTEST()
653 zassert_equal(header->nh_seq, 1, "SMP header sequence number mismatch"); in ZTEST()
654 zassert_equal(header->nh_id, ENUM_MGMT_ID_DETAILS, "SMP header command ID mismatch"); in ZTEST()
655 zassert_equal(header->nh_version, 1, "SMP header version mismatch"); in ZTEST()
680 struct smp_hdr *header; in ZTEST() local
735 header = net_buf_pull_mem(nb, sizeof(struct smp_hdr)); in ZTEST()
737 zassert_equal(header->nh_flags, 0, "SMP header flags mismatch"); in ZTEST()
738 zassert_equal(header->nh_op, MGMT_OP_READ_RSP, "SMP header operation mismatch"); in ZTEST()
739 zassert_equal(header->nh_group, sys_cpu_to_be16(MGMT_GROUP_ID_ENUM), in ZTEST()
740 "SMP header group mismatch"); in ZTEST()
741 zassert_equal(header->nh_seq, 1, "SMP header sequence number mismatch"); in ZTEST()
742 zassert_equal(header->nh_id, ENUM_MGMT_ID_DETAILS, "SMP header command ID mismatch"); in ZTEST()
743 zassert_equal(header->nh_version, 1, "SMP header version mismatch"); in ZTEST()