B4A Question USB GPS Dongle - agraham (first post)    Aug 24, 2024   (1 reaction) In that case it looks like usb.Open is returning usb.USB_NONE (0) which means that UsbSerial has not recognised the device. This is probably because it does not recognise at least one of the Driver, Product or Vendor Ids. It looks from your photo that it might be a CDC ACM type device so try this be B4A Library UsbSerial library 2.0 - supports more devices - agraham    Oct 25, 2024   (22 reactions) The usb-serial-for-android project and therefore also this library is licensed under the GNU Lesser General Public License v3. http://www.gnu.org/licenses/lgpl.html|http://www.gnu.org/licenses/lgpl.html
Copies of both the General Public License and Lesser General Public License are in the provide B4J Question jSerial - Erel (first post)    May 19, 2023   (1 reaction) You should Dim + Initialize usb1 and stream1 in open_port. B4A Question felUSBSerial library does not receive data - agraham (first post)    Jun 26, 2021 Very unlikely unless your serial device is an Android Accessory - which it almost certainly is not. You should be able to use UsbSerial.DeviceInfo. Just call it without calling Open and before initialising anything in felUsbSerial as DeviceInfo is effectively a stand-alone method and does not rely o Java Question USBSERIAL2 2.4 Error when opening AsynchStream - Ganiadi    Sep 03, 2020 Dear All,
I tried to read a QR Code reader device into my Orange Pi device and use the USBSERIAL2 V 2.4.
It successfully Open, but there is an error like below log,
Program i used :
Sub btnOpen_Click
If usb1.UsbPresent(1) = usb1.USB_NONE Then ' Ver_2.4
Log("Msgbox - no device")
B4A Library felUsbSerial - Alternative Usb Serial library - Erel    Mar 26, 2019   (23 reactions) This library wraps the following open source project: https://github.com/felHR85/UsbSerial (MIT license).
It is an alternative to the UsbSerial2 library.
The following devices are supported: CP210x, CDC, FTDI, PL2303 and CH34x.
Usage is simple. You find the UsbDevice with USB library and then ini Java Question Error compiling UsbSerial - Pesciolina    Feb 03, 2023 Good morning,
i am trying to compile the original UsbSerial library but i get this erro
Starting step: Compiling Java code.
javac 1.8.0_171
C:\Android\SLC\UsbSerial\src\anywheresoftware\b4a\objects\UsbSerial.java:185: error: method open in interface UsbSerialPort cannot be applied to given types; B4A Question UsbSerial V2.4 Arduino chg340 - Philsailor    Jun 07, 2018 Hi, UsbSerial V2.4 works well with original Arduino but I have an error on open(9600 , 1) with a clone Arduino (ch340g chip).
Can you help me ?
Best regards B4A Question How to read and write data from multiple UART_USB (CH340 two ports) - Diego Marcelo Croatto (first post)    May 29, 2020 I create this code for open each port with:
device_0 and device_1 as each UsbDevice
usbserial_0 and usbserial_1 as each UsbSerial
but I dont understand what is the event of each port
Private manager As UsbManager
Private device_0 As UsbDevice
Private device_1 As UsbDevice
B4A Question USBserial / Asyncstream - wroyw    Mar 10, 2017 I have another question regarding USBserial :
If usb.Open( 9600,1) = usb.USB_DEVICE Then
AStream.Initialize(usb.GetInputStream,usb.GetOutputStream,"")
AStream.Write(Array As Byte (0x0f))
after that I can see in the debug watch window the entry "Astream / ain / buff Page: 1   2   3   4   5   6   7   Powered by ColBERT |