richmond62 wrote: ↑Sat Feb 18, 2023 6:25 pm
AND, of course answers that mention mergBLE are not really of interest to me as I do not have:
1. A licence for current LiveCode [nor likely to with my income from LiveCode programming averaging $200 a year].
THIS looks promising, but . . .
https://forums.livecode.com/viewtopic.p ... 69#p203869
jacque wrote: ↑Sun Feb 19, 2023 12:00 am
Some years ago LC ran a survey asking what feature we'd most like to see. I said USB. If they ever ask again I'd say Bluetooth.
The HID API Library Builder Extension can only
receive input from both USB and Bluetooth Human Interface Devices (GamePads, Braille Readers, Barcode Scanners, Coin Slots, etc), devices must be a HID class compliant device to work with that library, it also can not
send data to an HID device. It is an unfinished wrapper, I was mostly interested in input (GamePads, GuitarHero Drum Pads, etc.) at the time that I wrote that, but IIRC there were some functions for sending data to an HID device but I'm not sure If I even own a device I could test that with, and even if that part was wrapped it still wouldn't help with the device in question
unless it's a HID class compliant device (a class compliant devices are ones that will often works out of the box without a installing a proprietary device driver). I can't tell from their website if it is an HID compliant device, so probably no turtle toy joy for you!
I have looked a bit at related libraries (libUSB) and APIs (Apple's IOBluetooth) that could unlock more general use capabilities for sending/receive arbitrary data with sorts of devices, but it seems like a LOT to wrap for either of those, potentially a lot of work to get to a usable state, in contrast to HID API library which was rather small and simple to wrap and is cross-platform (unlike IOBluetooth for example).
If you could find a nice open-source (GPLv3 compatible license), preferably cross-platform, and fairly small / high-level API for enumerating synced Bluetooth devices and then connecting to send/receive arbitrary data to/from them, then I would consider wrapping it up for the community (but again, I'm not sure what devices I have that I could test that with).