Yet Another WebIOPi+
 All Classes Namespaces Files Functions Variables Macros Pages
Functions | Variables
webiopi.utils.types Namespace Reference

Functions

def jsonDumps
 
def str2bool
 
def toint
 
def signInteger
 

Variables

string M_PLAIN = "text/plain"
 
string M_JSON = "application/json"
 

Function Documentation

def webiopi.utils.types.jsonDumps (   obj)

Definition at line 7 of file types.py.

def webiopi.utils.types.signInteger (   value,
  bitcount 
)
def webiopi.utils.types.str2bool (   value)

Definition at line 13 of file types.py.

Referenced by webiopi.protocols.http.HTTPHandler.processRequest().

def webiopi.utils.types.toint (   value)

Definition at line 16 of file types.py.

Referenced by webiopi.devices.sensor.bme280.BME280.__init__(), webiopi.devices.analog.mcp48XX.MCP48XX.__init__(), webiopi.devices.analog.mcp492X.MCP492X.__init__(), webiopi.devices.sensor.tmpXXX.TMP102.__init__(), webiopi.devices.analog.mcp3x0x.MCP3X0X.__init__(), webiopi.devices.analog.mcp4725.MCP4725.__init__(), webiopi.devices.analog.pcf8591.PCF8591.__init__(), webiopi.devices.digital.pcf8574.PCF8574.__init__(), webiopi.devices.sensor.hytXXX.HYT221.__init__(), webiopi.devices.analog.pca9685.PCA9685.__init__(), webiopi.devices.analog.ads1x1x.ADS1X1X.__init__(), webiopi.devices.sensor.mcptmp.MCP9808.__init__(), webiopi.devices.sensor.tmpXXX.TMP75.__init__(), webiopi.devices.sensor.tslXXXX.TSL_LIGHT_X.__init__(), webiopi.devices.sensor.vcnl4000.VCNL4000.__init__(), webiopi.devices.analog.advrspi.__init__(), webiopi.devices.analog.advrspidc.__init__(), webiopi.devices.memory.at24.__init__(), webiopi.devices.memory.filememory.__init__(), webiopi.devices.clock.dsrtc.__init__(), webiopi.devices.digital.pca9555.__init__(), webiopi.devices.analog.advri2c.__init__(), webiopi.devices.sensor.tslXXXX.TSL2561X.__init__(), webiopi.devices.clock.mcprtc.__init__(), webiopi.devices.digital.mcp23XXX.MCP230XX.__init__(), webiopi.devices.digital.mcp23XXX.MCP23SXX.__init__(), webiopi.devices.memory.Memory.memoryBytes(), webiopi.devices.memory.Memory.readMemoryBit(), webiopi.devices.memory.Memory.readMemoryByte(), webiopi.devices.memory.Memory.readMemoryLong(), webiopi.devices.memory.Memory.readMemoryWord(), webiopi.devices.clock.Clock.String2DateValues(), webiopi.devices.clock.Clock.String2TimeValues(), webiopi.devices.memory.Memory.writeMemoryBit(), webiopi.devices.memory.Memory.writeMemoryByte(), webiopi.devices.memory.Memory.writeMemoryLong(), and webiopi.devices.memory.Memory.writeMemoryWord().

Variable Documentation

string webiopi.utils.types.M_JSON = "application/json"

Definition at line 5 of file types.py.

string webiopi.utils.types.M_PLAIN = "text/plain"

Definition at line 4 of file types.py.