Bluetooth instruction?


#1

Hi every one, I want to write a program to control the mbot via an external device all code in Javascript.

I can connect my computer to the mbot but i don’t know what to send ? Is there somewhere a kind of manual for this communication. In other words, what is the bluetooth api ? What kind of hexadecimals message that i should send ?

Regards


#2

This is the source for the mbot’s firmware, search for bluetooth and around line 210 you should see what they are sending. (This is my 2 minute stab at finding where the commands are.) It looks like they just switch serial to bluetooth and send the same commands as if the mbot was plugged into usb.


#3

Thank you but it don’t correspond to my use case. In fact, I want to control the mbot via Myo and for that i will use a Node program that will send bluetooth instructions to the mBot. That’s why I need to have the precise instructions to send to MBots

But i like your idea and maybe i will try it

Regards