You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To receive binary data from the CoAP Server it can only be sent with content_type application/octet-stream other content types like application/cbor can be used within the server but are not recognized as binary from the client.
Currently the payload of the response from the server is only treated as as binary when the content type is set to application/octet-stream.
Maybe you could extend this to application/cbor
Best Regards
Martin
The text was updated successfully, but these errors were encountered:
Hello Giacomo Tanganelli,
To receive binary data from the CoAP Server it can only be sent with content_type
application/octet-stream
other content types likeapplication/cbor
can be used within the server but are not recognized as binary from the client.I think the following line has to be modified:
https://github.com/Tanganelli/CoAPthon3/blob/master/coapthon/serializer.py#L117
Currently the payload of the response from the server is only treated as as binary when the content type is set to
application/octet-stream
.Maybe you could extend this to
application/cbor
Best Regards
Martin
The text was updated successfully, but these errors were encountered: