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_cUPnP.c
00001 #include "NyLPC_cUPnP.h" 00002 00003 /** 00004 * コンストラクタ 00005 * @param i_ref_root_path 00006 * UPnPサービスのルートパスを指定します。このパスはNyLPC_cModUPnPDevice等のHTTPインタフェイスで使います。 00007 */ 00008 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) 00009 { 00010 i_inst->_ref_root_path=i_path; 00011 i_inst->ref_root_device=i_ref_description; 00012 NyLPC_cSsdpSocket_initialize(&i_inst->_ssdp,i_ref_description,i_http_port,i_path); 00013 } 00014 void NyLPC_cUPnP_finalize(NyLPC_TcUPnP_t* i_inst) 00015 { 00016 NyLPC_Abort();//今は動かない 00017 NyLPC_cSsdpSocket_finalize(&i_inst->_ssdp); 00018 } 00019 /** 00020 * UPnPサービスを開始します。 00021 */ 00022 void NyLPC_cUPnP_start(NyLPC_TcUPnP_t* i_inst) 00023 { 00024 //SSDPの開始 00025 NyLPC_cSsdpSocket_start(&i_inst->_ssdp); 00026 }
Generated on Tue Jul 12 2022 16:22:59 by
