
22. High-level API Reference
224
www.yoctopuce.com
YModule
module
→
set_allSettingsAndFiles()
module
→
setAllSettingsAndFiles()
Restores all the settings and uploaded files to the module.
js
function set_allSettingsAndFiles(
settings
)
cpp
int set_allSettingsAndFiles( string
settings
)
m
-(int) setAllSettingsAndFiles : (NSData*)
settings
pas
function set_allSettingsAndFiles(
settings
: TByteArray): LongInt
vb
procedure set_allSettingsAndFiles( )
cs
int set_allSettingsAndFiles( )
java
int set_allSettingsAndFiles( byte[]
settings
)
uwp
Task<int> set_allSettingsAndFiles( )
py
def set_allSettingsAndFiles(
settings
)
php
function set_allSettingsAndFiles(
$settings
)
es
function set_allSettingsAndFiles(
settings
)
cmd
YModule
target
set_allSettingsAndFiles
settings
This method is useful to restore all the logical names and calibrations parameters, uploaded files etc. of
a device from a backup. Remember to call the
saveToFlash()
method of the module if the
modifications must be kept.
Parameters :
settings
a binary buffer with all the settings.
Returns :
YAPI_SUCCESS
when the call succeeds.
On failure, throws an exception or returns a negative error code.
Содержание 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...