This is Webservice SDK for mbed. LPCXpresso1769/LPC1768/FRDM-K64F/LPC4088
Dependents: MbedFileServer_1768MiniDK2 RedWireBridge IssueDebug_gcc MiMicRemoteMCU-for-Mbed ... more
NyLPC_cUPnP.h
00001 #ifndef NyLPC_TCUPnP_H 00002 #define NyLPC_TCUPnP_H 00003 #include "NyLPC_cSsdpSocket.h" 00004 #include "NyLPC_UPnP_types.h" 00005 00006 #ifdef __cplusplus 00007 extern "C" { 00008 #endif /* __cplusplus */ 00009 00010 typedef struct NyLPC_TcUPnP NyLPC_TcUPnP_t; 00011 00012 struct NyLPC_TcUPnP 00013 { 00014 /** 00015 * 階層構造のルートデバイス 00016 */ 00017 const struct NyLPC_TUPnPDevDescDevice* ref_root_device; 00018 const char* _ref_root_path; 00019 NyLPC_TcSsdpSocket_t _ssdp; 00020 }; 00021 00022 00023 00024 /** 00025 * UPnPサービスのインスタンスを構築します。 00026 * nyardinoシステムの場合はsetup関数で実行してください。 00027 * 関数はソケットコンストラクタを使用します。UIPサービスを停止中に実行してください。 00028 * @param i_inst 00029 * インスタンスのポインタ 00030 * @param i_http_port 00031 * HTTPサービスのポート番号 00032 * @param i_path 00033 * HTTPサービスのルートパス 00034 * @param i_ref_description 00035 * DeviceDescription構造体のポインタ 00036 */ 00037 void NyLPC_cUPnP_initialize(NyLPC_TcUPnP_t* i_inst,NyLPC_TUInt16 i_http_port,const NyLPC_TChar* i_path,const struct NyLPC_TUPnPDevDescDevice* i_ref_description); 00038 void NyLPC_cUPnP_finalize(NyLPC_TcUPnP_t* i_inst); 00039 void NyLPC_cUPnP_start(NyLPC_TcUPnP_t* i_inst); 00040 00041 #ifdef __cplusplus 00042 } 00043 #endif /* __cplusplus */ 00044 00045 00046 #endif
Generated on Tue Jul 12 2022 15:46:16 by 1.7.2