Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

AppGameKit Classic Chat / FREE Serial Plug-in released!

Author
Message
RickV
TGC Development Director
21
Years of Service
User Offline
Joined: 27th Apr 2000
Location: United Kingdom
Posted: 11th Dec 2019 15:15
Hi,

Developed in conjunction with Equinity Technoloy Limited we are pleased to announce a free serial plug-in for AppGameKit Classic and Studio. The team at Equinity Technology use it to send data between their horse data tracking device and their desktop devices. You can download it now and start using it immediately, grab your copy HERE.

The plugin can be used on Windows, Mac and Linux platforms. The commands in the plug in are:

numPorts = EnumerateSerialPorts()
String = GetSerialPortName( portID )
instanceID = OpenSerialPort( portID, baudrate, stop bits, parity )
CloseSerialPort( instanceID )
numBytes = GetSerialBytesAvailable( instanceID ) -- number of bytes that can be read without blocking
String = ReadSerialData( instanceID, numBytes ) -- Will block until the specified number of bytes are read
success = WriteSerialData( instanceID, String, length ) -- length can be -1 to use the string length
success = SendSerialFile( instanceID, filename, checksumMode ) -- uses the XMODEM protocol, checksumMode must be 0
success = ReceiveSerialFile( instanceID, filename, checksumMode ) -- uses the XMODEM protocol, checksumMode must be 0

We hope this is a useful plugin for many of our community members - enjoy!
Development Director
TGC Team
janbo
12
Years of Service
User Offline
Joined: 10th Nov 2008
Location: Germany
Posted: 11th Dec 2019 16:16 Edited at: 11th Dec 2019 16:48
Interesting, but what exactly can I do with this ?
Setup an Adruino or Raspberry to send Serial Data over USB ? and it would detect the port automatically ...need to test...

[Edit]Yup works with an arduino sending Serial stuff...great ![/Edit]
gerdich
3
Years of Service
User Offline
Joined: 16th Apr 2018
Location:
Posted: 14th Dec 2019 18:13
Very nice plugin for IOT. But I would like to develop plugins also for Android and iOS. I can't understand why that pption is missing.
Jack
16
Years of Service
User Offline
Joined: 4th Oct 2004
Location: [Germany]
Posted: 31st Dec 2019 07:27
10/10 - Would recommend xD
This plugin allows me to communicate to several devices in our company
Great work lads!

[/url]

Moderator has changed your signature - max size of all images is 600x120px this includes multiple images grouped together.
DannyD
3
Years of Service
User Offline
Joined: 29th Aug 2017
Location:
Posted: 8th Jan 2020 14:35
I've created a basic Tutorial using the Serial Plugin and Arduino

You can check it out here

https://forum.thegamecreators.com/thread/225664#msg2651933

Cheers
Danny

Toranaga
3
Years of Service
User Offline
Joined: 4th Jul 2017
Location:
Posted: 15th Jan 2020 09:27
this is the Plug-in iam looking for . thanks a lot
Rings
11
Years of Service
User Offline
Joined: 15th Sep 2009
Location:
Posted: 21st Jan 2020 12:10
Anyone tested under linux ?

i have tested under linux mint (x64) and it failed:

failed to open /dev/serial/


but my serial device is in

/dev/ttyS0

and is working (got the rights to acess, tested with gambas also )
there is no /serial directory in /dev
blink0k
Moderator
8
Years of Service
User Offline
Joined: 22nd Feb 2013
Location: the land of oz
Posted: 21st Jan 2020 21:21
Maybe you could create link between /dev/ttys0 and /dev/serial

Login to post a reply

Server time is: 2021-05-18 21:48:50
Your offset time is: 2021-05-18 21:48:50