22. High-level API Reference
www.yoctopuce.com
153
YAPI
YAPI.RegisterHubDiscoveryCallback()
yRegisterHubDiscoveryCallback()
Register a callback function, to be called each time an Network Hub send an SSDP message.
cpp
void yRegisterHubDiscoveryCallback( YHubDiscoveryCallback
hubDiscoveryCallback
)
m
+(void) RegisterHubDiscoveryCallback : (YHubDiscoveryCallback)
hubDiscoveryCallback
pas
procedure yRegisterHubDiscoveryCallback(
hubDiscoveryCallback
: YHubDiscoveryCallback)
vb
procedure yRegisterHubDiscoveryCallback( ByVal
hubDiscoveryCallback
As
YHubDiscoveryCallback)
cs
void RegisterHubDiscoveryCallback( YHubDiscoveryCallback
hubDiscoveryCallback
)
java
void RegisterHubDiscoveryCallback( HubDiscoveryCallback
hubDiscoveryCallback
)
uwp
Task RegisterHubDiscoveryCallback( HubDiscoveryHandler
hubDiscoveryCallback
)
py
def RegisterHubDiscoveryCallback(
hubDiscoveryCallback
)
The callback has two string parameter, the first one contain the serial number of the hub and the
second contain the URL of the network hub (this URL can be passed to RegisterHub). This callback will
be invoked while yUpdateDeviceList is running. You will have to call this function on a regular basis.
Parameters :
hubDiscoveryCallback
a procedure taking two string parameter, the serial
Содержание Yocto-Display
Страница 1: ...Yocto Display User Manual...
Страница 2: ......
Страница 40: ...34 www yoctopuce com...
Страница 52: ...46 www yoctopuce com...
Страница 84: ...78 www yoctopuce com...
Страница 92: ...86 www yoctopuce com...
Страница 130: ...124 www yoctopuce com...
Страница 158: ...22 High level API Reference 152 www yoctopuce com On failure throws an exception or returns a negative error code...
Страница 422: ...416 www yoctopuce com...
Страница 424: ...24 Characteristics 418 www yoctopuce com...