Home
last modified time | relevance | path

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

/Zephyr-latest/tests/net/lib/mqtt/v3_1_1/mqtt_client/src/
Dmain.c24 static uint8_t broker_buf[BROKER_BUFFER_SIZE]; variable
330 zassert_false(broker_offset == sizeof(broker_buf), "Cannot fit full payload!"); in broker_receive()
332 ret = zsock_recv(c_sock, broker_buf + broker_offset, in broker_receive()
333 sizeof(broker_buf) - broker_offset, in broker_receive()
348 buf.cur = broker_buf; in broker_receive()
349 buf.end = broker_buf + broker_offset; in broker_receive()
362 bytes_consumed += buf.cur - broker_buf; in broker_receive()
375 memmove(broker_buf, broker_buf + bytes_consumed, in broker_receive()