Page 1 of 1

Bluetooth

Posted: Thu Apr 24, 2014 4:30 am
by kodagames
My feature request would be for bluetooth (for IOS or Android)

The reason I ask is because I use arduino and I need a way to create a bluetooth connection between arduino (hc-05 module) and a IOS app (created with LiveCode) to control motors, lights etc..

I'm currently using appinventor to connect android apps via bluetooh to arduino which is AMAZINGLY SIMPLE and was curious if LiveCode could do the same thing for IOS apps?

If it could do this for android as well that would be great, (because I would then only need one development platform (LiveCode)) but if not then Im at least really hoping IOS can be supported because I've got the android one solved. I haven't found much on the topic except there was a crowd-funding initiative that didn't get off the ground in 2012.

So my request is for bluetooth for IOS apps, Please bump (reply) if your interested in Bluetooth for IOS Apps.

Sincerely,
Michael

Re: Bluetooth

Posted: Thu Apr 24, 2014 7:46 am
by richmond62
Bluetooth support with Livecode right across all the platforms would be really good.

Re: Bluetooth

Posted: Thu Apr 24, 2014 9:14 am
by BvG
on desktop platforms, bluetooth can always be used via the serial port support, altho not every bluetooth implementation supports that (only most of them). Mobiles are just extremely non-standard, making lives of everyone unnecessarily hard.

Re: Bluetooth

Posted: Sun Apr 27, 2014 12:14 am
by DarScott
I'm guessing 'open driver' would need to move to iOS for this to work. Well, that's one way for it to work.

It seems a lot just for bluetooth since you can't use serial without a special interface. But, maybe there is a way to use it with other devices that have the special interface. I'm hoping there will be some cleanup in serial and maybe that will create a whirlwind that also adds Bluetooth serial to iOS.

An alternative for serial for iOS is to use a serial server on the local LAN and use WiFi networking. Is there such thing as a Bluetooth server, that is, Internet to Bluetooth? That is, use the WiFi networking capability and LiveCode sockets. Or you can just drop Bluetooth and go to WiFi. A WiFi Arduino shield might be $40 to $90. There are also nice WiFi to serial gadgets.

On my MacBook Air the LiveCode function driverNames() returns a list that includes Bluetooth-Incoming-Port but not Bluetooth-Modem. Modems should be included in the list. See bug 77. I just gave it a confirmation for Mavericks. If this function moves to iOS then it should include all Bluetooth serial devices.

Native BlueTooth support

Posted: Wed Mar 18, 2015 9:08 pm
by richmond62
Livecode would be SO good for authoring front-ends for peripheral devices . . . BUT.

Re: Bluetooth

Posted: Wed Mar 18, 2015 9:11 pm
by richmond62
Obviously RunRev cannot be bothered.

Re: Bluetooth

Posted: Wed Mar 18, 2015 9:34 pm
by FourthWorld
Duplicate threads merged.

Richmond, have you submitted a request in the DB for this, or checked to see if it's there?

Re: Bluetooth

Posted: Thu Mar 19, 2015 9:01 pm
by richmond62
BUG 1855: Nothing in 10 years

BUG 6380: Nothing in 6 years

Why is there a bug/request system if bugs/requests like this are COMPlETELY ignored?

Re: Bluetooth

Posted: Thu Mar 19, 2015 10:07 pm
by FourthWorld
Both of those are feature requests, not bugs. And both are about USB, not Bluetooth.

And both were submitted by Phil Davis, who I speak with regularly and who'd like to see them implemented but also understands that given the wide range of other requests from other users some requests will be implemented before others.

If this feature is very important to you, perhaps you might try eliciting support from the community to implement this. If it's as trivial as you seem to believe, perhaps you could knock it out over the weekend yourself - that'd certainly show them. :)