Have you simply opened the sample mergBLE.livecode stack (buried in the LiveCode bundle) on a Mac, making sure that you have bluetooth enabled first?
If your robot is broadcasting its information, the mergBLE stack should at least show you something like a name, among the names of other nearby bluetooth devices. ~Roger On Mon, Apr 24, 2017 at 1:01 PM, Richmond Mathewson via use-livecode < use-livecode@lists.runrev.com> wrote: > > > On 4/24/17 3:54 pm, Ben Rubinstein via use-livecode wrote: > >> You may find this alternative documention of all the functions more >> helpful in this context: >> http://mergext.com/home/mergble/ >> >> No, I don't. > > Let us just suppose, for the moment, that I want to use a button to PAIR > my robot with my computer (not, perhaps, > strikingly original), I would imagine (as per that almost completely > unhelpful video) a button script something like this (pseudoCode): > > on mouseUp > scanForPeripheralsWithServices XXX > put XXX into fld "gubbins" > end mouseUp > > but that "alternative" thing does NOT give any information as to how one > might achieve that. > > Then I might like to do this: > > on mouseUp > send signal[lots of hex numbers] to robot > end mouseUp > > But its as clear as mud. > > Richmond. > >> >> On 23/04/2017 21:56, Richmond Mathewson via use-livecode wrote: >> >>> " All of the addons have full documentation making it a joy to use them >>> in >>> your app." >>> >>> Well I am unfortunately missing 2 things: "full" documentation (extremely >>> minimal in the LC Documentation stack), >>> and the "joy": te second as a consequence of the first. >>> >>> Richmond. >>> >>> On 4/23/17 10:59 pm, Roger Eller via use-livecode wrote: >>> >>>> Have you looked at the mergBLE commands in the LC dictionary? >>>> >>>> mergBLEConnectPeripheral pUUID >>>> >>>> Monte will likely have the answers you seek. >>>> >>>> ~Roger >>>> >>>> >>>> On Sun, Apr 23, 2017 at 6:38 AM, Richmond Mathewson via use-livecode < >>>> use-livecode@lists.runrev.com> wrote: >>>> >>>> So, here I am with Livecode 8.1.3 Indy (owing to the generosity of a >>>>> donor) which contains mergeBLE >>>>> >>>>> I also own a floor-robot (Blue-Bot), know its UUID and have >>>>> complete documentation of commands accepted by the robot. >>>>> >>>>> HOWEVER, I cannot for the life of me work out HOW one would do this >>>>> sort >>>>> of thing (pseudoCode): >>>>> >>>>> send "AA 03 81 11 04 67" to Bluebot >>>>> >>>>> so the robot would move FORWARD 1 unit. >>>>> >>>>> Richmond. >>>>> >>>>> _______________________________________________ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode