1. M

    Android Question Use Android tablet with /dev/ttyS0 serial port

    Hi everyone, I have a project to do that involves using an Android Tablet. This tablet has several ports and one of these (/dev/ttyS0) is used by a MIFARE UART card reader (called ICM523). Here on the forum I'm not able to find the correct way to interact with a hardware serial port in order...
  2. rgarnett1955

    Share My Creation Radio Frequency Channel Monitor - Logger for Tine Spectrum Analyzer (TSA)

    Hi, I've built an app that uses the tiny spectrum analyzer to monitor preset channel amplitudes and logs them to an sqLite database. Before running the program open up B4J and set the parameters for your system in the networkPars module. 'Static code module Sub Process_Globals Private...
  3. E

    B4J Question Facing Problem with Jserial...Receiving Data is not in proper format

    Working on a modbus RTU project on which i send a predefined command of few bytes and in response also few bytes are send by the MODBUS RTU (REMOTE TERMINAL UNIT).Reponse length of bytes is not uniform for each command. sometime it length is 8 bytes..sometime 13 .While receiving AStream_NewData...
  4. walterf25

    B4J Question ABMaterial Class Instantiation

    Hi all, I need some help understanding how to use a standar B4J class in an ABMaterial project, basically I have a project where I have a written a class that opens a Serial Port and starts receiving data from a device, This all works perfect so far, until I navigate to a different page, the...
  5. gaouser

    Android Question CompositeUSB

    Hi guys! Im thinking an app which I will call CompositeUSB. I finaly found my old OTG supporting android tablet (API 17 4.2.2) When I was using ESP32. I got an idea by using android tablet as tft. It will command like this ***serial begin*** #color P But I cant find any Examples to do put...
  6. MList

    iOS Question serial interface

    Hi, I am working with a device which sends data via cable. How can I do it with B4i? Whats the serial lib? B4J: Dim AStream As AsyncStreams Private com As Serial com.Initialize("com") com.Open(cmbText.SelectedItem) com.SetParams(115200,8,1,0) AStream.Initialize(com.GetInputStream...
  7. bahram1992

    Android Question Problem in Recieve Data from Bluetooth ESP32 in B4A

    Hi, im using a ESP32 Bluetooth to send a number. i use bluetooth serial in esp32 arduino to send number. I can received this number in serial bluetooth terminal app in my phone. I need just receive and show this number in android phone. Time between send number is minimum 2 seconds but its...
  8. yo3ggx

    Android Question Wait For with Astream

    Hello everybody. I have the following situation. I'm sending some data over usb serial and I have to wait for an answer from the other party (a hardware device) before sending data again. I want to use Wait For with AsyncStream, but there are situations when the other party does not answer at...
  9. M

    B4R Question softwareserial on esp32

    hi i use softwareserial for esp32 but this error show. how can i fix it. or can any one wrap library. error was too character so i attach it.
  10. T

    Android Question Serial Comm, AsyncStreams with B4A ...Chars and Numbers Problem Solved !!!! :-)

    Hello, use B4A --> to send commands to Attiny how can i send textcommands like "r" or Data like "50" as ascii char ? i tried some with byteconverter and StringtoHex.... but nothing is successfull... Have anybody idea how i can send Textcommands ?... Thousend Thanks Heinz
  11. R

    Spanish Error al imprimir por bluetooth

    Hola! Tengo una aplicación desarrollada en B4A de un sistema de autoventa con impresión de albaranes que funcionaba desde hace años, pero a raíz de instalar la versión 9.8 me ha dejado de imprimir vía bluetooth en ciertos dispositivos antiguos, en otros sigue imprimiendo bien, y en otros...
  12. yaniv hanya

    Android Question using usb with microchip controler

    Hello, I"m in the middle of project using android tablet to control a microchip, that in his turn control a machine. just sending serial command like- "openWaterPump", "closeWaterPump" ans so on. I did all my checking using ardoino, and it worked great. now we move to production level and we...
  13. walterf25

    B4J Question jBluetooth Pairing

    Hello everyone, i have written an app which searches for a certain device UID, I have a B4A app running on a device which is running Android 8.0 which basically just listens when the B4J app tries to connect, I followed @Erel 's tutorial here, My question is this, everything seems to work only...
  14. C

    Android Question Bluetooth printing aborts

    Since some months our app aborts printing via bluetooth on a DPP-250 printer in the middle of the text. I wrote a minimal app to test this (see attached zip). The jpg shows some tests: The first works, the next two abort, the next works, the last aborts. I'm using B4A 8.50 with Serial 1.26...
  15. Cainsoft

    B4R Question Send AT command to AT-09 BLE module ?

    Hi All, How can I send AT command to AT-09 (HM-10 clone) BLE module ? The Arduino code is : #include <SoftwareSerial.h> SoftwareSerial mySerial(2, 3); void setup() { mySerial.begin(9600); Serial.begin(9600); delay(200); mySerial.println("AT+NAMEdemoBleX"); while (mySerial.available())...
  16. M

    B4J Question Strange issue with serial port

    Hi everyone , i have a a program that connect with a scales weight, i have no problem doing the conexion, the problem is when the scale is off, but conected , the serial recognize the port but when i try to connect with it and send the comand to obtain the weight i have to posible respons: 1.-...
  17. Humberto

    B4R Question ESP32 serial comunication with bluetooth

    Can I communicate with cellphone through bluetooth with ESP32 ? It´s already implemented ? Thanks