Public Member Functions | |
def | __init__ |
def | __family__ |
def | memoryBitWildcard |
def | memoryByteWildcard |
def | memoryBytes |
def | memoryWordWildcard |
def | memoryLongWildcard |
def | bitCount |
def | byteCount |
def | wordCount |
def | longCount |
def | readMemoryBit |
def | writeMemoryBit |
def | readMemoryByte |
def | writeMemoryByte |
def | readMemoryWord |
def | writeMemoryWord |
def | readMemoryLong |
def | writeMemoryLong |
def | readMemoryBytes |
def | writeMemoryBytes |
def | __readMemoryByte__ |
def | __writeMemoryByte__ |
def | __readMemoryBit__ |
def | __writeMemoryBit__ |
def | __readMemoryWord__ |
def | __writeMemoryWord__ |
def | __readMemoryLong__ |
def | __writeMemoryLong__ |
def | checkBitAddress |
def | checkBitValue |
def | checkByteAddress |
def | checkStopByteAddress |
def | checkByteValue |
def | checkWordAddress |
def | checkWordValue |
def | checkLongAddress |
def | checkLongValue |
Private Attributes | |
_byteCount | |
Definition at line 51 of file __init__.py.
def webiopi.devices.memory.Memory.__init__ | ( | self, | |
byteCount | |||
) |
Definition at line 53 of file __init__.py.
def webiopi.devices.memory.Memory.__family__ | ( | self | ) |
Definition at line 59 of file __init__.py.
References webiopi.decorators.rest.request(), and coap-client.response.
def webiopi.devices.memory.Memory.__readMemoryBit__ | ( | self, | |
address | |||
) |
Definition at line 269 of file __init__.py.
References webiopi.devices.clock.dsrtc.DS1307.__readMemoryByte__(), and webiopi.devices.memory.Memory.__readMemoryByte__().
Referenced by webiopi.devices.memory.Memory.readMemoryBit().
def webiopi.devices.memory.Memory.__readMemoryByte__ | ( | self, | |
address | |||
) |
Definition at line 261 of file __init__.py.
Referenced by webiopi.devices.memory.Memory.__readMemoryBit__(), webiopi.devices.memory.Memory.__readMemoryLong__(), webiopi.devices.memory.Memory.__readMemoryWord__(), webiopi.devices.memory.Memory.__writeMemoryBit__(), and webiopi.devices.memory.Memory.readMemoryByte().
def webiopi.devices.memory.Memory.__readMemoryLong__ | ( | self, | |
address | |||
) |
Definition at line 296 of file __init__.py.
References webiopi.devices.clock.dsrtc.DS1307.__readMemoryByte__(), and webiopi.devices.memory.Memory.__readMemoryByte__().
Referenced by webiopi.devices.memory.Memory.readMemoryLong().
def webiopi.devices.memory.Memory.__readMemoryWord__ | ( | self, | |
address | |||
) |
Definition at line 285 of file __init__.py.
References webiopi.devices.clock.dsrtc.DS1307.__readMemoryByte__(), and webiopi.devices.memory.Memory.__readMemoryByte__().
Referenced by webiopi.devices.memory.Memory.readMemoryWord().
def webiopi.devices.memory.Memory.__writeMemoryBit__ | ( | self, | |
address, | |||
value | |||
) |
Definition at line 274 of file __init__.py.
References webiopi.devices.clock.dsrtc.DS1307.__readMemoryByte__(), webiopi.devices.memory.Memory.__readMemoryByte__(), webiopi.devices.clock.dsrtc.DS1307.__writeMemoryByte__(), and webiopi.devices.memory.Memory.__writeMemoryByte__().
Referenced by webiopi.devices.memory.Memory.writeMemoryBit().
def webiopi.devices.memory.Memory.__writeMemoryByte__ | ( | self, | |
address, | |||
value | |||
) |
Definition at line 264 of file __init__.py.
Referenced by webiopi.devices.memory.Memory.__writeMemoryBit__(), webiopi.devices.memory.Memory.__writeMemoryLong__(), webiopi.devices.memory.Memory.__writeMemoryWord__(), and webiopi.devices.memory.Memory.writeMemoryByte().
def webiopi.devices.memory.Memory.__writeMemoryLong__ | ( | self, | |
address, | |||
value | |||
) |
Definition at line 303 of file __init__.py.
References webiopi.devices.clock.dsrtc.DS1307.__writeMemoryByte__(), and webiopi.devices.memory.Memory.__writeMemoryByte__().
Referenced by webiopi.devices.memory.Memory.writeMemoryLong().
def webiopi.devices.memory.Memory.__writeMemoryWord__ | ( | self, | |
address, | |||
value | |||
) |
Definition at line 290 of file __init__.py.
References webiopi.devices.clock.dsrtc.DS1307.__writeMemoryByte__(), and webiopi.devices.memory.Memory.__writeMemoryByte__().
Referenced by webiopi.devices.memory.Memory.writeMemoryWord().
def webiopi.devices.memory.Memory.bitCount | ( | self | ) |
Definition at line 147 of file __init__.py.
References webiopi.devices.memory.Memory._byteCount, webiopi.decorators.rest.request(), and coap-client.response.
def webiopi.devices.memory.Memory.byteCount | ( | self | ) |
Definition at line 152 of file __init__.py.
References webiopi.devices.memory.Memory._byteCount, webiopi.decorators.rest.request(), and coap-client.response.
Referenced by webiopi.devices.memory.Memory.checkBitAddress(), webiopi.devices.memory.Memory.checkByteAddress(), webiopi.devices.memory.Memory.checkStopByteAddress(), webiopi.devices.memory.Memory.memoryBitWildcard(), and webiopi.devices.memory.Memory.readMemoryBytes().
def webiopi.devices.memory.Memory.checkBitAddress | ( | self, | |
address | |||
) |
Definition at line 316 of file __init__.py.
References webiopi.devices.analog.mcp3424.MCP3424.byteCount, and webiopi.devices.memory.Memory.byteCount().
Referenced by webiopi.devices.memory.Memory.readMemoryBit(), and webiopi.devices.memory.Memory.writeMemoryBit().
def webiopi.devices.memory.Memory.checkBitValue | ( | self, | |
value | |||
) |
Definition at line 320 of file __init__.py.
Referenced by webiopi.devices.memory.Memory.writeMemoryBit().
def webiopi.devices.memory.Memory.checkByteAddress | ( | self, | |
address | |||
) |
Definition at line 324 of file __init__.py.
References webiopi.devices.analog.mcp3424.MCP3424.byteCount, and webiopi.devices.memory.Memory.byteCount().
Referenced by webiopi.devices.memory.Memory.readMemoryByte(), webiopi.devices.memory.Memory.readMemoryBytes(), webiopi.devices.memory.Memory.writeMemoryByte(), and webiopi.devices.memory.Memory.writeMemoryBytes().
def webiopi.devices.memory.Memory.checkByteValue | ( | self, | |
value | |||
) |
Definition at line 332 of file __init__.py.
Referenced by webiopi.devices.memory.Memory.writeMemoryByte().
def webiopi.devices.memory.Memory.checkLongAddress | ( | self, | |
address | |||
) |
Definition at line 344 of file __init__.py.
References webiopi.devices.memory.Memory.longCount().
Referenced by webiopi.devices.memory.Memory.readMemoryLong(), and webiopi.devices.memory.Memory.writeMemoryLong().
def webiopi.devices.memory.Memory.checkLongValue | ( | self, | |
value | |||
) |
Definition at line 348 of file __init__.py.
Referenced by webiopi.devices.memory.Memory.writeMemoryLong().
def webiopi.devices.memory.Memory.checkStopByteAddress | ( | self, | |
address | |||
) |
Definition at line 328 of file __init__.py.
References webiopi.devices.analog.mcp3424.MCP3424.byteCount, and webiopi.devices.memory.Memory.byteCount().
Referenced by webiopi.devices.memory.Memory.readMemoryBytes(), and webiopi.devices.memory.Memory.writeMemoryBytes().
def webiopi.devices.memory.Memory.checkWordAddress | ( | self, | |
address | |||
) |
Definition at line 336 of file __init__.py.
References webiopi.devices.memory.Memory.wordCount().
Referenced by webiopi.devices.memory.Memory.readMemoryWord(), and webiopi.devices.memory.Memory.writeMemoryWord().
def webiopi.devices.memory.Memory.checkWordValue | ( | self, | |
value | |||
) |
Definition at line 340 of file __init__.py.
Referenced by webiopi.devices.memory.Memory.writeMemoryWord().
def webiopi.devices.memory.Memory.longCount | ( | self | ) |
Definition at line 162 of file __init__.py.
References webiopi.devices.memory.Memory._byteCount, webiopi.decorators.rest.request(), and coap-client.response.
Referenced by webiopi.devices.memory.Memory.checkLongAddress(), and webiopi.devices.memory.Memory.memoryLongWildcard().
def webiopi.devices.memory.Memory.memoryBitWildcard | ( | self | ) |
Definition at line 66 of file __init__.py.
References webiopi.devices.analog.mcp3424.MCP3424.byteCount, webiopi.devices.memory.Memory.byteCount(), webiopi.devices.memory.Memory.readMemoryByte(), webiopi.decorators.rest.request(), and coap-client.response.
def webiopi.devices.memory.Memory.memoryBytes | ( | self, | |
bounds | |||
) |
Definition at line 105 of file __init__.py.
References webiopi.devices.memory.Memory.readMemoryBytes(), webiopi.decorators.rest.request(), coap-client.response, and webiopi.utils.types.toint().
def webiopi.devices.memory.Memory.memoryByteWildcard | ( | self | ) |
Definition at line 89 of file __init__.py.
References webiopi.devices.memory.Memory.readMemoryBytes(), webiopi.decorators.rest.request(), and coap-client.response.
def webiopi.devices.memory.Memory.memoryLongWildcard | ( | self | ) |
Definition at line 135 of file __init__.py.
References webiopi.devices.memory.Memory.longCount(), webiopi.devices.memory.Memory.readMemoryLong(), webiopi.decorators.rest.request(), and coap-client.response.
def webiopi.devices.memory.Memory.memoryWordWildcard | ( | self | ) |
Definition at line 122 of file __init__.py.
References webiopi.devices.memory.Memory.readMemoryWord(), webiopi.decorators.rest.request(), coap-client.response, and webiopi.devices.memory.Memory.wordCount().
def webiopi.devices.memory.Memory.readMemoryBit | ( | self, | |
address | |||
) |
Definition at line 167 of file __init__.py.
References webiopi.devices.memory.Memory.__readMemoryBit__(), webiopi.devices.memory.Memory.checkBitAddress(), webiopi.decorators.rest.request(), coap-client.response, and webiopi.utils.types.toint().
Referenced by webiopi.devices.memory.Memory.writeMemoryBit().
def webiopi.devices.memory.Memory.readMemoryByte | ( | self, | |
address | |||
) |
Definition at line 184 of file __init__.py.
References webiopi.devices.clock.dsrtc.DS1307.__readMemoryByte__(), webiopi.devices.memory.Memory.__readMemoryByte__(), webiopi.devices.memory.Memory.checkByteAddress(), webiopi.decorators.rest.request(), coap-client.response, and webiopi.utils.types.toint().
Referenced by webiopi.devices.memory.Memory.memoryBitWildcard(), webiopi.devices.memory.Memory.readMemoryBytes(), and webiopi.devices.memory.Memory.writeMemoryByte().
def webiopi.devices.memory.Memory.readMemoryBytes | ( | self, | |
start = 0 , |
|||
stop = None |
|||
) |
Definition at line 235 of file __init__.py.
References webiopi.devices.analog.mcp3424.MCP3424.byteCount, webiopi.devices.memory.Memory.byteCount(), webiopi.devices.memory.Memory.checkByteAddress(), webiopi.devices.memory.Memory.checkStopByteAddress(), and webiopi.devices.memory.Memory.readMemoryByte().
Referenced by webiopi.devices.memory.Memory.memoryBytes(), and webiopi.devices.memory.Memory.memoryByteWildcard().
def webiopi.devices.memory.Memory.readMemoryLong | ( | self, | |
address | |||
) |
Definition at line 218 of file __init__.py.
References webiopi.devices.clock.dsrtc.DS1307.__readMemoryLong__(), webiopi.devices.memory.Memory.__readMemoryLong__(), webiopi.devices.memory.Memory.checkLongAddress(), webiopi.decorators.rest.request(), coap-client.response, and webiopi.utils.types.toint().
Referenced by webiopi.devices.memory.Memory.memoryLongWildcard(), and webiopi.devices.memory.Memory.writeMemoryLong().
def webiopi.devices.memory.Memory.readMemoryWord | ( | self, | |
address | |||
) |
Definition at line 201 of file __init__.py.
References webiopi.devices.clock.dsrtc.DS1307.__readMemoryWord__(), webiopi.devices.memory.Memory.__readMemoryWord__(), webiopi.devices.memory.Memory.checkWordAddress(), webiopi.decorators.rest.request(), coap-client.response, and webiopi.utils.types.toint().
Referenced by webiopi.devices.memory.Memory.memoryWordWildcard(), and webiopi.devices.memory.Memory.writeMemoryWord().
def webiopi.devices.memory.Memory.wordCount | ( | self | ) |
Definition at line 157 of file __init__.py.
References webiopi.devices.memory.Memory._byteCount, webiopi.decorators.rest.request(), and coap-client.response.
Referenced by webiopi.devices.memory.Memory.checkWordAddress(), and webiopi.devices.memory.Memory.memoryWordWildcard().
def webiopi.devices.memory.Memory.writeMemoryBit | ( | self, | |
address, | |||
value | |||
) |
Definition at line 174 of file __init__.py.
References webiopi.devices.memory.Memory.__writeMemoryBit__(), webiopi.devices.memory.Memory.checkBitAddress(), webiopi.devices.memory.Memory.checkBitValue(), webiopi.devices.memory.Memory.readMemoryBit(), webiopi.decorators.rest.request(), coap-client.response, and webiopi.utils.types.toint().
def webiopi.devices.memory.Memory.writeMemoryByte | ( | self, | |
address, | |||
value | |||
) |
Definition at line 191 of file __init__.py.
References webiopi.devices.clock.dsrtc.DS1307.__writeMemoryByte__(), webiopi.devices.memory.Memory.__writeMemoryByte__(), webiopi.devices.memory.Memory.checkByteAddress(), webiopi.devices.memory.Memory.checkByteValue(), webiopi.devices.memory.Memory.readMemoryByte(), webiopi.decorators.rest.request(), coap-client.response, and webiopi.utils.types.toint().
Referenced by webiopi.devices.memory.Memory.writeMemoryBytes().
def webiopi.devices.memory.Memory.writeMemoryBytes | ( | self, | |
start = 0 , |
|||
byteValues = [] |
|||
) |
Definition at line 248 of file __init__.py.
References webiopi.devices.memory.Memory.checkByteAddress(), webiopi.devices.memory.Memory.checkStopByteAddress(), and webiopi.devices.memory.Memory.writeMemoryByte().
def webiopi.devices.memory.Memory.writeMemoryLong | ( | self, | |
address, | |||
value | |||
) |
Definition at line 225 of file __init__.py.
References webiopi.devices.clock.dsrtc.DS1307.__writeMemoryLong__(), webiopi.devices.memory.Memory.__writeMemoryLong__(), webiopi.devices.memory.Memory.checkLongAddress(), webiopi.devices.memory.Memory.checkLongValue(), webiopi.devices.memory.Memory.readMemoryLong(), and webiopi.utils.types.toint().
def webiopi.devices.memory.Memory.writeMemoryWord | ( | self, | |
address, | |||
value | |||
) |
Definition at line 208 of file __init__.py.
References webiopi.devices.clock.dsrtc.DS1307.__writeMemoryWord__(), webiopi.devices.memory.Memory.__writeMemoryWord__(), webiopi.devices.memory.Memory.checkWordAddress(), webiopi.devices.memory.Memory.checkWordValue(), webiopi.devices.memory.Memory.readMemoryWord(), webiopi.decorators.rest.request(), coap-client.response, and webiopi.utils.types.toint().
|
private |
Definition at line 54 of file __init__.py.
Referenced by webiopi.devices.memory.Memory.bitCount(), webiopi.devices.memory.Memory.byteCount(), webiopi.devices.memory.Memory.longCount(), and webiopi.devices.memory.Memory.wordCount().