Hello,
what about a serial library to open tty ports ? yes, normally on the Android devices we haven't this kind of ports BUT a library that can open a standard tty port can be used to connect an external device to tablet and allow the app to interact to external hardware.
Currently there is the Yoyo library that allow to communicate with a specific hardware (build with MicroChip PIC microcontroller with a real USB port).
Other library use BlueTooth communcation, but I don't have find anything to talk via serial port with an external device.
Ok, I have a device that have a FTDI chip that convert it's standard serial port into a USB port: normally I can connect it to my pc installing a FTDI driver that create a virtual serial port that I can open as a real serial port and talk to my device.
I have installed a FTDI driver to my tablet with Android 2.2 and I'm able to talk with it using the terminal, opening the virtual port ttyUSB and configuring the ttyUSB at 4800E81.
... BUT I cannot build an application with B4A to talk with my device
Question: it's very hard to derivate a ttySerialLibrary from the GPS Library (for example) that should use a special serial port to get data from internal or external GPS devices ?
I hope ....
Thanks.
Fabrizio.
what about a serial library to open tty ports ? yes, normally on the Android devices we haven't this kind of ports BUT a library that can open a standard tty port can be used to connect an external device to tablet and allow the app to interact to external hardware.
Currently there is the Yoyo library that allow to communicate with a specific hardware (build with MicroChip PIC microcontroller with a real USB port).
Other library use BlueTooth communcation, but I don't have find anything to talk via serial port with an external device.
Ok, I have a device that have a FTDI chip that convert it's standard serial port into a USB port: normally I can connect it to my pc installing a FTDI driver that create a virtual serial port that I can open as a real serial port and talk to my device.
I have installed a FTDI driver to my tablet with Android 2.2 and I'm able to talk with it using the terminal, opening the virtual port ttyUSB and configuring the ttyUSB at 4800E81.
... BUT I cannot build an application with B4A to talk with my device
Question: it's very hard to derivate a ttySerialLibrary from the GPS Library (for example) that should use a special serial port to get data from internal or external GPS devices ?
I hope ....
Thanks.
Fabrizio.