Yoctopuce YoctoHub-GSM-2G Mode D'emploi page 156

Table des Matières

Publicité

8. Référence de l'API de haut niveau
cellular→set_apnAuth()
cellular→setApnAuth()
Configure les paramètres d'identification pour se connecter à l'APN.
function set_apnAuth( username, password)
js
int set_apnAuth( string username, string password)
cpp
-(int) setApnAuth : (NSString*)
m
LongInt set_apnAuth( username: string, password: string): LongInt
pas
function set_apnAuth( ByVal
vb
int set_apnAuth( string username, string password)
cs
int set_apnAuth( String username, String password)
java
async Task<int> set_apnAuth( string username, string password)
uwp
set_apnAuth( username, password)
py
function set_apnAuth( $username, $password)
php
async set_apnAuth( username: string, password: string): Promise<number>
ts
async set_apnAuth( username, password)
es
int set_apnAuth( string username, string password)
dnp
int set_apnAuth( string username, string password)
cp
YCellular
target
cmd
Les protocoles PAP et CHAP sont tous deux supportés.
Paramètres :
username
nom d'utilisateur
password
mot de passe
Retourne :
YAPI.SUCCESS
si l'opération se déroule sans erreur.
En cas d'erreur, déclenche une exception ou retourne un code d'erreur négatif.
152
username
: (NSString*)
password
username
set_apnAuth
username password
As String, ByVal
password
YCellular
As String) As Integer
www.yoctopuce.com

Publicité

Table des Matières
loading

Table des Matières