This is Webservice SDK for mbed. LPCXpresso1769/LPC1768/FRDM-K64F/LPC4088

Dependents:   MbedFileServer_1768MiniDK2 RedWireBridge IssueDebug_gcc MiMicRemoteMCU-for-Mbed ... more

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers NyLPC_UPnP_types.h Source File

NyLPC_UPnP_types.h

00001 #ifndef NyLPC_TCUPnP_types_H
00002 #define NyLPC_TCUPnP_types_H
00003 #include "NyLPC_stdlib.h"
00004 
00005 #ifdef __cplusplus
00006 extern "C" {
00007 #endif /* __cplusplus */
00008 
00009 struct NyLPC_TUPnPDevDescIcon{
00010     const NyLPC_TChar* mimetype;
00011     NyLPC_TInt16 width;
00012     NyLPC_TInt16 height;
00013     NyLPC_TInt32 depth;
00014     const NyLPC_TChar* url;
00015 };
00016 
00017 /**
00018  * UPnP ServiceRecord
00019  */
00020 struct NyLPC_TUPnPDevDescService
00021 {
00022     /** Required*/
00023     const NyLPC_TChar* scpd_url;
00024     /** Required*/
00025     const NyLPC_TChar* service_type;
00026     /** Required*/
00027     const NyLPC_TChar* service_id;
00028 };
00029 
00030 struct NyLPC_TUPnPDevDescDevice
00031 {
00032     /** Required*/
00033     const NyLPC_TChar* device_type;
00034     /** Required*/
00035     const NyLPC_TChar* frendly_name;
00036     /** Required*/
00037     const NyLPC_TChar* manufacturer;
00038     /** Optional*/
00039     const NyLPC_TChar* manufacturer_url;
00040     /** Recommended*/
00041     const NyLPC_TChar* model_descriprion;
00042     /** Required*/
00043     const NyLPC_TChar* model_name;
00044     /** Recommended*/
00045     const NyLPC_TChar* model_number;
00046     /** Optional*/
00047     const NyLPC_TChar* model_url;
00048     /** Recommended*/
00049     const NyLPC_TChar* serial_number;
00050     /** Required*/
00051     const NyLPC_TChar* udn;
00052     /** Optional*/
00053     const NyLPC_TChar* upc;
00054     /** Recommended*/
00055     const NyLPC_TChar* presentation_url;
00056     NyLPC_TInt8 number_of_devices;
00057     NyLPC_TInt8 number_of_service;
00058     NyLPC_TInt8 number_of_icon;
00059     NyLPC_TInt8 _padding;
00060     /** Required if number_of_devices>0
00061      * UPnPデバイス構造体のポインタへの配列
00062      */
00063     const struct NyLPC_TUPnPDevDescDevice** devices;
00064     /**
00065      * Optional
00066      * UPnPサービス構造体のポインタへの配列
00067      */
00068     const struct NyLPC_TUPnPDevDescService* services;
00069     /** Required if number_of_icon>0*/
00070     const struct NyLPC_TUPnPDevDescIcon* icons;
00071 };
00072 
00073 #ifdef __cplusplus
00074 }
00075 #endif /* __cplusplus */
00076 
00077 
00078 
00079 #endif