I am seeking to simultaneously send the same string over serial from my computer to multiple arduino components connected to the computer via bluetooth. I am using the bluetooth mate gold from sparkfun and arduino pro minis.
The string will have instructions for each arduino in the format "{ID #1}: {Parameters} | {ID #2}: {Parameters} | ..." The Arduino will parse the string, pick out the parameters that correspond to its ID, and use those parameters in its program.
is this the best way to do things? i am seeking for the commands to be parsed (relatively) at the same time, so I am thinking that this is the most effective way to simultaneously talk to 3 different bluetooth connected devices. However, I have no clue how to do the broadcasting. Right now, each bluetooth connects to my computer via an individual COM port, and I have no how to set up a port that sends the message to all three bluetooth devices at the same time.
Thanks alot for reading this! Any help is greatly appreciated.
P.S.
Alternatively, If I could send the command from a fourth Arduino (a Mega) to the other three, that would be even better.
mate gold: SparkFun Bluetooth Mate Gold - WRL-12580 - SparkFun Electronics
arduino pro mini: https://www.sparkfun.com/products/11114