Yoctopuce Yocto-Meteo Mode D'emploi page 486

Table des Matières

Publicité

21. Référence de l'API de haut niveau
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
function get_hardwareId( ): string
pas
function get_hardwareId( ) As String
vb
string get_hardwareId( )
cs
String get_hardwareId( )
java
Task<string> get_hardwareId( )
uwp
def get_hardwareId( )
py
function get_hardwareId( )
php
function get_hardwareId( )
es
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
480
.
).
THRMCPL1-123456.temperature1
Y_HARDWAREID_INVALID
YDataSet
)
.
www.yoctopuce.com

Publicité

Table des Matières
loading

Table des Matières