11. Référence de l'API de haut niveau
hubport→get_functionId()
hubport→functionId()
Retourne l'identifiant matériel du port de Yocto-hub, sans référence au module.
function get_functionId( )
js
string get_functionId( )
cpp
-(NSString*) functionId
m
function get_functionId( ) As String
vb
string get_functionId( )
cs
String get_functionId( )
java
get_functionId( )
py
function get_functionId( )
php
async get_functionId( )
es
Par example
relay1
.
Retourne :
une chaîne de caractères identifiant le port de Yocto-hub (ex:
En cas d'erreur, déclenche une exception ou retourne
56
relay1
)
Y_FUNCTIONID_INVALID
YHubPort
.
www.yoctopuce.com