Making 2 boards communicate in sync with each other over Bluetooth

Take a look at the Serial Input Basics Tutorial.

It will show you how to configure, send and read a packet of data sent with start and end markers.