Universal Plug and Play
Description
Treck UPnP Network Device
SSDP
GENA
SOAP
Treck SOAP internals
Mapping of UPnP types to native "C" types
UUIDs and UDN
Treck Device Code Generator (upnpcgen)
Usage Help
-i, --input-xml-dir command-line option
-s, --output-source-dir command-line option
-x, --output-xml-dir command-line option
-f, --option-file command-line option
-b, --boolean command-line option
-u, --unicode command-line option
Exit Codes
Generated Files
Use of Apache Software in upnpcgen
Treck SSI (Server-Side Include) Commands
!--#upnpcurl
!--#upnpeurl
!--#upnpip
!--#upnpudn
upnpcgen (Treck device code generator) Usage Scenario
Treck UPnP Run-time Usage Scenario
Limitations
Treck UPnP requires Treck web server
upnpcgen does not generate any code for UPnP control points
upnpcgen XML schema validation is mandatory, cannot be disabled
UPnP device and service description documents are static and cannot be modified at run-time
UPnP floating point types (TM_USE_FLOATING_POINT) require TM_USE_CLIB
Public API Function Reference
Treck Initialization Functions
tfInitTreckOptions
tfSetTreckOptions
UPnP API
tfSoapUserSendError
tfUpnpUserGenaExecute
tfUpnpUserGenaSendEvent
tfUpnpUserHttpdExecute
tfUpnpUserSetProductInfo
tfUpnpUserSetUdn
tfUpnpUserStart
tfUpnpUserStartAdvertise
tfUpnpUserStop
tfUpnpUserStopAdvertise
Generated by upnpcgen
cg[n]Get_[State variable name]
cg[n]Soap_[Action name]
cg[n]Success_[Action name]
Public API Macros
Acronyms