Searched refs:cmd_id (Results 1 – 12 of 12) sorted by relevance
/AliOS-Things-master/components/amp/services/amp_boot/ |
A D | amp_boot_cmd.c | 30 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 D | amp_boot_cmd.c | 16 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 D | netmgr_service.h | 128 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 D | README.md | 18 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 D | utask.c | 30 …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 D | uservice.c | 48 …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 D | rpc.c | 26 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 D | event_svr.c | 62 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 D | internal.h | 27 uint32_t cmd_id; member
|
/AliOS-Things-master/components/uservice/include/uservice/ |
A D | uservice.h | 35 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 D | netmgr_nbiot.c | 76 switch (rpc->cmd_id) { in netmgr_nbiot_service()
|
A D | netmgr_eth.c | 60 switch (rpc->cmd_id) { in netmgr_eth_service()
|
Completed in 19 milliseconds