Arduino serial send message structure

Hello ,

How can I send a Start Communication Request?
st

Use Serial.write(val)

https://docs.arduino.cc/language-reference/en/functions/communication/Serial/

I am sending it as it is here but there may be errors

Serial.write((byte)0x81);
Serial.write((byte)0xee);
Serial.write((byte)0xf0);
Serial.write((byte)0x81);
Serial.write((byte)0xe0);

According to your chart you need to send a length (LEN) of zero

erial.write((byte)0x81);
Serial.write((byte)0xee);
Serial.write((byte)0xf0);
Serial.write((byte)0x00);
Serial.write((byte)0x81);
Serial.write((byte)0xe0);

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.