sketchbook
|
Functions | |
def | sniff_TUT214 |
def | sniff_115200 |
Variables | |
list | RESET = ['\xF0', '\xE0', '\x90', ] |
list | RESET115200 = ['\x00\x00', ] |
dictionary | commands |
tuple | ser = serial.Serial('/dev/ttyACM0') |
def Uno_OWSniffer.sniff_115200 | ( | ) |
Sniffer always @115200. Not according to official Standards/Specs but possible to implement RESET and PRESENCE, READ and WRITE: 115200 Baud, 8 bits, no parity, 1 stop (no switching of baud rates needed, thus we can control the possition in the input buffer and it's not lossy)
def Uno_OWSniffer.sniff_TUT214 | ( | ) |
Sniffer according to official Standards/Specs. TUTORIAL 214: Using a UART to Implement a 1-Wire Bus Master RESET and PRESENCE: 9600 Baud, 8 bits, no parity, 1 stop READ and WRITE: 115200 Baud, 8 bits, no parity, 1 stop (fast switching of baud rates is possible, but we cannot control the possition in the input buffer, thus it's lossy)
dictionary Uno_OWSniffer.commands |
list Uno_OWSniffer.RESET = ['\xF0', '\xE0', '\x90', ] |
list Uno_OWSniffer.RESET115200 = ['\x00\x00', ] |
tuple Uno_OWSniffer.ser = serial.Serial('/dev/ttyACM0') |