Lines Matching refs:code
13 ((header.code == COAP_MSG_CODE_EMPTY_MESSAGE) && \
17 ((header.code >= 0x40) && (header.code < 0xc0))
20 ((header.code == COAP_MSG_CODE_EMPTY_MESSAGE) && \
26 ((header.code == COAP_MSG_CODE_205_CONTENT) && \
29 #define Cloud_CoAPReqMsg(header) ((1 <= header.code) && (32 > header.code))
188 if (COAP_MSG_CODE_400_BAD_REQUEST <= message->header.code) { in Cloud_CoAPRespMessage_handle()
217 unsigned char code, msgclass, detail; in Cloud_CoAPMessage_handle() local
221 code = (unsigned char)message.header.code; in Cloud_CoAPMessage_handle()
222 msgclass = code >> 5; in Cloud_CoAPMessage_handle()
223 detail = code & 0x1F; in Cloud_CoAPMessage_handle()
226 COAP_DEBUG("Code : %d.%02d(0x%x)", msgclass, detail, code); in Cloud_CoAPMessage_handle()