Lines Matching refs:ans
49 struct lorawan_msg ans; in ZTEST() local
57 ret = k_msgq_get(&uplink_msgq, &ans, K_MSEC(100)); in ZTEST()
59 zassert_equal(ans.len, 3); in ZTEST()
60 zassert_equal(ans.data[0], CMD_PACKAGE_VERSION); in ZTEST()
61 zassert_equal(ans.data[1], 1); /* PackageIdentifier */ in ZTEST()
62 zassert_equal(ans.data[2], 2); /* PackageVersion */ in ZTEST()
104 struct lorawan_msg ans; in ZTEST() local
113 ret = k_msgq_get(&uplink_msgq, &ans, K_MSEC(100)); in ZTEST()
115 zassert_equal(ans.len, 6); in ZTEST()
116 zassert_equal(ans.data[0], CMD_DEVICE_APP_TIME_PERIODICITY); in ZTEST()
117 zassert_equal(ans.data[1], 0); in ZTEST()
119 device_time = sys_get_le32(ans.data + 2); in ZTEST()
136 ret = k_msgq_get(&uplink_msgq, &ans, K_MSEC(100)); in ZTEST()
138 zassert_equal(ans.len, 6); in ZTEST()
139 zassert_equal(ans.data[0], CMD_DEVICE_APP_TIME_PERIODICITY); in ZTEST()