UsbSerial. SetCustomDevice (driverID As Int, vendorID As Int, productID As Int)If a device might be supported by an existing driver in this library but is not recognisedthen it can be added by this method. The driverID parameter can be one of DRIVER_PROLIFIC for a device that is compatible with the Prolific PL2303. DRIVER_SILABS for a device that is compatible with the Silicon Labs CP2102 DRIVER_CDCACM for a device that is compatible with the CDC ACM model. DRIVER_FTDI for a device that is compatible with the FTDI FT232. DRIVER_NONE can be used in the unlikely event of needing to unrecongise a device The vendorID and productID parameters are those of the device in question. B4A Question USBSerial with Freetronics Leostick - Erel (first post)    Dec 7, 2017 Tip: use Log instead of Msgbox.
UsbSerial supported devices: https://github.com/mik3y/usb-serial-for-android/wiki/Compatible-Serial-Devices
As well as:
Prolific PL2303
Silicon Labs CP210x
You can try SetCustomDevice. See the documentation: https://www.b4x.com/android/forum/pages/results/?query=usbserial.SetCustomDevice
Note that there is another usb serial library available named felUsbSerial.... B4A Library UsbSerial library 2.0 - supports more devices - agraham    Oct 18, 2022   (20 reactions) .b4x.com/android/forum/threads/usbserial-library-2-0-supports-more-devices.28176/page-11#post-259167...This is an expanded version of the original UsbSerial library. It has added support for Prolific... Spanish [SOLUCIONADO]Impresora ticket - Jorgelcr (first post)    Dec 29, 2020   (5 reactions) )) Then ' Ver_2.4 xui.MsgboxAsync(UsbSerial1.DeviceInfo(USBDevice),"DeviceInfo") ' UsbSerial1.SetCustomDevice(UsbSerial1.DRIVER_SILABS, 0xFE6, 0x811E) ' UsbSerial1.SetCustomDevice(UsbSerial1.DRIVER_SILABS, 4070, 33054) If Not...) UsbSerial1.SetParameters(USBBaudRate, UsbSerial1.DATABITS_8, UsbSerial1.STOPBITS_1, UsbSerial1.PARITY_NONE... USBConnect(USBDevice As Int, USBBaudRate As Int ) If UsbSerial1.UsbPresent(USBDevice... B4A Library [B4X] [XUI] xCustomListView - cross platform CustomListView - Erel    Dec 24, 2023   (45 reactions)   tags: CustomListView, xcutomlistbox card, xuiCLV, CUSTOMLIST, Erel, XUI Update: As several other libraries depend on xCustomListView library, it is no longer recommended... xCustomListView is an implementation of CustomListView based on XUI library. It provides all the features of the original CustomListView and it is compatible with B4A, B4J and B4i. https://www.b4x.com.../basic4android/images/SS-2017-12-27_16.20.44.png This class replaces the platform specific CustomListView... with JumpToItem (B4i). - V1.72 (B4A only) - Fixes an issue where the designer typeface is not set when... B4J Question [SOLVED] UsbSerial for B4J? - Dadaista    Nov 26, 2017 When UsbSerial lib for B4J?:oops: My life would be simpler:):) I am not able to print in ESC/POS printer from B4J :mad::mad::(:(:(:( I have tried with this but no ports availables with bluetooth OFF in my PC. With bluetooth ON, 3 COM ports appear!!.... No bluetooth, no coms port? What can I do? Thx in advance:)... B4A Library UltimateWebView Custom View - Ivica Golubovic    Jan 1, 2024   (54 reactions) into the manifest: 'Important SetApplicationAttribute(android:usesCleartextTraffic,"true"...) AddPermission(android.permission.MODIFY_AUDIO_SETTINGS) AddPermission(android.permission.MICROPHONE..." /> ) UltimateWebView is a Custom View Library and it is possible to add a View through...: Activity.LoadLayout("Main") UltimateWebView1.SetWebViewClient 'Sets WebViewClient and its Events. UltimateWebView1.SetWebChromeClient 'Sets WebChromeClient and its... B4A Tutorial [B4X] [XUI] CustomListView - lazy loading / virtualization - Erel    Nov 16, 2023   (37 reactions)   tags: customlist view card, CustomListView, Virtualiza, XCustomListView, xuiCLV, B4X xCustomListView v1.50 adds an important new event named VisibleRangeChanged. This event is fired... = xui.CreatePanel("") p.SetLayoutAnimated(0, 0, 0, CLV1.AsView.Width, 280dip....Text = cd.Title lblContent.Text = cd.Content SetColorStateList(lblAction1, xui.Color_LightGray, lblAction1.TextColor) SetColorStateList(lblAction2, xui.Color_LightGray, lblAction2.TextColor) ImageView1.SetBitmap(xui.LoadBitmapResize(File.DirAssets, cd... B4A Question xCustomListView with Four Columns of Imageviews and many Rows - Mahares    Jan 12, 2019 the list, the xCustomListView works well, but if I move from customlistview item to item in the order... bitmap file. Although scrolling is smoother in release mode on faster devices, lazy loading is still... B4A Question The UsbSerialDemo code does'nt work on my phone - Erel (first post)    Nov 5, 2015 Try to use SetCustomDevice: https://www.b4x.com/android/forum/threads/usbserial-library-2-0-supports-more-devices.28176/#post-163712... B4A Library felUsbSerial - Alternative Usb Serial library - Erel    Mar 26, 2019   (22 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 initialize felUsbSerial, configure it and start reading. Sub Process_Globals Private usbserial... usbserial.Initialize("serial", device, -1) usbserial.BaudRate = 115200... Page: 1   2   3   4   5   |