serial

  1. 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...
  2. 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...
  3. 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...
  4. 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...
  5. 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...
  6. 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 https://github.com/plerup/espsoftwareserial/ library. error was too character so i attach it.
  7. 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
  8. 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...
  9. 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...
  10. 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...
  11. 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...
  12. 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())...
  13. 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.-...
  14. Humberto

    B4R Question ESP32 serial comunication with bluetooth

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