
21. High-level API Reference
YModule
module
→
updateFirmware()
Prepares a firmware update of the module.
js
function updateFirmware(
path
)
cpp
YFirmwareUpdate updateFirmware( string
path
)
m
-(YFirmwareUpdate*) updateFirmware : (NSString*)
path
pas
function updateFirmware(
path
: string): TYFirmwareUpdate
vb
function updateFirmware( ) As YFirmwareUpdate
cs
YFirmwareUpdate updateFirmware( string
path
)
java
YFirmwareUpdate updateFirmware( String
path
)
uwp
async Task<YFirmwareUpdate> updateFirmware( string
path
)
py
def updateFirmware(
path
)
php
function updateFirmware(
$path
)
es
function updateFirmware(
path
)
cmd
YModule
target
updateFirmware
path
This method returns a
YFirmwareUpdate
object which handles the firmware update process.
Parameters :
path
the path of the
.byn
file to use.
Returns :
a
YFirmwareUpdate
object or NULL on error.
226
www.yoctopuce.com
Summary of Contents for Yocto-RangeFinder
Page 1: ...Yocto RangeFinder User s guide...
Page 2: ......
Page 18: ...12 www yoctopuce com...
Page 26: ...20 www yoctopuce com...
Page 42: ...36 www yoctopuce com...
Page 70: ...gcc lyocto lm lpthread lusb 1 0 lstdc 10 Using Yocto RangeFinder with C 64 www yoctopuce com...
Page 90: ...84 www yoctopuce com...
Page 120: ...114 www yoctopuce com...
Page 130: ...124 www yoctopuce com...
Page 484: ...478 www yoctopuce com...
Page 488: ...482 www yoctopuce com...
Page 490: ...23 Characteristics 484 www yoctopuce com...
Page 491: ......
Page 492: ......