[][src]Macro mynewt::coap_item_int_val

macro_rules! coap_item_int_val {
    (@cbor $context:ident, $val0:expr) => { ... };
    (@json $context:ident, $val0:expr) => { ... };
}

Encode Integer Sensor Value: Create a new Item object in the parent array and set the Sensor Value's key/value (integer). { ..., val0 } --> { values: [ ... , { key: val0.key, value: val0.value, geo: val0.geo }] }