![Yoctopuce Yocto-GPS User Manual Download Page 224](http://html1.mh-extra.com/html/yoctopuce/yocto-gps/yocto-gps_user-manual_3415557224.webp)
20. High-level API Reference
YModule
module
→
set_allSettings()
module
→
setAllSettings()
Restores all the settings of the device.
js
function set_allSettings(
settings
)
nodejs
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
async 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.
218
www.yoctopuce.com
Summary of Contents for Yocto-GPS
Page 1: ...Yocto GPS User s guide...
Page 2: ......
Page 6: ...22 Characteristics 557 Blueprint 559 Index 561...
Page 10: ...4 www yoctopuce com...
Page 14: ...8 www yoctopuce com...
Page 18: ...12 www yoctopuce com...
Page 22: ...16 www yoctopuce com...
Page 38: ...32 www yoctopuce com...
Page 42: ...36 www yoctopuce com...
Page 54: ...48 www yoctopuce com...
Page 72: ...66 www yoctopuce com...
Page 92: ...86 www yoctopuce com...
Page 122: ...116 www yoctopuce com...
Page 132: ...126 www yoctopuce com...
Page 564: ...22 Characteristics 558 www yoctopuce com...
Page 565: ......
Page 566: ......