Hi. I am using this library to test CoAP performance for various situations. When I use Get method to get data bigger than 250 bytes from a server this library splits packets.
I opened an issue about BUF_MAX_SIZE here #15 . And O solved my problem for the POST, PUT and Delete methods.
ISSUE
But for the get methods or more correctly when I am getting an acknowledgement(ACKN) packet it makes them split, getting them multiple time longer. This cause more, energy consumption, requires more time for a packet to deliver etc.
Expected behavior
A CoAP library should receive an ACK packet with 0 to 1024 byte payload at once, as a hole packet.
I don't know what to do. I think the problem is in the bool coapClient::loop() method. I tried to change some of those codes. But I couldn't solve it.
Hi. I am using this library to test CoAP performance for various situations. When I use Get method to get data bigger than 250 bytes from a server this library splits packets.
I opened an issue about BUF_MAX_SIZE here #15 . And O solved my problem for the POST, PUT and Delete methods.
ISSUE But for the get methods or more correctly when I am getting an acknowledgement(ACKN) packet it makes them split, getting them multiple time longer. This cause more, energy consumption, requires more time for a packet to deliver etc.
Expected behavior A CoAP library should receive an ACK packet with 0 to 1024 byte payload at once, as a hole packet.
I don't know what to do. I think the problem is in the
bool coapClient::loop()
method. I tried to change some of those codes. But I couldn't solve it.Thanks for any help.