22. High-level API Reference
www.yoctopuce.com
223
YModule
module
→
set_allSettings()
module
→
setAllSettings()
Restores all the settings of the device.
js
function set_allSettings(
settings
)
cpp
int set_allSettings( string
settings
)
m
-(int) setAllSettings : (NSData*)
settings
pas
function set_allSettings(
settings
: TByteArray): LongInt
vb
procedure set_allSettings( )
cs
int set_allSettings( )
java
int set_allSettings( byte[]
settings
)
uwp
Task<int> set_allSettings( )
py
def set_allSettings(
settings
)
php
function set_allSettings(
$settings
)
es
function set_allSettings(
settings
)
cmd
YModule
target
set_allSettings
settings
Useful to restore all the logical names and calibrations parameters of a module 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.
Summary of Contents for Yocto-Display
Page 1: ...Yocto Display User Manual...
Page 2: ......
Page 40: ...34 www yoctopuce com...
Page 52: ...46 www yoctopuce com...
Page 84: ...78 www yoctopuce com...
Page 92: ...86 www yoctopuce com...
Page 130: ...124 www yoctopuce com...
Page 422: ...416 www yoctopuce com...