24. Référence de l'API de haut niveau
compass→get_hardwareId()
compass→hardwareId()
Retourne l'identifiant matériel unique de la fonction boussole au format
function get_hardwareId( )
js
string get_hardwareId( )
cpp
-(NSString*) hardwareId
m
function get_hardwareId( ) As String
vb
string get_hardwareId( )
cs
String get_hardwareId( )
java
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
boussole (par example
Retourne :
une chaîne de caractères identifiant la fonction boussole (ex:
En cas d'erreur, déclenche une exception ou retourne
636
RELAYLO1-123456.relay1
SERIAL.FUNCTIONID
).
RELAYLO1-123456.relay1
YCompass.HARDWAREID_INVALID
YCompass
.
)
.
www.yoctopuce.com