Home
last modified time | relevance | path

Searched refs:resp (Results 1 – 24 of 24) sorted by relevance

/AliOS-Things-master/components/genie_service/core/src/
A Dgenie_bin_cmds.c40 resp[0] = 0x01; in mesh_adv_ctl()
41 resp[1] = ctl; in mesh_adv_ctl()
71 resp[0] = 0x03; in reset_prov_info()
72 resp[1] = 0x01; in reset_prov_info()
73 resp[2] = 0x01; in reset_prov_info()
82 uint8_t resp[9]; in _send_rssi_msg() local
84 resp[0] = 0x03; in _send_rssi_msg()
85 resp[1] = 0x02; in _send_rssi_msg()
89 resp[8] = rssi; in _send_rssi_msg()
100 resp[0] = 0x03; in get_device_info()
[all …]
/AliOS-Things-master/components/py_engine/engine/extmod/webrepl/
A Dwebrepl_setup.py13 resp = input(prompt)
14 if resp in choices:
15 return resp
80 resp = input("> ").upper()
82 if resp == "E":
96 if resp not in ("D", "E") or (resp == "D" and not status) or (resp == "E" and status):
100 change_daemon(resp == "E")
103 resp = input_choice("Would you like to reboot now? (y/n) ", ("y", "n", ""))
104 if resp == "y":
/AliOS-Things-master/components/lwip/lwip2.0.0/apps/netbiosns/
A Dnetbiosns.c276 struct netbios_resp *resp; in netbiosns_recv() local
280 resp = (struct netbios_resp*)q->payload; in netbiosns_recv()
283 resp->resp_hdr.trans_id = netbios_hdr->trans_id; in netbiosns_recv()
288 resp->resp_hdr.questions = 0; in netbiosns_recv()
289 resp->resp_hdr.answerRRs = PP_HTONS(1); in netbiosns_recv()
290 resp->resp_hdr.authorityRRs = 0; in netbiosns_recv()
291 resp->resp_hdr.additionalRRs = 0; in netbiosns_recv()
295 resp->resp_name.nametype = netbios_name_hdr->nametype; in netbiosns_recv()
296 resp->resp_name.type = netbios_name_hdr->type; in netbiosns_recv()
297 resp->resp_name.cls = netbios_name_hdr->cls; in netbiosns_recv()
[all …]
/AliOS-Things-master/components/amp/engine/quickjs_engine/addons/network/http/
A Dmodule_http.c577 JSValue args = JS_NewInt32(ctx, resp->error); in http_recv_and_save_notify()
584 JS_FreeValue(ctx, resp->js_cb_ref); in http_recv_and_save_notify()
586 amp_free(resp); in http_recv_and_save_notify()
596 resp->error = 0; in task_http_download_loop()
602 resp->error = ret; in task_http_download_loop()
620 amp_task_schedule_call(http_recv_and_save_notify, resp); in task_http_download_loop()
627 http_download_resp_t *resp; in native_http_download_start() local
631 resp = amp_malloc(sizeof(http_download_resp_t)); in native_http_download_start()
632 if (!resp) { in native_http_download_start()
640 resp->js_cb_ref = JS_DupValue(ctx, val); in native_http_download_start()
[all …]
/AliOS-Things-master/components/linkkit/iot_coap/client/
A DCloud_CoAPMessage.c49 Cloud_CoAPRespMsgHandler resp) in Cloud_CoAPMessageHandler_set() argument
54 message->resp = resp; in Cloud_CoAPMessageHandler_set()
68 node->resp = message->resp; in Cloud_CoAPMessageList_add()
195 if (NULL != node->resp) { in Cloud_CoAPRespMessage_handle()
196 node->resp(node->user, message); in Cloud_CoAPRespMessage_handle()
A DCloud_CoAPExport.h30 Cloud_CoAPRespMsgHandler resp; member
/AliOS-Things-master/components/uservice/src/
A Duservice.c58 int uservice_call_sync(uservice_t *srv, int cmd, void *param, void *resp, size_t size) in uservice_call_sync() argument
75 if (resp != NULL && size > 0 && ret == 0) { in uservice_call_sync()
80 memcpy(resp, data, size); in uservice_call_sync()
/AliOS-Things-master/components/ble_host/bt_host/host/
A Dat.c221 if (at->resp) { in at_state_process_cmd()
222 at->resp(at, buf); in at_state_process_cmd()
223 at->resp = NULL; in at_state_process_cmd()
534 void at_register(struct at_client *at, at_resp_cb_t resp, at_finish_cb_t finish) in at_register() argument
536 at->resp = resp; in at_register()
A Dat.h97 at_resp_cb_t resp; member
103 void at_register(struct at_client *at, at_resp_cb_t resp,
A Dhfp_hf.c66 int hfp_hf_send_cmd(struct bt_hfp_hf *hf, at_resp_cb_t resp, in hfp_hf_send_cmd() argument
74 at_register(&hf->at, resp, finish); in hfp_hf_send_cmd()
/AliOS-Things-master/components/ulog/src/
A Dulog_session_file.c127 cJSON *resp = cJSON_CreateObject(); in report_up_process() local
128 if (NULL != resp) { in report_up_process()
130 cJSON_AddItemToObject(resp, "idx", cJSON_CreateNumber(idx)); in report_up_process()
132 cJSON_AddItemToObject(resp, "process", cJSON_CreateNumber(process)); in report_up_process()
134 cJSON_AddItemToObject(resp, "error", cJSON_CreateNumber(status)); in report_up_process()
136 text = cJSON_PrintUnformatted(resp); in report_up_process()
137 cJSON_Delete(resp); in report_up_process()
/AliOS-Things-master/components/py_engine/tests/net_inet/
A Dtest_tls_sites.py29 resp = s.read(4096)
/AliOS-Things-master/hardware/chip/haas1000/drivers/platform/hal/
A Dhal_sdio.h21 #define SDIO_R5_DATA(resp) ((resp)[0] & 0xff) argument
A Dhal_trace.h389 extern int auto_test_send(char *resp);
/AliOS-Things-master/components/py_engine/adapter/haas/
A Dmodsocket.c212 static int _socket_getaddrinfo2(const mp_obj_t host, const mp_obj_t portx, struct addrinfo **resp) in _socket_getaddrinfo2() argument
235 int res = _socket_getaddrinfo3(host_str, port_str, &hints, resp); in _socket_getaddrinfo2()
246 …if (*resp == NULL || (strcmp(resp[0]->ai_canonname, "0.0.0.0") == 0 && strcmp(host_str, "0.0.0.0")… in _socket_getaddrinfo2()
253 STATIC void _socket_getaddrinfo(const mp_obj_t addrtuple, struct addrinfo **resp) in _socket_getaddrinfo() argument
257 _socket_getaddrinfo2(elem[0], elem[1], resp); in _socket_getaddrinfo()
/AliOS-Things-master/components/py_engine/adapter/haas510/
A Dmodsocket.c220 struct addrinfo **resp) in _socket_getaddrinfo2() argument
244 int res = _socket_getaddrinfo3(host_str, port_str, &hints, resp); in _socket_getaddrinfo2()
255 if (*resp == NULL || (strcmp(resp[0]->ai_canonname, "0.0.0.0") == 0 && in _socket_getaddrinfo2()
264 struct addrinfo **resp) in _socket_getaddrinfo() argument
268 _socket_getaddrinfo2(elem[0], elem[1], resp); in _socket_getaddrinfo()
/AliOS-Things-master/components/py_engine/adapter/haas600/
A Dmodsocket.c208 static int _socket_getaddrinfo2(const mp_obj_t host, const mp_obj_t portx, struct addrinfo **resp) { in _socket_getaddrinfo2() argument
230 int res = _socket_getaddrinfo3(host_str, port_str, &hints, resp); in _socket_getaddrinfo2()
239 if (*resp == NULL || in _socket_getaddrinfo2()
240 (strcmp(resp[0]->ai_canonname, "0.0.0.0") == 0 && strcmp(host_str, "0.0.0.0") != 0)) { in _socket_getaddrinfo2()
247 STATIC void _socket_getaddrinfo(const mp_obj_t addrtuple, struct addrinfo **resp) { in _socket_getaddrinfo() argument
250 _socket_getaddrinfo2(elem[0], elem[1], resp); in _socket_getaddrinfo()
/AliOS-Things-master/components/uservice/include/uservice/
A Duservice.h160 int uservice_call_sync(uservice_t *srv, int cmd, void *param, void *resp, size_t resp_size);
/AliOS-Things-master/components/uservice/
A DREADME.md147 int uservice_call_sync(uservice_t *srv, int cmd, void *param, void *resp, size_t resp_size);
156 * resp:命令的返回值
/AliOS-Things-master/components/linkkit/iot_coap/
A Diotx_coap_internal.h216 CoAPRespMsgHandler resp; member
/AliOS-Things-master/components/py_engine/engine/extmod/
A Dmodbluetooth.h405 …(uint16_t ogf, uint16_t ocf, const uint8_t *req, size_t req_len, uint8_t *resp, size_t resp_len, u…
/AliOS-Things-master/components/py_engine/engine/extmod/nimble/
A Dmodbluetooth_nimble.c1811 …(uint16_t ogf, uint16_t ocf, const uint8_t *req, size_t req_len, uint8_t *resp, size_t resp_len, u… in mp_bluetooth_hci_cmd() argument
1812 int rc = ble_hs_hci_cmd_tx(BLE_HCI_OP(ogf, ocf), req, req_len, resp, resp_len); in mp_bluetooth_hci_cmd()
/AliOS-Things-master/components/amp/engine/quickjs_engine/quickjs/doc/
A Dquickjs.texi228 (resp. @code{test262o.conf} for the old ES5.1 tests@footnote{The old
/AliOS-Things-master/components/mbedtls/include/mbedtls/
A Dconfig.h.bak534 * It comes at the cost of additional ~8kb ROM use (resp. ~2kb if \c

Completed in 55 milliseconds