|
@ -3,7 +3,7 @@ import serial |
|
|
import json |
|
|
import json |
|
|
ser = serial.Serial( |
|
|
ser = serial.Serial( |
|
|
port='/dev/rfcomm1', |
|
|
port='/dev/rfcomm1', |
|
|
baudrate = 9600, |
|
|
baudrate = 115200, |
|
|
parity=serial.PARITY_NONE, |
|
|
parity=serial.PARITY_NONE, |
|
|
stopbits=serial.STOPBITS_ONE, |
|
|
stopbits=serial.STOPBITS_ONE, |
|
|
bytesize=serial.EIGHTBITS, |
|
|
bytesize=serial.EIGHTBITS, |
|
|