Home
last modified time | relevance | path

Searched refs:payload (Results 1 – 25 of 189) sorted by relevance

12345678

/device/soc/winnermicro/wm800/board/src/bt/blehost/nimble/host/src/
Dble_att_cmd.c76 static const void *ble_att_init_parse(uint8_t op, const void *payload, int min_len, int actual_len) in ble_att_init_parse() argument
80 u8ptr = payload; in ble_att_init_parse()
85 static void *ble_att_init_write(uint8_t op, void *payload, int min_len, int actual_len) in ble_att_init_write() argument
89 u8ptr = payload; in ble_att_init_write()
94 void ble_att_error_rsp_parse(const void *payload, int len, struct ble_att_error_rsp *dst) in ble_att_error_rsp_parse() argument
97 src = ble_att_init_parse(BLE_ATT_OP_ERROR_RSP, payload, in ble_att_error_rsp_parse()
104 void ble_att_error_rsp_write(void *payload, int len, const struct ble_att_error_rsp *src) in ble_att_error_rsp_write() argument
107 dst = ble_att_init_write(BLE_ATT_OP_ERROR_RSP, payload, in ble_att_error_rsp_write()
114 void ble_att_mtu_req_parse(const void *payload, int len, struct ble_att_mtu_cmd *dst) in ble_att_mtu_req_parse() argument
117 src = ble_att_init_parse(BLE_ATT_OP_MTU_REQ, payload, BLE_ATT_MTU_CMD_SZ, len); in ble_att_mtu_req_parse()
[all …]
Dble_att_cmd_priv.h356 void ble_att_error_rsp_parse(const void *payload, int len,
358 void ble_att_error_rsp_write(void *payload, int len,
360 void ble_att_mtu_req_parse(const void *payload, int len,
362 void ble_att_mtu_req_write(void *payload, int len,
364 void ble_att_mtu_rsp_parse(const void *payload, int len,
366 void ble_att_mtu_rsp_write(void *payload, int len,
368 void ble_att_find_info_req_parse(const void *payload, int len,
370 void ble_att_find_info_req_write(void *payload, int len,
372 void ble_att_find_info_rsp_parse(const void *payload, int len,
374 void ble_att_find_info_rsp_write(void *payload, int len,
[all …]
/device/board/bearpi/bearpi_hm_nano/app/D6_iot_cloud_oc/src/
Doc_mqtt.c84 …oc_mqtt.cmd_rsp_cb((uint8_t *)msg_data->message->payload, msg_data->message->payloadlen, &response… in mqtt_callback()
203 message.payload = (void *)msg; in oc_mqtt_publish()
236 int oc_mqtt_profile_msgup(char *deviceid, oc_mqtt_profile_msgup_t *payload) in oc_mqtt_profile_msgup() argument
251 if ((payload == NULL) || (payload->msg == NULL)) { in oc_mqtt_profile_msgup()
256 msg = oc_mqtt_profile_package_msgup(payload); in oc_mqtt_profile_msgup()
270 int oc_mqtt_profile_propertyreport(char *deviceid, oc_mqtt_profile_service_t *payload) in oc_mqtt_profile_propertyreport() argument
285 if ((payload == NULL) || (payload->service_id == NULL) || (payload->service_property == NULL)) { in oc_mqtt_profile_propertyreport()
290 msg = oc_mqtt_profile_package_propertyreport(payload); in oc_mqtt_profile_propertyreport()
304 int oc_mqtt_profile_gwpropertyreport(char *deviceid, oc_mqtt_profile_device_t *payload) in oc_mqtt_profile_gwpropertyreport() argument
319 …if ((payload == NULL) || (payload->subdevice_id == NULL) || (payload->subdevice_property == NULL) … in oc_mqtt_profile_gwpropertyreport()
[all …]
Doc_mqtt_profile_package.c82 char *oc_mqtt_profile_package_msgup(oc_mqtt_profile_msgup_t *payload) in oc_mqtt_profile_package_msgup() argument
97 if (payload->device_id != NULL) { in oc_mqtt_profile_package_msgup()
98 device_id = cJSON_CreateString(payload->device_id); in oc_mqtt_profile_package_msgup()
106 if (payload->name != NULL) { in oc_mqtt_profile_package_msgup()
107 msg_name = cJSON_CreateString(payload->name); in oc_mqtt_profile_package_msgup()
115 if (payload->id != NULL) { in oc_mqtt_profile_package_msgup()
116 msg_id = cJSON_CreateString(payload->id); in oc_mqtt_profile_package_msgup()
124 msg_conntent = cJSON_CreateString(payload->msg); in oc_mqtt_profile_package_msgup()
251 char *oc_mqtt_profile_package_propertyreport(oc_mqtt_profile_service_t *payload) in oc_mqtt_profile_package_propertyreport() argument
265 services = make_services(payload); in oc_mqtt_profile_package_propertyreport()
[all …]
/device/board/bearpi/bearpi_hm_nano/app/D6_iot_cloud_oc/include/
Doc_mqtt_profile_package.h44 char *oc_mqtt_profile_package_msgup(oc_mqtt_profile_msgup_t *payload);
45 char *oc_mqtt_profile_package_propertyreport(oc_mqtt_profile_service_t *payload);
46 char *oc_mqtt_profile_package_gwpropertyreport(oc_mqtt_profile_device_t *payload);
47 char *oc_mqtt_profile_package_propertysetresp(oc_mqtt_profile_propertysetresp_t *payload);
48 char *oc_mqtt_profile_package_propertygetresp(oc_mqtt_profile_propertygetresp_t *payload);
49 char *oc_mqtt_profile_package_cmdresp(oc_mqtt_profile_cmdresp_t *payload);
Doc_mqtt.h107 typedef int (*fn_oc_mqtt_profile_rcvdeal)(oc_mqtt_profile_msgrcv_t *payload);
172 int oc_mqtt_profile_msgup(char *deviceid, oc_mqtt_profile_msgup_t *payload);
191 int oc_mqtt_profile_propertyreport(char *deviceid, oc_mqtt_profile_service_t *payload);
209 int oc_mqtt_profile_gwpropertyreport(char *deviceid, oc_mqtt_profile_device_t *payload);
226 int oc_mqtt_profile_propertysetresp(char *deviceid, oc_mqtt_profile_propertysetresp_t *payload);
243 int oc_mqtt_profile_propertygetresp(char *deviceid, oc_mqtt_profile_propertygetresp_t *payload);
261 int oc_mqtt_profile_cmdresp(char *deviceid, oc_mqtt_profile_cmdresp_t *payload);
/device/soc/rockchip/common/vendor/drivers/gpu/arm/midgard/
Dmali_kbase_replay.c662 static void payload_dump(struct kbase_context *kctx, base_jd_replay_payload *payload) in payload_dump() argument
667 next = payload->tiler_jc_list; in payload_dump()
701 base_jd_replay_payload *payload = NULL; in kbasep_replay_parse_payload() local
709 replay_atom->jc, sizeof(payload)); in kbasep_replay_parse_payload()
711 payload = kbase_vmap(kctx, replay_atom->jc, sizeof(*payload), &map); in kbasep_replay_parse_payload()
712 if (!payload) { in kbasep_replay_parse_payload()
723 payload_uk10_2 = (base_jd_replay_payload_uk10_2 *)payload; in kbasep_replay_parse_payload()
726 payload->tiler_core_req = (u32)(tiler_core_req & 0x7fff); in kbasep_replay_parse_payload()
727 payload->fragment_core_req = (u32)(fragment_core_req & 0x7fff); in kbasep_replay_parse_payload()
732 dev_dbg(kctx->kbdev->dev, "kbasep_replay_parse_payload: payload=%p\n", payload); in kbasep_replay_parse_payload()
[all …]
/device/soc/rockchip/common/kernel/drivers/gpu/arm/midgard/
Dmali_kbase_replay.c717 static void payload_dump(struct kbase_context *kctx, base_jd_replay_payload *payload) in payload_dump() argument
722 next = payload->tiler_jc_list; in payload_dump()
759 base_jd_replay_payload *payload = NULL; in kbasep_replay_parse_payload() local
767 replay_atom->jc, sizeof(payload)); in kbasep_replay_parse_payload()
769 payload = kbase_vmap(kctx, replay_atom->jc, sizeof(*payload), &map); in kbasep_replay_parse_payload()
770 if (!payload) { in kbasep_replay_parse_payload()
781 payload_uk10_2 = (base_jd_replay_payload_uk10_2 *) payload; in kbasep_replay_parse_payload()
786 payload->tiler_core_req = (u32)(tiler_core_req & 0x7fff); in kbasep_replay_parse_payload()
787 payload->fragment_core_req = (u32)(fragment_core_req & 0x7fff); in kbasep_replay_parse_payload()
792 dev_dbg(kctx->kbdev->dev, "kbasep_replay_parse_payload: payload=%p\n", payload); in kbasep_replay_parse_payload()
[all …]
/device/board/bearpi/bearpi_hm_nano/third_party/iot_link/oc_mqtt/oc_mqtt_profile_v5/
Doc_mqtt_profile.h126 typedef int (*fn_oc_mqtt_profile_rcvdeal)(oc_mqtt_profile_msgrcv_t *payload);
151 int oc_mqtt_profile_connect(oc_mqtt_profile_connect_t *payload);
180 int oc_mqtt_profile_msgup(char *deviceid, oc_mqtt_profile_msgup_t *payload);
200 int oc_mqtt_profile_propertyreport(char *deviceid, oc_mqtt_profile_service_t *payload);
218 int oc_mqtt_profile_gwpropertyreport(char *deviceid, oc_mqtt_profile_device_t *payload);
235 int oc_mqtt_profile_propertysetresp(char *deviceid, oc_mqtt_profile_propertysetresp_t *payload);
252 int oc_mqtt_profile_propertygetresp(char *deviceid, oc_mqtt_profile_propertygetresp_t *payload);
271 int oc_mqtt_profile_cmdresp(char *deviceid, oc_mqtt_profile_cmdresp_t *payload);
288 int oc_mqtt_profile_getshadow(char *deviceid, oc_mqtt_profile_shadowget_t *payload);
/device/soc/esp/esp32/components/esp_lwip/lwip/src/core/
Dpbuf.c179 pbuf_init_alloced_pbuf(struct pbuf *p, void *payload, u16_t tot_len, u16_t len, pbuf_type type, u8_… in pbuf_init_alloced_pbuf() argument
182 p->payload = payload; in pbuf_init_alloced_pbuf()
261 ((mem_ptr_t)q->payload % MEM_ALIGNMENT) == 0); in pbuf_alloc()
295 ((mem_ptr_t)p->payload % MEM_ALIGNMENT) == 0); in pbuf_alloc()
331 pbuf_alloc_reference(void *payload, u16_t length, pbuf_type type) in pbuf_alloc_reference() argument
343 pbuf_init_alloced_pbuf(p, payload, length, length, type, 0); in pbuf_alloc_reference()
371 void *payload; in pbuf_alloced_custom() local
380 payload = (u8_t *)payload_mem + LWIP_MEM_ALIGN_SIZE(offset); in pbuf_alloced_custom()
382 payload = NULL; in pbuf_alloced_custom()
384 pbuf_init_alloced_pbuf(&p->pbuf, payload, length, length, type, PBUF_FLAG_IS_CUSTOM); in pbuf_alloced_custom()
[all …]
/device/board/bearpi/bearpi_hm_nano/app/D5_iot_mqtt/
Diot_mqtt.c46 data->topicName->lenstring.data, data->message->payloadlen, data->message->payload); in messageArrived()
90 char payload[30]; in MQTTDemoTask() local
94 message.payload = payload; in MQTTDemoTask()
95 (void)sprintf_s(payload, sizeof(payload), "message number %d", count); in MQTTDemoTask()
96 message.payloadlen = strlen(payload); in MQTTDemoTask()
/device/board/isoftstone/yangfan/common/mqtt/mqttclient_c/samples/freertos/
DMQTTEcho.c22 data->message->payloadlen, data->message->payload); in messageArrived()
62 char payload[30]; in prvMQTTEchoTask() local
66 message.payload = payload; in prvMQTTEchoTask()
67 sprintf(payload, "message number %d", count); in prvMQTTEchoTask()
68 message.payloadlen = strlen(payload); in prvMQTTEchoTask()
/device/soc/hisilicon/hi3861v100/sdk_liteos/boot/loaderboot/common/
Dcmd_loop.c117 hi_u16 cmd_type = *(hi_u16 *)(&cmd_ctx->packet.payload[0]); in loader_flash_protect()
140 hi_u32 download_addr = *(hi_u32 *)(&cmd_ctx->packet.payload[0]); in loader_download_image()
141 hi_u32 file_len = *(hi_u32 *)(&cmd_ctx->packet.payload[4]); /* offset 4 is file length */ in loader_download_image()
142 hi_u32 erase_size = *(hi_u32 *)(&cmd_ctx->packet.payload[8]); /* offset 8 is erase size */ in loader_download_image()
143 hi_u8 burn_efuse = cmd_ctx->packet.payload[12]; /* offset 12 is burn efuse flag */ in loader_download_image()
425 hi_u32 file_len = *(hi_u32 *)(&cmd_ctx->packet.payload[0]); in loader_burn_version()
474 hi_u32 file_len = *(hi_u32 *)(&cmd_ctx->packet.payload[0]); in loader_burn_efuse()
509 hi_u16 start_bit = *(hi_u16 *)(&cmd_ctx->packet.payload[0]); in loader_read_efuse()
510 hi_u16 size = *(hi_u16 *)(&cmd_ctx->packet.payload[2]); /* offset 2 is read size */ in loader_read_efuse()
534 hi_u32 file_len = *(hi_u32 *)(&cmd_ctx->packet.payload[0]); in loader_upload_data()
[all …]
/device/board/bearpi/bearpi_hm_nano/app/D6_iot_cloud_oc/
DREADME.md55 > int oc_mqtt_profile_msgup(char *deviceid,oc_mqtt_profile_msgup_t *payload);
62 |payload | 要上传的消息。 |
69 > int oc_mqtt_profile_propertyreport(char *deviceid,oc_mqtt_profile_service_t *payload);
76 |payload | 要上传的消息。 |
85 > int oc_mqtt_profile_gwpropertyreport(char *deviceid,oc_mqtt_profile_device_t *payload);
92 |payload | 要上传的消息。 |
99 int oc_mqtt_profile_propertysetresp(char *deviceid,oc_mqtt_profile_propertysetresp_t *payload);
105 |payload | 消息。 |
112 > int oc_mqtt_profile_propertygetresp(char *deviceid,oc_mqtt_profile_propertygetresp_t *payload);
118 |payload | 消息。 |
[all …]
/device/soc/winnermicro/wm800/board/src/bt/blehost/ext/tinycrypt/src/
Dccm_mode.c140 unsigned int alen, const uint8_t *payload, in tc_ccm_generation_encryption() argument
146 ((plen > 0) && (payload == (uint8_t *) 0)) || in tc_ccm_generation_encryption()
175 ccm_cbc_mac(tag, payload, plen, 0, c->sched); in tc_ccm_generation_encryption()
183 ccm_ctr_mode(out, plen, payload, plen, b, c->sched); in tc_ccm_generation_encryption()
198 unsigned int alen, const uint8_t *payload, in tc_ccm_decryption_verification() argument
204 ((plen > 0) && (payload == (uint8_t *) 0)) || in tc_ccm_decryption_verification()
225 ccm_ctr_mode(out, plen - c->mlen, payload, plen - c->mlen, b, c->sched); in tc_ccm_decryption_verification()
231 tag[i] = *(payload + plen - c->mlen + i) ^ b[i]; in tc_ccm_decryption_verification()
/device/board/isoftstone/yangfan/common/mqtt/mqttpacket/src/
DMQTTFormat.c69 unsigned short packetid, MQTTString topicName, unsigned char* payload, int payloadlen) in MQTTStringFormat_publish() argument
75 payloadlen, (payloadlen < 20) ? payloadlen : 20, payload); in MQTTStringFormat_publish()
140 unsigned char dup, retained, *payload; in MQTTFormat_toClientString() local
145 &payload, &payloadlen, buf, buflen) == 1) in MQTTFormat_toClientString()
147 topicName, payload, payloadlen); in MQTTFormat_toClientString()
210 unsigned char dup, retained, *payload; in MQTTFormat_toServerString() local
215 &payload, &payloadlen, buf, buflen) == 1) in MQTTFormat_toServerString()
217 topicName, payload, payloadlen); in MQTTFormat_toServerString()
/device/soc/chipsea/cst85/liteos_m/sdk/modules/lwip-2.1/dhcps/
Ddhcps.c206 struct dhcp_msg* resp = (struct dhcp_msg*)rp->payload; in newResp()
213 memcpy(rp->payload, p->payload, len); in newResp()
226 struct dhcp_msg* req = (struct dhcp_msg*)p->payload; in handleDiscover()
234 struct dhcp_msg* resp = (struct dhcp_msg*)rp->payload; in handleDiscover()
268 struct dhcp_msg* req = (struct dhcp_msg*)p->payload; in handleRequest()
276 struct dhcp_msg* resp = (struct dhcp_msg*)rp->payload; in handleRequest()
366 struct dhcp_msg* req = (struct dhcp_msg*)p->payload; in handleRelese()
375 struct dhcp_msg* req = (struct dhcp_msg*)p->payload;; in dhcpRecv()
/device/soc/rockchip/common/sdk_linux/drivers/gpu/drm/
Ddrm_mipi_dsi.c455 packet->payload = msg->tx_buf; in mipi_dsi_create_packet()
594 ssize_t mipi_dsi_generic_write(struct mipi_dsi_device *dsi, const void *payload, size_t size) in mipi_dsi_generic_write() argument
596 struct mipi_dsi_msg msg = {.channel = dsi->channel, .tx_buf = payload, .tx_len = size}; in mipi_dsi_generic_write()
941 u8 payload[4] = {start >> 8, start & 0xff, end >> 8, end & 0xff}; in mipi_dsi_dcs_set_column_address() local
944 err = mipi_dsi_dcs_write(dsi, MIPI_DCS_SET_COLUMN_ADDRESS, payload, sizeof(payload)); in mipi_dsi_dcs_set_column_address()
964 u8 payload[0x4] = {start >> 0x8, start & 0xff, end >> 0x8, end & 0xff}; in mipi_dsi_dcs_set_page_address() local
967 err = mipi_dsi_dcs_write(dsi, MIPI_DCS_SET_PAGE_ADDRESS, payload, sizeof(payload)); in mipi_dsi_dcs_set_page_address()
1049 u8 payload[0x2] = {scanline >> 0x8, scanline & 0xff}; in mipi_dsi_dcs_set_tear_scanline() local
1052 err = mipi_dsi_dcs_write(dsi, MIPI_DCS_SET_TEAR_SCANLINE, payload, sizeof(payload)); in mipi_dsi_dcs_set_tear_scanline()
1071 u8 payload[0x2] = {brightness & 0xff, brightness >> 0x8}; in mipi_dsi_dcs_set_display_brightness() local
[all …]
/device/soc/bestechnic/bes2600/liteos_m/components/drivers/display/hal/panel/
Dili9488.c195 uint8_t payload[] = {0x04}; in PanelReadId() local
196 struct DsiCmdDesc cmd = {0x06, 0, sizeof(payload), payload}; in PanelReadId()
209 uint8_t payload[] = {0x0A}; in PanelCheckStatus() local
210 struct DsiCmdDesc cmd = {0x06, 0, sizeof(payload), payload}; in PanelCheckStatus()
275 uint8_t payload[] = {0x51, level & 0xff}; in PanelSetBacklight() local
276 struct DsiCmdDesc cmd = {0x15, 0, sizeof(payload), payload}; in PanelSetBacklight()
Da064.c251 uint8_t payload[] = {0x04}; in PanelReadId() local
252 struct DsiCmdDesc cmd = {0x06, 0, sizeof(payload), payload}; in PanelReadId()
265 uint8_t payload[] = {0x0A}; in PanelCheckStatus() local
266 struct DsiCmdDesc cmd = {0x06, 0, sizeof(payload), payload}; in PanelCheckStatus()
331 uint8_t payload[] = {0x51, level & 0xff}; in PanelSetBacklight() local
332 struct DsiCmdDesc cmd = {0x15, 0, sizeof(payload), payload}; in PanelSetBacklight()
/device/soc/winnermicro/wm800/board/src/bt/blehost/nimble/host/store/config/include/store/config/
Dwm_bt_storage.h135 extern int btif_config_store_peer_sec(int idx, void *addr, uint8_t *payload, int length);
136 extern int btif_config_store_our_sec(int idx, void *addr, uint8_t *payload, int length);
137 extern int btif_config_store_cccd(int idx, void *addr, int count, void *payload, int length);
142 extern int btif_config_store_our_sec(int idx, void *addr, uint8_t *payload, int length);
/device/board/isoftstone/yangfan/common/mqtt/mqttpacket/samples/
Dqos0pub.c34 char* payload = "mypayload"; in main() local
35 int payloadlen = strlen(payload); in main()
62 …d char *)(buf + len), buflen - len, 0, 0, 0, 0, topicString, (unsigned char *)payload, payloadlen); in main()
/device/soc/esp/esp32/components/esp_lwip/port/netif/
Dwlanif.c137 ret = esp_netif_transmit_wrap(esp_netif, q->payload, q->len, q); in low_level_output()
148 ret = esp_netif_transmit_wrap(esp_netif, q->payload, q->len, q); in low_level_output()
194 memcpy(p->payload, buffer, len); in wlanif_input()
202 p->payload = buffer; in wlanif_input()
/device/board/unionman/unionpi_tiger/kernel/drivers/media/drivers/include/linux/amlogic/media/vout/lcd/
Dlcd_mipi.h41 extern int dsi_write_cmd(unsigned char *payload);
50 extern int dsi_read_single(unsigned char *payload, unsigned char *rd_data,
/device/soc/winnermicro/wm800/board/src/bt/blehost/nimble/transport/uart/src/
Dble_hci_uart.c106 uint8_t *payload; member
423 ble_hci_trans_hs_rx(item->payload, item->size); in ble_hs_event_hci_rx_func()
425 hci_dbg_hexstring("***", item->payload, item->size); in ble_hs_event_hci_rx_func()
427 tls_mem_free(item->payload); in ble_hs_event_hci_rx_func()
479 item->payload = tls_mem_alloc(len); in notify_host_recv()
480 if (item->payload == NULL) { in notify_host_recv()
486 memcpy_s(item->payload, sizeof(*item->payload), data, len); in notify_host_recv()

12345678