Home
last modified time | relevance | path

Searched refs:sendbuf (Results 1 – 8 of 8) sorted by relevance

/AliOS-Things-master/components/linkkit/iot_coap/server/
A DCoAPExport.c54 p_ctx->sendbuf = coap_malloc(COAP_MSG_MAX_PDU_LEN); in CoAPContext_create()
55 if (NULL == p_ctx->sendbuf) { in CoAPContext_create()
59 memset(p_ctx->sendbuf, 0x00, COAP_MSG_MAX_PDU_LEN); in CoAPContext_create()
142 if (NULL != p_ctx->sendbuf) { in CoAPContext_create()
143 coap_free(p_ctx->sendbuf); in CoAPContext_create()
144 p_ctx->sendbuf = NULL; in CoAPContext_create()
238 if (NULL != p_ctx->sendbuf) { in CoAPContext_free()
239 coap_free(p_ctx->sendbuf); in CoAPContext_free()
240 p_ctx->sendbuf = NULL; in CoAPContext_free()
A DCoAPInternal.h26 unsigned char *sendbuf; member
/AliOS-Things-master/components/linkkit/iot_coap/client/
A DCloud_CoAPExport.c143 p_ctx->sendbuf = coap_malloc(COAP_MSG_MAX_PDU_LEN); in Cloud_CoAPContext_create()
144 if (NULL == p_ctx->sendbuf) { in Cloud_CoAPContext_create()
206 if (NULL != p_ctx->sendbuf) { in Cloud_CoAPContext_create()
207 coap_free(p_ctx->sendbuf); in Cloud_CoAPContext_create()
208 p_ctx->sendbuf = NULL; in Cloud_CoAPContext_create()
245 if (NULL != p_ctx->sendbuf) { in Cloud_CoAPContext_free()
246 coap_free(p_ctx->sendbuf); in Cloud_CoAPContext_free()
247 p_ctx->sendbuf = NULL; in Cloud_CoAPContext_free()
A DCloud_CoAPMessage.c83 memcpy(node->message, context->sendbuf, len); in Cloud_CoAPMessageList_add()
117 memset(context->sendbuf, 0x00, COAP_MSG_MAX_PDU_LEN); in Cloud_CoAPMessage_send()
119 CoAPSerialize_Message(message, context->sendbuf, COAP_MSG_MAX_PDU_LEN); in Cloud_CoAPMessage_send()
122 ret = Cloud_CoAPNetwork_write(&context->network, context->sendbuf, in Cloud_CoAPMessage_send()
A DCloud_CoAPExport.h52 unsigned char *sendbuf; member
/AliOS-Things-master/components/mqtt/MQTTClient-C/
A DMQTTClient.h146 unsigned char* sendbuf, size_t sendbuf_size, unsigned char* readbuf, size_t readbuf_size);
A DMQTTClient.c58 unsigned char* sendbuf, size_t sendbuf_size, unsigned char* readbuf, size_t readbuf_size) in MQTTClientInit() argument
66 c->buf = sendbuf; in MQTTClientInit()
/AliOS-Things-master/components/mqtt/
A DREADME.md77 unsigned char* sendbuf, size_t sendbuf_size, unsigned char* readbuf, size_t readbuf_size);

Completed in 8 milliseconds