Public Member Functions | |
def | __init__ |
def | setCredentials |
def | sendRequest |
Public Attributes | |
host | |
coapport | |
coapclient | |
httpclient | |
forceHttp | |
coapfailure | |
maxfailure | |
auth | |
Definition at line 25 of file __init__.py.
def webiopi.clients.PiMixedClient.__init__ | ( | self, | |
host, | |||
port = 8000 , |
|||
coap = 5683 |
|||
) |
Definition at line 26 of file __init__.py.
def webiopi.clients.PiMixedClient.sendRequest | ( | self, | |
method, | |||
uri | |||
) |
Definition at line 45 of file __init__.py.
References com.trouch.webiopi.client.PiClient.auth, webiopi.clients.PiMixedClient.auth, webiopi.clients.PiMixedClient.coapclient, webiopi.clients.PiMixedClient.coapfailure, webiopi.clients.PiMixedClient.coapport, webiopi.clients.PiMixedClient.forceHttp, webiopi.clients.PiMixedClient.host, webiopi.clients.PiMixedClient.httpclient, and webiopi.clients.PiMixedClient.maxfailure.
Referenced by webiopi.clients.Macro.call(), webiopi.clients.GPIO.digitalRead(), webiopi.clients.GPIO.digitalWrite(), webiopi.clients.Temperature.getCelsius(), webiopi.clients.Distance.getCentimeter(), webiopi.clients.Temperature.getFahrenheit(), webiopi.clients.GPIO.getFunction(), webiopi.clients.Pressure.getHectoPascal(), webiopi.clients.Distance.getInch(), webiopi.clients.Temperature.getKelvin(), webiopi.clients.Luminosity.getLux(), webiopi.clients.Distance.getMillimeter(), webiopi.clients.Pressure.getPascal(), webiopi.clients.GPIO.portRead(), webiopi.clients.GPIO.portWrite(), webiopi.clients.ADC.read(), webiopi.clients.PWM.readAngle(), webiopi.clients.ADC.readFloat(), webiopi.clients.ADC.readVolt(), webiopi.clients.GPIO.setFunction(), webiopi.clients.DAC.write(), webiopi.clients.PWM.writeAngle(), webiopi.clients.DAC.writeFloat(), and webiopi.clients.DAC.writeVolt().
def webiopi.clients.PiMixedClient.setCredentials | ( | self, | |
login, | |||
password | |||
) |
Definition at line 42 of file __init__.py.
References com.trouch.webiopi.client.PiClient.auth, webiopi.clients.PiMixedClient.auth, and webiopi.utils.crypto.encodeCredentials().
webiopi.clients.PiMixedClient.auth |
Definition at line 40 of file __init__.py.
Referenced by webiopi.clients.PiMixedClient.sendRequest(), and webiopi.clients.PiMixedClient.setCredentials().
webiopi.clients.PiMixedClient.coapclient |
Definition at line 30 of file __init__.py.
Referenced by webiopi.clients.PiMixedClient.sendRequest().
webiopi.clients.PiMixedClient.coapfailure |
Definition at line 38 of file __init__.py.
Referenced by webiopi.clients.PiMixedClient.sendRequest().
webiopi.clients.PiMixedClient.coapport |
Definition at line 29 of file __init__.py.
Referenced by webiopi.clients.PiMixedClient.sendRequest().
webiopi.clients.PiMixedClient.forceHttp |
Definition at line 37 of file __init__.py.
Referenced by webiopi.clients.PiMixedClient.sendRequest().
webiopi.clients.PiMixedClient.host |
Definition at line 27 of file __init__.py.
Referenced by webiopi.protocols.http.HTTPServer.run(), webiopi.protocols.coap.COAPServer.run(), and webiopi.clients.PiMixedClient.sendRequest().
webiopi.clients.PiMixedClient.httpclient |
Definition at line 34 of file __init__.py.
Referenced by webiopi.clients.PiMixedClient.sendRequest().
webiopi.clients.PiMixedClient.maxfailure |
Definition at line 39 of file __init__.py.
Referenced by webiopi.clients.PiMixedClient.sendRequest().