Home
last modified time | relevance | path

Searched refs:cmd_id (Results 1 – 12 of 12) sorted by relevance

/AliOS-Things-master/components/amp/services/amp_boot/
A Damp_boot_cmd.c30 int32_t cmd_id = 0; in amp_boot_get_cmd() local
38 for (cmd_id = 0; cmd_id < AMP_BOOT_CMD_MAX; cmd_id++) { in amp_boot_get_cmd()
39 if(recv_len != strlen(g_amp_boot_cmd[cmd_id].cmd_str)) { in amp_boot_get_cmd()
42 if (strncmp(cmd_buff, g_amp_boot_cmd[cmd_id].cmd_str, recv_len) == 0) { in amp_boot_get_cmd()
43 return cmd_id; in amp_boot_get_cmd()
/AliOS-Things-master/components/py_engine/external/amp_boot/
A Damp_boot_cmd.c16 int32_t cmd_id = 0; in pyamp_boot_get_cmd() local
24 for (cmd_id = 0; cmd_id < AMP_BOOT_CMD_MAX; cmd_id++) { in pyamp_boot_get_cmd()
25 if (recv_len != strlen(g_pyamp_boot_cmd[cmd_id].cmd_str)) { in pyamp_boot_get_cmd()
28 if (strncmp(cmd_buff, g_pyamp_boot_cmd[cmd_id].cmd_str, recv_len) == 0) { in pyamp_boot_get_cmd()
29 return cmd_id; in pyamp_boot_get_cmd()
/AliOS-Things-master/components/netmgr/include_inner/
A Dnetmgr_service.h128 int cmd_id; member
174 int netmgr_reg_srv_func(int cmd_id, netmgr_srv_func func);
182 int netmgr_unreg_srv_func(int cmd_id, netmgr_srv_func func);
189 void netmgr_subscribe(int cmd_id);
196 void netmgr_unsubscribe(int cmd_id);
/AliOS-Things-master/components/uservice/
A DREADME.md18 uint32_t cmd_id;
23 * cmd_id: RPC 序号
29 int rpc_init(rpc_t *rpc, int cmd_id, int timeout_ms);
32 初始化 RPC,设置 RPC 的命令号(cmd_id), 命令调用的超时时间(timeout_ms),单位毫秒
36 * cmd_id: RPC 的命令号
204 RPC 的 cmd_id 等于 event_id,通过 rpc_get_pointer 可以获取 事件的 data 参数。
214 switch (rpc->cmd_id) {
389 if (rpc->cmd_id < CMD_DATA) {
393 switch (rpc->cmd_id) {
/AliOS-Things-master/components/uservice/src/
A Dutask.c30 …GE(TAG, "uservice_name: %s, rpc_cmd: %d", task->current_rpc->srv->name, task->current_rpc->cmd_id);
53 if (node->cmd_id == rpc.cmd_id && node->srv == rpc.srv) { in utask_entry()
62 node->cmd_id = rpc.cmd_id; in utask_entry()
254 printf("\t%05d\t%05d\t%s\n", rpc->cmd_id, rpc->count, rpc->srv->name); in tasks_debug()
A Duservice.c48 …rvice %s queue full,send id:%d cur id: %d", srv->name,rpc->cmd_id, srv->task->current_rpc->cmd_id); in uservice_call()
133 if (rpcs[i].cmd_id == rpc->cmd_id) { in uservice_process()
A Drpc.c26 int rpc_init(rpc_t *rpc, int cmd_id, int timeout_ms) in rpc_init() argument
33 rpc->cmd_id = cmd_id; in rpc_init()
A Devent_svr.c62 switch (rpc->cmd_id) { in process_rpc()
156 static void event_call(struct event_param *param, int cmd_id, int sync) in event_call() argument
160 if (rpc_init(&rpc, cmd_id, sync ? AOS_WAIT_FOREVER : 0) == 0) { in event_call()
A Dinternal.h27 uint32_t cmd_id; member
/AliOS-Things-master/components/uservice/include/uservice/
A Duservice.h35 uint32_t cmd_id; member
42 int cmd_id; member
64 int rpc_init(rpc_t *rpc, int cmd_id, int timeout_ms);
/AliOS-Things-master/components/netmgr/src/
A Dnetmgr_nbiot.c76 switch (rpc->cmd_id) { in netmgr_nbiot_service()
A Dnetmgr_eth.c60 switch (rpc->cmd_id) { in netmgr_eth_service()

Completed in 19 milliseconds