Bluetooth

Something you want to see in a LiveCode product? Want a new forum set up for a specific topic? Talk about it here.

Moderator: Klaus

Post Reply
kodagames
Posts: 5
Joined: Wed Apr 23, 2014 3:14 am

Bluetooth

Post by kodagames » Thu Apr 24, 2014 4:30 am

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

richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 10078
Joined: Fri Feb 19, 2010 10:17 am

Re: Bluetooth

Post by richmond62 » Thu Apr 24, 2014 7:46 am

Bluetooth support with Livecode right across all the platforms would be really good.

BvG
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 1239
Joined: Sat Apr 08, 2006 1:10 pm
Contact:

Re: Bluetooth

Post by BvG » Thu Apr 24, 2014 9:14 am

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.
Various teststacks and stuff:
http://bjoernke.com

Chat with other RunRev developers:
chat.freenode.net:6666 #livecode

DarScott
Posts: 227
Joined: Fri Jul 28, 2006 12:23 am
Contact:

Re: Bluetooth

Post by DarScott » Sun Apr 27, 2014 12:14 am

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.

richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 10078
Joined: Fri Feb 19, 2010 10:17 am

Native BlueTooth support

Post by richmond62 » Wed Mar 18, 2015 9:08 pm

Livecode would be SO good for authoring front-ends for peripheral devices . . . BUT.

richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 10078
Joined: Fri Feb 19, 2010 10:17 am

Re: Bluetooth

Post by richmond62 » Wed Mar 18, 2015 9:11 pm

Obviously RunRev cannot be bothered.

FourthWorld
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 10043
Joined: Sat Apr 08, 2006 7:05 am
Contact:

Re: Bluetooth

Post by FourthWorld » Wed Mar 18, 2015 9:34 pm

Duplicate threads merged.

Richmond, have you submitted a request in the DB for this, or checked to see if it's there?
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn

richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 10078
Joined: Fri Feb 19, 2010 10:17 am

Re: Bluetooth

Post by richmond62 » Thu Mar 19, 2015 9:01 pm

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?

FourthWorld
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 10043
Joined: Sat Apr 08, 2006 7:05 am
Contact:

Re: Bluetooth

Post by FourthWorld » Thu Mar 19, 2015 10:07 pm

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. :)
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn

Post Reply