ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Communication / DLNA/UPnP functions
  • Properties specific to upnpDevice variables
  • WLanguage functions that use variables of type upnpDevice
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
upnpDevice (Type of variable)
In french: upnpPériphérique
The upnpDevice type is used to define the advanced characteristics of a UPnP device. The characteristics of the uPnP device can be defined and changed using different WLanguage properties.
Remark: For more details on the declaration of this type of variable and the use of WLanguage properties, see Declaring a variable.
Example
MyDevice is upnpDevice
MyDevice = UPNPSearchDevice(CST_UPNP_UUID_SONY_BRAVIA, 51300)
IF ErrorOccurred THEN
ErrorInfo(errFullDetails)
ELSE
Add(m_arrDevice, MyDevice)
END
Remarks

Properties specific to upnpDevice variables

The following properties can be used to handle a UPnP device:
Property nameType usedEffect
IconArray of upnpImageList of different available icons.
ModelDescriptionCharacter stringDescription of device features.
ModelNameCharacter stringName of the model.
ModelNumberCharacter stringNumber of the model.
ModelURLCharacter stringURL of a Web page containing the information specific to the model.
Name Character stringName of the device.
PresentationURLCharacter stringURL of the Web page that can be used to control the device.
ProducerNameCharacter stringName of the manufacturer.
ProducerURLCharacter stringLink to the manufacturer site.
ProductCodeCharacter stringProduct code (UPC).
SerialNumberCharacter stringSerial number of the device.
ServiceArray of upnpServiceList of different available UPnP services.
TypeCharacter stringURI containing the type of device.
UniqueNameCharacter stringUnique name of device (UDN).
URLCharacter stringURL containing the XML for device description.

WLanguage functions that use variables of type upnpDevice

Minimum version required
  • Version 19
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 01/26/2023

Send a report | Local help