Closed szysas closed 1 year ago
Base: 92.37% // Head: 92.42% // Increases project coverage by +0.04%
:tada:
Coverage data is based on head (
a6a0b61
) compared to base (c4cde6c
). Patch coverage: 100.00% of modified lines in pull request are covered.
:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.
@sbernard31 Is that what you are looking?
Yep something like this but I didn't have an exhaustive list of what Leshan needs about MessageType
.
I mean I don't know if we need it only for request or for response too.
And I don't know if isNonConfirmable
is enough or if we need a more general feature which returns MessageType
.
If I'm not wrong : request can be a CON / NON and a response can be CON/NON/ACK.
So
OK, this only covers inbound requests. For response there might need to be a bigger refactor needed.
While handling inbound coap requests, message type can be checked like: