go-coap
go-coap copied to clipboard
Implementation of CoAP in go.
fixes #41
What's the best way to reach and extract URL parameters in cases like `/users/:user_id/message` - how to get this `user_id` in the handler? Will `/users/:user_id/message` and `/users/:address/home` call the same...
IETF is specifying MediaType codes beyond 255: https://www.iana.org/assignments/core-parameters/core-parameters.xhtml As such, the type of the field needs to change to something larger and able to handle the other protocols (such as...
Adding a handler with path "/" will result in a `"http: invalid pattern "` panic: ```golang package main import ( "log" "net" "github.com/dustin/go-coap" ) func main() { mux := coap.NewServeMux()...
Is go-coap support dtls ?
Not sure this is in-scope for what you're doing, but looks like there is draft support for websockets as a protocol which seems really interesting http://www.ietf.org/id/draft-savolainen-core-coap-websockets-05.txt
Adapting the SetPath function to their comment (setting LocationPath instead of URIPath) Adapting server example to make use of the SetPath function instead of setting the option directly. (Setting an...
As specified in the RFC, confirmable message should be retransmitted until receiving an Acknowledgement with the same message ID ``` Client Server | | | CON [0x7d34] | +----------------->| |...
A TCP version of CoAP is under specification: https://tools.ietf.org/html/draft-tschofenig-core-coap-tcp-tls-02 The message format is not so different, would be nice to support it