go-coap icon indicating copy to clipboard operation
go-coap copied to clipboard

Implementation of CoAP in go.

Results 21 go-coap issues
Sort by recently updated
recently updated
newest added

This PR adds helper methods to check/get/set Block1 and Block2 options as defined in RFC 7959[0]. [0] https://tools.ietf.org/html/rfc7959 *This is the second PR. I have closed the previous one due...

the response needs to have the same token & message-Id to reach the sender & get processed

As specified in the IETF draft: https://tools.ietf.org/html/draft-ietf-core-block-17, sending a single large file split into multiple blocks that fit into UDP packets.

I know this pull-request is a bit disruptive :) When I implemented retransmission I found some part are missing in this CoAP implementation. like token correlation, piggy-backed ack, etc.. It's...

In example/obsserver/obsserver.go, line 42-45: ```go if value, ok := m.Option(coap.Observe).([]uint8); ok && len(value) >= 1 && value[0] == 1 { go periodicTransmitter(l, a, m) } ``` The type assertion gives...

ResponseTimeout const control message response timeout and it is set to 2 seconds. While 2 seconds timeout is ok for 1st message, when message is re transmitted the timeout value...

https://tools.ietf.org/id/draft-bergmann-ace-dcaf-cose-00.html#rfc.section.5

@dustin We have generated some data using go-coap client and the data is not reaching Java-Calfornium-Coap Server. Though the go-coap client is working perfectly fine with go-coap server and node-js...