Arduino to Arduino Serial Communication

Hello!

What is the best way to communicate between two arduinos serially via bluetooth?

I want to be able to receive and send commands and include a handshaking process in case of errors.
For these kind of projects is it better to just create my own library or try to use an existing one?

Thanks for your help!

Start by getting the two Arduinos to communcate over wires using Serial or SoftwareSerial (you have not said what Arduino boards you have).

When you have the wired communication working it will be easy to replace the wires with the Bluetooth modules.

You can use one of the examples in serial input basics to receive the data. Sending is as simple as

mySerial.println("<hello world>");

assuming you are using SoftwareSerial

…R