B4R Tutorial B4R Change Log (version history) - Erel    Sep 05, 2023   (5 reactions) The IDE is localizable. SD.Remove / Exist supported by ESP8266. v2.00 - June 21, 2017: https://www.b4x.com/android/forum/threads/b4r-v2-00-is-available-for-download.80895/ New features and improvements: Support for the latest ESP32 SDK (https://github.com/espressif/arduino-esp32/blob/master/doc/ B4R Tutorial HC 05 Classic Bluetooth - Erel    Apr 08, 2019   (10 reactions) AsyncStreamsText will cut the message here
End Sub
Sub AStream_NewData (Buffer() As Byte)
For i = 0 To Buffer.Length - 2 Step 2
Dim ledNumber As Byte = Buffer(i)
Dim value As Boolean = Buffer(i + 1) = 1
leds(ledNumber).DigitalWrite(value)
Next
End Sub Other B4R v2.00 is available for download - Erel    Jun 21, 2017   (18 reactions) New features and improvements: Support for the latest ESP32 SDK (https://github.com/espressif/arduino-esp32/blob/master/doc/windows.md) Compilation and deployments logs are printed in the IDE logs. #DefineExtra attribute - Allows to add custom define commands to the main defines file. AsyncStreams B4R Question [Solved]ESP WebServer "without" reloading page, is it possible in B4R? - hatzisn (first post)    Feb 10, 2024   (1 reaction) I have not tried that myself completely but I suppose you will use Asyncstreams.
I suppose that these are the correct steps:
Let's say that you have three pages:
http://{esp ip}
http://{esp ip}/setthedata
http://{esp ip}/getthedata
When the client sends the request you do not do anything in serv B4R Question Two Asyncstreams in ESP32 [SOLVED] - Erel (first post)    May 23, 2023   (1 reaction) You can use two asyncstreams. Make sure that the StackBufferSize is large enough. Other B4R v1.20 BETA - Support for ESP8266 Boards - Erel    Jul 07, 2016   (13 reactions) B4J code:
Sub Process_Globals
Private server As ServerSocket
Private astream As AsyncStreams
End Sub
Sub AppStart (Args() As String)
server.Initialize(51042, "server")
server.Listen
StartMessageLoop
End Sub
Sub Server_NewConnection (Successful As Boolean, NewSocket As Socket)
If B4R Question B4R to add the library - Erel (first post)    Sep 12, 2024   (1 reaction) AsyncStreams is included in rRandomAccessFile library.
Network - check rESP8266WiFi Share My Creation ESP-01 IoT - moty22    Sep 14, 2021   (8 reactions) http://moty22.co.uk/a33.php Sub Process_Globals Public serial1 As Serial Public wifi As SoftwareSerial Private astream As AsyncStreams 'Private astream1 As AsyncStreams Private tmr1 As Timer Private astream As AsyncStreams Private bc As ByteConverter Private ana, in3, B4R Tutorial AsyncStreams Prefix Mode - Erel    Feb 26, 2017   (10 reactions) rRandomAccessFile v1.80 adds support for AsyncStreams in prefix mode. All B4X development tools use AsyncStreams for network communication and now all of them support prefix mode (https://www.b4x.-tutorial.7669/#content). In prefix mode a 4 bytes header is added to each message with the message len B4R Question Example code from C to B4R - Erel (first post)    May 08, 2016   (1 reaction) If you are only writing then there is no difference. AsyncStreams takes care of checking whether there is new data and raises the NewData event when the data is available.
AsyncStreams also raises the Disconnected event if the connection breaks. However it will never happen with serial ports. Page: 1   2   3   4   5   6   7   Powered by ColBERT |