Searched refs:acceptype (Results 1 – 1 of 1) sorted by relevance
58 unsigned int acceptype = 0; in CoAPObsServer_add() local100 CoAPUintOption_get(request, COAP_OPTION_ACCEPT, &acceptype); in CoAPObsServer_add()101 obs->ctype = (acceptype == 0) ? COAP_CT_APP_JSON : acceptype; in CoAPObsServer_add()
Completed in 3 milliseconds