Subject: [core] CoAP optional header field fill

From: Indtiny S <[email-masked]>
Date: Wed, 16 Apr 2014 12:25:08 +0530

Hi All,

I need some information for the opetinal field for CoAP headers.

 | 9 | Critical | Uri-Path | string | 1-270 B | (none) |

|  15| Critical | Uri-Query      | string |  1-270 B | (none)      |

 Length: in the optimal header has only 4 bits so we can represents

0 to 14 bytes, but optional filed Uri-Path has size from 1 to 270 Bytes .

How to mention this filed length if it is more than 14 bytes?

And also Can somebody suggest how the option number value generated for all
optional fields?

like

   Content-Type  :: 1

   Max-Age   :: 2

   Proxy-Uri :: 3

   ETag  :: 4

Rgds

Chethan