This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

nRF9160 throughput

As a quick and dirty way to test throughput, I am sending non-confirm-able coap POSTs to my coap server and time stamping them.

Only 3 packets per second get sent.  The other packets fail with the prink error message in the cope snippet below.  Is there something I'm doing wrong here?

while (1) {
                if (client_post_send() != 0) {
                        printk("Failed to send POST request.\n");
                }
		
		k_sleep(K_MSEC(100));
	}

Related