Forum >Replies by dm
Replies (2)
  • You Reply: [quote="Lauren"]
    Hello,

    If you could drive both of Bluetooth module with signal dongle, I think now you just need to make a simple protocol to control two robots.

    exp:

    !AF -> robot A move forward
    !BF -> robot B move forward
    note:
    ! -> header byte
    A -> address byte
    F -> command byte

    Like the commands above , when the two robot receive all the commands from the dongle, they could figure out whether the command is valid according to the byte after the header byte.

    :)
    [/quote]

    Thanks Lauren. Actually this is exactly one of options I was thinking of. But the problem appears to be simpler. When single dongle connects to multiple Bluetooth modules, Windows (in my case) creates one virtual COM-port (really 2, in and out) per Bluetooth module. You can just work with ports, no broadcast.
  • You Reply: Current results. Use single dongle for all [DFRobot Bluetooth] chips. The same paring code for many devices seems to be ok.