Retourne L'identifiant Matériel Unique De La Led Au Format - Yoctopuce Yocto-Demo Mode D'emploi

Table des Matières

Publicité

19. Référence de l'API de haut niveau
led→get_hardwareId()
led→hardwareId()
Retourne l'identifiant matériel unique de la led au format
function get_hardwareId( )
js
function get_hardwareId( )
nodejs
function get_hardwareId( )
php
string get_hardwareId( )
cpp
-(NSString*) hardwareId
m
function get_hardwareId( ) As String
vb
string get_hardwareId( )
cs
String get_hardwareId( )
java
def get_hardwareId( )
py
L'identifiant unique est composé du numéro de série du module et de l'identifiant matériel de la led (par
example
RELAYLO1-123456.relay1
Retourne :
une chaîne de caractères identifiant la led (ex:
En cas d'erreur, déclenche une exception ou retourne
198
SERIAL.FUNCTIONID
).
RELAYLO1-123456.relay1
Y_HARDWAREID_INVALID
YLed
.
)
.
www.yoctopuce.com

Publicité

Table des Matières
loading

Table des Matières