Home
last modified time | relevance | path

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

/Zephyr-latest/tests/net/lib/coap_client/src/
Dmain.c124 uint16_t last_message_id = 0; in z_impl_zsock_recvfrom_custom_fake() local
130 last_message_id = get_next_pending_message_id(); in z_impl_zsock_recvfrom_custom_fake()
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()
146 uint16_t last_message_id = 0; in z_impl_zsock_sendto_custom_fake() local
149 last_message_id |= ((uint8_t *)buf)[2] << 8; in z_impl_zsock_sendto_custom_fake()
150 last_message_id |= ((uint8_t *)buf)[3]; in z_impl_zsock_sendto_custom_fake()
154 set_next_pending_message_id(last_message_id); in z_impl_zsock_sendto_custom_fake()
155 LOG_INF("Latest message ID: %d", last_message_id); in z_impl_zsock_sendto_custom_fake()
168 uint16_t last_message_id = 0; in z_impl_zsock_sendto_custom_fake_no_reply() local
[all …]