Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of libMiMic by
NyLPC_cModRemoteMcu.h
00001 /* 00002 * NyLPC_cModRemoteMcu.h 00003 * 00004 * Created on: 2013/03/07 00005 * Author: nyatla 00006 */ 00007 00008 #ifndef NYLPC_CMODREMOTEMCU_H_ 00009 #define NYLPC_CMODREMOTEMCU_H_ 00010 00011 #include "NyLPC_http.h" 00012 #include "../NyLPC_cHttpdConnection.h" 00013 #include "NyLPC_cModRomFiles.h" 00014 #ifdef __cplusplus 00015 extern "C" { 00016 #endif /* __cplusplus */ 00017 00018 /** 00019 * URLが最大31文字までの、短いHttpリクエストを処理します。 00020 * このクラスは、NyLPC_TBasicHttpHeader_tにキャストできます。 00021 * 00022 * JSONAPIとして、以下のAPIを提供します。 00023 * ./mvm.api?o=[json|xml]&v=1&bc=[:MIMICBC:] 00024 * MiMicBCを実行します。 00025 * oパラメータ省略時はjsonと解釈します。 00026 */ 00027 typedef struct NyLPC_TcModRemoteMcu NyLPC_TcModRemoteMcu_t; 00028 00029 00030 struct NyLPC_TcModRemoteMcu 00031 { 00032 NyLPC_TcModRomFiles_t super; 00033 }; 00034 00035 /** 00036 * コンストラクタ。 00037 */ 00038 void NyLPC_cModRemoteMcu_initialize(NyLPC_TcModRemoteMcu_t* i_inst,const NyLPC_TChar* i_ref_root_path); 00039 void NyLPC_cModRemoteMcu_finalize(NyLPC_TcModRemoteMcu_t* i_inst); 00040 00041 /** 00042 * モジュールがコネクションをハンドリングできるかを返します。 00043 */ 00044 NyLPC_TBool NyLPC_cModRemoteMcu_canHandle(NyLPC_TcModRemoteMcu_t* i_inst,NyLPC_TcHttpdConnection_t* i_connection); 00045 /** 00046 * モジュールを実行します。 00047 * @return 00048 * 処理に成功したか 00049 */ 00050 NyLPC_TBool NyLPC_cModRemoteMcu_execute(NyLPC_TcModRemoteMcu_t* i_inst,NyLPC_TcHttpdConnection_t* i_connection); 00051 00052 #ifdef __cplusplus 00053 } 00054 #endif /* __cplusplus */ 00055 00056 #endif /* NYLPC_CMODREMOTEMCU_H_ */
Generated on Tue Jul 12 2022 16:22:58 by
