public class Connexion
extends java.lang.Object
Attributes :
Constructor and Description |
---|
Connexion()
Constructer initialize the ip to ower server ip
and initialize the string url instance to have an http url towards the server
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
init() |
boolean |
selectSSID(Context cntx,
boolean state_wifi)
Establish the reconnexion to the current wifi SSID
|
java.lang.String |
send_ap(int ip,
java.lang.String name) |
java.lang.String |
send_loc(float x,
float y) |
java.lang.String |
send_mac(Context cntx) |
public Connexion()
public java.lang.String init()
public java.lang.String send_mac(Context cntx)
public java.lang.String send_ap(int ip, java.lang.String name)
public java.lang.String send_loc(float x, float y)
public boolean selectSSID(Context cntx, boolean state_wifi)
cntx
- The application contextstate_wifi
- Wifi status connected(true) disconnected(false)