mkovatsc / Copper

Copper (Cu) CoAP user-agent (JavaScript implementation)
http://people.inf.ethz.ch/mkovatsc/copper.php
BSD 3-Clause "New" or "Revised" License
94 stars 43 forks source link

allow for more than one custom option #5

Open monteslu opened 10 years ago

monteslu commented 10 years ago

it's currently labeled "Custom Options", but you can only add a single option.

mkovatsc commented 10 years ago

Yes, I started with this feature, but it was mainly for test purposes. So far, I could not see the benefit of investing time for this. Do you have a use case?

monteslu commented 10 years ago

We're using 2 custom attributes for user/pass authentication. Doesn't necessarily have to be dynamic, but just a couple more custom fields would be fine.

petrovcicklemen commented 8 years ago

The OneM2M standard specifies, in its specification for the COAP protocol, multiple custom options, which should/could be carried in a COAP message. Although it isn't that hard to manually build a message using the Californium library, it would certainly speed things up for future users.

DariusMR commented 7 years ago

Hello Yes we need more than one custom option. It could be very useful for OneM2M or other standards I hope this project is still active :) Have a nice day !