Retourne L'identifiant Matériel Unique Du Port Série Au Format - Yoctopuce Yocto-RS485-V2 Mode D'emploi

Table des Matières

Publicité

serialport→get_hardwareId()
serialport→hardwareId()
Retourne l'identifiant matériel unique du port série 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 du port série
(par example
RELAYLO1-123456.relay1
Retourne :
une chaîne de caractères identifiant le port série (ex:
En cas d'erreur, déclenche une exception ou retourne
www.yoctopuce.com
SERIAL.FUNCTIONID
).
RELAYLO1-123456.relay1
YSerialPort.HARDWAREID_INVALID
25. Référence de l'API de haut niveau
YSerialPort
.
)
.
351

Publicité

Table des Matières
loading

Ce manuel est également adapté pour:

Yocto-rs232

Table des Matières