Searched refs:sample_test_packet (Results 1 – 1 of 1) sorted by relevance
/Zephyr-latest/samples/net/cellular_modem/src/ |
D | main.c | 27 static uint8_t sample_test_packet[SAMPLE_TEST_PACKET_SIZE]; variable 44 for (size_t i = 0; i < sizeof(sample_test_packet); i++) { in init_sample_test_packet() 45 sample_test_packet[i] = sample_prng_random(); in init_sample_test_packet() 164 ret = sendto(socket_fd, sample_test_packet, sizeof(sample_test_packet), 0, in sample_echo_packet() 167 if (ret < sizeof(sample_test_packet)) { in sample_echo_packet() 174 if (ret != sizeof(sample_test_packet)) { in sample_echo_packet() 185 if (memcmp(sample_test_packet, sample_recv_buffer, in sample_echo_packet() 242 ret = sendto(socket_fd, sample_test_packet, sizeof(sample_test_packet), 0, in sample_transmit_packets() 245 if (ret < sizeof(sample_test_packet)) { in sample_transmit_packets()
|