New user

matthias_livecode_150811 at m-r-d.de matthias_livecode_150811 at m-r-d.de
Wed Dec 22 11:54:44 EST 2021


What i forgot to mention:
The bluetooth device needs to support this. If you have paired the Windows PC with a device that supports a virtual com port, then you should be able to add a com port in that settings and link it to that bluetooth device.



> Am 22.12.2021 um 17:47 schrieb matthias rebbe via use-livecode <use-livecode at lists.runrev.com>:
> 
> In Windows go to Bluetooth&Devices. Select "additional Bluetooth settings" or something similar to that.  I am working with a german version of Windows, so i do not have the exact english expression of it.
> 
> In this "additional settings" click on the tab 'Com devices' . There you can add a virtual com port.
> 
> HTH
> 
> Matthias
> 
> 
>> Am 22.12.2021 um 16:59 schrieb Douglas A. Ruisaard via use-livecode <use-livecode at lists.runrev.com>:
>> 
>> I'm hopeful that General 2018 or anyone can expand on the reference to General's statement of:
>> "... Livecode has Bluetooth for Windows via VCP ..."
>> 
>> I've searched thru the forum and cannot find any references to this.  Virtual Com Port (VCP) is associated with USB and FTDI chips (or emulations) and is used for Serial communications (common in Arduino builds) but I've never heard it associated with Bluetooth.  If there is information regarding Livecode being able to use Bluetooth on a Windows platform, I'd GREATLY appreciate knowing more about it! 
>> 
>> Anyone?
>> 
>> Douglas Ruisaard
>> 
>>   Trilogy Software
>>     (250) 573-3935
>> 
>> 
>> -----Original Message-----
>> From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of General 2018 via use-livecode
>> Sent: Wednesday, December 22, 2021 3:21 AM
>> To: How to use LiveCode
>> Cc: General 2018
>> Subject: Re: New user
>> 
>> Android Bluetooth / USB would be the ideal as seems to be the most used interface protocol. Livecode has Bluetooth for Windows via VCP and on IOS via MergeBLE.
>> 
>> Just Android needed to be cross platform in real world interfacing.
>> 
>> Regards Camm
>> 
>>> On 22 Dec 2021, at 10:52, Pi Digital via use-livecode <use-livecode at lists.runrev.com> wrote:
>>> 
>>> For Android and iOS, use WiFi and sockets. This is just as quick and easy. 
>>> 
>>> Sean Cole
>>> Pi Digital Productions Ltd
>>> 
>>> eMail Ts & Cs
>>> 
>>> 
>>>> On 22 Dec 2021, at 10:24, General 2018 via use-livecode <use-livecode at lists.runrev.com> wrote:
>>>> 
>>>> Just need this capability on Android - please Livecode
>>>> 
>>>> Regards Camm
>>>> 
>>>>>> On 22 Dec 2021, at 01:37, Sean Cole via use-livecode <use-livecode at lists.runrev.com> wrote:
>>>>> 
>>>>> Hi Alex
>>>>> Welcome!
>>>>> I've done exactly and very similar to what you are describing about 6yrs
>>>>> ago from Mac, PC, Linux, iOS via USB, WiFi and GPRS serial adapters. For
>>>>> lighting up miniatures of housing estates and apartment blocks. And then
>>>>> for some film miniatures for toy commercials and so on.
>>>>> 
>>>>> Once you've installed the driver for your adapter on Win10, go to the
>>>>> Device Manager, Ports and find out what COM port it's linked to (eg, COM2).
>>>>> Now in LiveCode, you don't need to know the driver name to write to. Just
>>>>> use the command:
>>>>>    open driver "COM2:" for write
>>>>> This sets the plane for communication. Next, you need to set up the
>>>>> settings, eg:
>>>>>    set the serialControlString to "BAUD=9600 PARITY=N DATA=8 STOP=1"
>>>>> These are actually the default settings, so do nothing if these are the
>>>>> settings you want.
>>>>> Now you just need to know the commands to send.
>>>>> https://numato.com/docs/16-channel-usb-relay-module/#the-command-set-20
>>>>>    write "readall" & return to driver "COM2:"
>>>>>    read from driver "COM2:" for 4 -- ie, 4 characters
>>>>> The read command immediately after the write allows it to accept the
>>>>> response from the GPIO, in this example, for 4 characters in length (to
>>>>> receive the 4 hex characters like 16AF)
>>>>> 
>>>>> And that's it pretty much. It's super easy and fun. With Wifi modules you
>>>>> can use any device to communicate with them. We used iPad mini's which made
>>>>> it super flexible.
>>>>> 
>>>>> Let us all know if you run into any issues and need help.
>>>>> 
>>>>> All the best
>>>>> 
>>>>> Sean Cole
>>>>> *Pi Digital Productions Ltd*
>>>>> 
>>>>>> On Tue, 21 Dec 2021 at 04:33, Alex Hughson via use-livecode <
>>>>>> use-livecode at lists.runrev.com> wrote:
>>>>>> 
>>>>>> Hello all. I am a beginner user of LiveCode. I’ve managed to work my way
>>>>>> through a project which I think I can complete. However the project has to
>>>>>> be able to communicate with an I/O board (Numato 16 channel USB GPIO Module
>>>>>> for example) from a Windows Standalone application. I have not been able to
>>>>>> find any guidance or samples for how to do this. This has led me to wonder
>>>>>> if it is even possible to creat some kind of serial communication using LC
>>>>>> or whether I should start over with a different platform. I am doing the LC
>>>>>> work using a Mac. Any help or advice would be much appreciated.
>>>>>> 
>>>>>> _______________________________________________
>>>>>> use-livecode mailing list
>>>>>> use-livecode at lists.runrev.com
>>>>>> Please visit this url to subscribe, unsubscribe and manage your
>>>>>> subscription preferences:
>>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode
>>>>>> 
>>>>> _______________________________________________
>>>>> use-livecode mailing list
>>>>> use-livecode at lists.runrev.com
>>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode
>>>> _______________________________________________
>>>> use-livecode mailing list
>>>> use-livecode at lists.runrev.com
>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
>>>> http://lists.runrev.com/mailman/listinfo/use-livecode
>>> _______________________________________________
>>> use-livecode mailing list
>>> use-livecode at lists.runrev.com
>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
>>> http://lists.runrev.com/mailman/listinfo/use-livecode
>> _______________________________________________
>> use-livecode mailing list
>> use-livecode at lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
>> 
>> 
>> _______________________________________________
>> use-livecode mailing list
>> use-livecode at lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
> 
> 
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode




More information about the use-livecode mailing list