print(bytes(npArray))
print(bytes(npArray).hex())
ser.write(b'AT+DTRX=0,2,16,00003f0101007a00r')
responce = ser.read(100)
print(responce.decode())
I am having the above snippet in Python, were it will deliver me respectively:
b’x00x00?x01x01x00zx00′
00003f0101007a00
Now my question is, how will the byte array or the hex string(they are of the same value) can be linked after the 3rd comma space in my AT (DTRX) command.
Bear in mind this is an “AT” Lorawan implementation so i assume the rules will be generic.
In my application on the other end i can receive if i simply paste the above value but it isn’t working when i paste the method itself.
Panagiotis is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.