async streams

  1. A

    Android Question [Solved]Serial Async Buffersize

    Hi all, Is there a way to increase the buffer size to more than 100? or Is there a way to know the total received bytes (to know when to store it in a temp buffer)? I came across Streamtotal and Streamreceived but they give a 0 value when reading these in "astream_NewData". This is probably...
  2. R

    Android Question HC-06 Bluetooth Async Buffer

    Hello Erel I have a WIT-motion device which give Roll/Pitch/Yaw data via bluetooth HC-06. 11 bytes, start with 0X55 with second byte as data type 0x53 is RPY. Byte 11 is CRC. This is not Prefix mode so I have used a ring buffer to find the data block. This code working but seems very slow...
  3. KMatle

    B4J Tutorial [B4x] RSA example (asyncstreams)

    - Changed to B4x as the subs can be used in B4A, too - "Send File" added (new Button to send a file to the other client) This tutorial is based on Erel's Asyncstreams example: RSA basics...
  4. johnf2013

    Android Code Snippet Send structure from C++ to B4X in prefix mode

    I needed to send a structure from an STM32 running an Arduino core to an Android device using Async Streams in prefix mode over Bluetooth. This snippet should work with the 8 bitters too. Seems to work for me. Better programmers than me are sure to find holes in it so I am waiting to learn...