Yoctopuce Yocto-I2C Mode D'emploi page 669

Table des Matières

Publicité

dataset→get_hardwareId()
dataset→hardwareId()
Retourne l'identifiant matériel unique de la fonction qui a effectué les mesures, au format
SERIAL.FUNCTIONID
function get_hardwareId( )
js
string get_hardwareId( )
cpp
-(NSString*) hardwareId
m
string get_hardwareId( ): string
pas
function get_hardwareId( ) As String
vb
string get_hardwareId( )
cs
String get_hardwareId( )
java
async Task<string> get_hardwareId( )
uwp
get_hardwareId( )
py
function get_hardwareId( )
php
async get_hardwareId( ): Promise<string>
ts
async get_hardwareId( )
es
string get_hardwareId( )
dnp
string get_hardwareId( )
cp
L'identifiant unique est composé du numéro de série du module et de l'identifiant matériel de la fonction
(par example
THRMCPL1-123456.temperature1
Retourne :
une chaîne de caractères identifiant la fonction (ex:
En cas d'erreur, déclenche une exception ou retourne
www.yoctopuce.com
.
).
THRMCPL1-123456.temperature1
YDataSet.HARDWAREID_INVALID
25. Référence de l'API de haut niveau
YDataSet
)
.
661

Publicité

Table des Matières
loading

Table des Matières