Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Californium (Cf) CoAP Framework » How to add extra options to CoAP request?
How to add extra options to CoAP request? [message #1740714] Wed, 17 August 2016 14:53
Son Duong is currently offline Son DuongFriend
Messages: 60
Registered: June 2016
Hi all,

I know that CoAP defines some options which can be included in the sending request and each option has their own number. The structure of the CoAP uri request looks like:

coap-URI = "coap:" "//" host [ ":" port ] path-abempty [ "?" query ]

where inside they include some options like: Uri-Host, Uri-Port, Uri-Path, and Uri-Query, and each of them has their own number, ex: 3 for Uri-Host, 11 for Uri Path.... . And I would like to add some more extra options to this CoAP request, for example some options number 256, 257...How can I do that?

Thank you in advanced


[Updated on: Wed, 17 August 2016 14:53]

Report message to a moderator

Previous Topic:Exception at CoAP Server addEndpoint
Next Topic:How to add Header to CoAP request
Goto Forum:

Current Time: Fri Nov 16 16:35:43 GMT 2018

Powered by FUDForum. Page generated in 0.01985 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top