Future support for Serial Coms
General.2018 at outlook.com
Thu Jul 5 19:41:10 CEST 2018
Just to add ,
LC works with Bluetooth on Windows using the Bluetooth SPP (Serial Port Profile).
Bluetooth was originally designed to replace wired serial coms.
So on LC Windows just treats it as a serial comport - wired or not !
> On 5 Jul 2018, at 16:00, General 2018 via use-livecode <use-livecode at lists.runrev.com> wrote:
> Douglas ,
> Serial over Bluetooth on all Windows with LC - Yes , but as you say it is seen as a Com port.
> I have a Bluetooth device that needs serial commands - Windows sees this as a Bluetooth device (in the loaded driver VCP should be ticked) I then pair it and use LC with the standard com port commands.
> I second all your other points and we can only hope that LC gets this for Android.
> Regards Camm
>> On 5 Jul 2018, at 15:36, Douglas Ruisaard via use-livecode <use-livecode at lists.runrev.com> wrote:
>> Cam .. you mention that you have Windows working with LC "over USB and *Bluetooth*" ...??? Really? Can you describe more details about using Bluetooth / Windows / LC? As far as I know, the ONLY implementation for Bluetooth from LC is Monte Goulding's "mergBLE" which exclusively runs on iOS. If, on the other hand, you are actually talking about using serial / USB (likely via a USB-to-serial module/adaptor like an FT232) on Windows or Mac, then LC sees these devices as simple "COM" ports and works perfectly well. But Bluetooth... NO. So, I'm VERY interested if you have a Bluetooth - LC working combination on Windows!
>> Serial/USB functionality on iOS is so complicated, it's a joke! After submitting some sort of detailed "review" of your needs to Apple, they might "sell" you a customized chip which you must integrate into your receiving device.... if your implementation meets their stringent criteria. No ... I'm NOT kidding! And then you're still on your own to find a way to integrate the necessary Xcode into LC... good luck with THAT!!
>> But, hey, I'm not bitter!
>> LC development *might* consider developing a Bluetooth library for Android if someone (like the LC community, for example) pays them to do so. I have no problem with that.... other than the price tag for a one-man-show. According to Iain Morrison from LC:
>> "... I am truly sorry to inform you that we will not be able to help on this occasion for this work. Our team are completely tied up at the moment on multiple projects and for the foreseeable future I don't think they will be working on any projects of value less than $1,000 per day. Perhaps you could get in touch with a few of the LC developers that you mentioned to see if they would be interested in crowd funding the work, if you can let me know and I will get one of the devs to have a look at a specification and price. As it stands I would probably put a guide price on it of $5k...."
>> I don't have the wherewithal to implement a KickStarter (or some other crowd-funding methodology) campaign... but I'd *sure* would be interested and contribute to one for this purpose. I see the lack of Bluetooth support as being a huge gap in LC's functionality.
>> I have offered (and do so again) for anyone from THIS community with expertise in Android and LC external code integration to consider a project involving either USB/Serial and/or BlueTooth implementation on Android. I have a full Java library from Adafruit for Android for a specific BLE module which needs integration into LC. I am, sorry-to-say, completely Java ignorant so I can't even get to first base with this, myself.
>> I'd invite the rest of this community to consider the possibility of funding the development of a Bluetooth library for Android and voice their opinions on the matter. I'd also like to hear if anyone would be willing to initiate a crowd-funding campaign for such a venture and what the level of interest is for this functionality. At approx $5,000 it would only take 50 of us contributing $100 to reach such a goal. Sounds reasonable.
>> Douglas Ruisaard
>> Trilogy Software
>> (250) 573-3935
>>> There is not currently a library available that does what you want. With
>>> LCB, you could package your own. There are a couple of packages with code
>>> that interfaces with USB deices, but I don't know enough about Android to
>>> build them in a way that works with LCB.
>>> Here are a couple:
>>> Here is an example of using the first one:
>>> On Wed, Jul 4, 2018 at 7:25 AM, General 2018 via use-livecode <
>>> use-livecode at lists.runrev.com> wrote:
>>>> Hi ,
>>>> I have seen questions raised over platform support for Serial Com ports
>>>> and cannot seem to find a conclusive answer for Android and IOS.
>>>> On Windows I use serial data over USB and Bluetooth , this all works fine
>>>> with LC.
>>>> I want to migrate to Android - so with LC is serial over USB and Bluetooth
>>>> possible ?
>>>> Many Android apps currently us this but need LC too.
>>>> The only option for IOS is WIFI connection.
>> use-livecode mailing list
>> use-livecode at lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
More information about the use-livecode