communication between two Bluetooths RN-42

Hi !

We making a project with Arduino at school.

One of the steps of this Project is: Connect two Arduino using two pieces of bluetooth RN42 (wireless connection between two bluetooths).

We used this link to do so : https://learn.sparkfun.com/tutorials/us … esmirf/all

Now, when we disconnect from the computer and connect again Arduino, we should once again make a wireless connection between these two bluetooth.

we want to do that the bluetooths will be with auto detect.

So my question is what should I do to make an automatically connection between the bluetooths ? What commands we need to add in Arduino software ?

Many thanks in advance ! :slight_smile:

http://ww1.microchip.com/downloads/en/A … cement.pdf