mirror of
https://github.com/deavmi/doap
synced 2024-07-04 15:50:15 +02:00
CoapMessaging
- When a matched packet is found in `handlePacket(CoapPacket)` then print the elapsed time since the original request (thus far)
This commit is contained in:
parent
07c1cb90cc
commit
f25066900a
|
@ -98,6 +98,7 @@ class CoapMessagingLayer : Thread
|
|||
if(request)
|
||||
{
|
||||
writeln("Matched response '"~packet.toString()~"' to request '"~request.toString()~"'");
|
||||
writeln("Elapsed time: ", request.getElapsedTime());
|
||||
|
||||
// Fulfill the request with the received data and wake up sleepers
|
||||
request.future.receiveWake(packet);
|
||||
|
|
Loading…
Reference in New Issue
Block a user