
22. High-level API Reference
www.yoctopuce.com
159
YAPI
YAPI.SetDeviceListValidity()
ySetDeviceListValidity()
Change the time between each forced enumeration of the YoctoHub used.
cpp
static void ySetDeviceListValidity( int
deviceListValidity
)
m
+(void) SetDeviceListValidity : (int)
deviceListValidity
pas
procedure ySetDeviceListValidity(
deviceListValidity
: LongInt)
vb
procedure ySetDeviceListValidity( )
cs
void SetDeviceListValidity( int
deviceListValidity
)
java
void SetDeviceListValidity( int
deviceListValidity
)
uwp
Task SetDeviceListValidity( int
deviceListValidity
)
py
def SetDeviceListValidity(
deviceListValidity
)
php
function ySetDeviceListValidity(
$deviceListValidity
)
es
function SetDeviceListValidity(
deviceListValidity
)
By default, the library performs a complete enumeration every 10 seconds. To reduce network traffic it
is possible to increase this delay. This is particularly useful when a YoctoHub is connected to a GSM
network where the traffic is charged. This setting does not affect modules connected by USB, nor the
operation of arrival/removal callbacks. Note: This function must be called after
yInitAPI
.
Parameters :
deviceListValidity
number of seconds between each enumeration.
Содержание 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...