You will send a string of numbers. Your Arduino will listen to the BT then your Arduino code will interpret that numbers as either a variable or a command.
Here is psuedocode.
The Arduino receives 0,1,150,300
The Arduino code knows the first value is to turn on/off a light (0-Off/1-On)
Second value is for the second light.
Third value is motor one RPM and fourth value is motor two rpm.
So your Arduino code turns off light one, turns on light two, adjusts PWM for motor one to run 150RPM and second motor to run 300RPM.
ok, I'm not even at the point of being able to send 'b1' or 'b2' or 'b3' or 'b4'.
Do I need some additional library, or can you point me to some code?
I've figured out how to pair it with a mac address and passkey. I'll some how merge that app into mine.
Then, I'll be able to send the commands on each button press.