I figured my issue out after some searching and experimenting.Instead of \n in the command to write it needs to be \r. So line 1 changes in my code snippet command = str.encode("{0}\r".format("ver"))
self.ser.write(command)
time.sleep(0.2)
for index ...
I have a similar problem.The following code only gets blank lines, presumably readline is timing out:command = str.encode("{0}\n".format("ver"))
self.ser.write(command)
time.sleep(0.2)
for index in range(0,2):
line = self.ser.readline()
print(lin...
Hi @kvganesh ,I've modified your code in the places that I think you had errors:#define SETAASA 0x29#define STATIC_ADRESS 0x47I3C_CCCTypeDef aSET_AASA[] =
{
/*Target Addr CCC Value CCC data + defbyte pointer CCC size + defbyte Direction ...