Yoctopuce Yocto-RS485-V2 Mode D'emploi page 322

Table des Matières

Publicité

25. Référence de l'API de haut niveau
module→updateFirmwareEx()
Prepare une mise à jour de firmware du module.
function updateFirmwareEx( path, force)
js
YFirmwareUpdate updateFirmwareEx( string path, bool force)
cpp
-(YFirmwareUpdate*) updateFirmwareEx : (NSString*)
m
TYFirmwareUpdate updateFirmwareEx( path: string, force: boolean): TYFirmwareUpdate
pas
function updateFirmwareEx( ByVal
vb
YFirmwareUpdate updateFirmwareEx( string path, bool force)
cs
YFirmwareUpdate updateFirmwareEx( String path, boolean force)
java
async Task<YFirmwareUpdate> updateFirmwareEx( string path, bool force)
uwp
updateFirmwareEx( path, force)
py
function updateFirmwareEx( $path, $force)
php
async updateFirmwareEx( path: string, force: boolean): Promise<YFirmwareUpdate>
ts
async updateFirmwareEx( path, force)
es
YFirmwareUpdateProxy updateFirmwareEx( string path, bool force)
dnp
YFirmwareUpdateProxy* updateFirmwareEx( string path,
cp
YModule
target
cmd
Cette méthode retourne un object
module.
Paramètres :
path
le path du fichier
force
vrai pour forceer la mise à jour même si un prérequis ne semble pas satisfait
Retourne :
YFirmwareUpdate
un object
314
path
ByVal
force
updateFirmwareEx
path force
YFirmwareUpdate
.byn
à utiliser
ou NULL en cas d'erreur
path
: (bool)
force
As String,
As Boolean) As YFirmwareUpdate
bool force)
qui est utilisé pour mettre à jour le firmware du
YModule
www.yoctopuce.com

Publicité

Table des Matières
loading

Ce manuel est également adapté pour:

Yocto-rs232

Table des Matières