Home
last modified time | relevance | path

Searched refs:ack_data (Results 1 – 2 of 2) sorted by relevance

/Zephyr-latest/tests/net/lib/coap_client/src/
Dmain.c127 uint8_t ack_data[] = {0x68, 0x40, 0x00, 0x00, 0x00, 0x00, in z_impl_zsock_recvfrom_custom_fake() local
132 ack_data[2] = (uint8_t)(last_message_id >> 8); in z_impl_zsock_recvfrom_custom_fake()
133 ack_data[3] = (uint8_t)last_message_id; in z_impl_zsock_recvfrom_custom_fake()
134 restore_token(ack_data); in z_impl_zsock_recvfrom_custom_fake()
136 memcpy(buf, ack_data, sizeof(ack_data)); in z_impl_zsock_recvfrom_custom_fake()
140 return sizeof(ack_data); in z_impl_zsock_recvfrom_custom_fake()
275 static uint8_t ack_data[] = {0x48, 0x40, 0x00, 0x00, 0x00, 0x00, in z_impl_zsock_recvfrom_custom_fake_response() local
280 ack_data[2] = (uint8_t)(last_message_id >> 8); in z_impl_zsock_recvfrom_custom_fake_response()
281 ack_data[3] = (uint8_t)last_message_id; in z_impl_zsock_recvfrom_custom_fake_response()
282 restore_token(ack_data); in z_impl_zsock_recvfrom_custom_fake_response()
[all …]
/Zephyr-latest/tests/net/lib/coap/src/
Dmain.c399 uint8_t *ack_data = data_buf[1]; in ZTEST() local
407 r = coap_ack_init(&ack_cpkt, &cpkt, ack_data, COAP_BUF_SIZE, in ZTEST()
426 uint8_t *ack_data = data_buf[1]; in ZTEST() local
434 r = coap_ack_init(&ack_cpkt, &cpkt, ack_data, COAP_BUF_SIZE, in ZTEST()