B4R Tutorial ESP8266 - Getting Started - Erel    Feb 4, 2020   (13 reactions) B4R v1.20 added support for ESP8266 modules. ESP8266 is a great module for IoT solutions. For a few... - Preferences and add the following URL: http://arduino.esp8266.com/stable/package_esp8266com_index.json... - Board - Boards Manager. Search for esp and install esp8266 by ESP8266 community. Open the boards.../basic4android/images/SS-2016-06-23_12.16.05.png B4R includes two ESP8266 specific libraries: rESP8266WiFi.... WiFiServerSocket - Equivalent to EthernetServerSocket. WiFiUDP - Equivalent to EthernetUDP rESP8266 ESP8266... B4R Tutorial ESP8266 - WiFi Remote Configuration - Erel    Jul 9, 2017   (15 reactions) the ESP8266 WiFi settings (SSID and password). When the program starts it does several things: 1. Creates an access point named 'esp'. 2. Creates a WiFiServerSocket that listens on port 80. 3...Edit: A simpler and more powerful tool is available: https://www.b4x.com/android/forum/threads/esp...). The ip address of the device in the esp network is known. It is 192.168.4.1. This means that we can connect to the esp network and then access the board with this ip address from any browser... Other rESP8266WiFi library for ESP8266 v2.50 and ESP32 v1.02 - Erel    Sep 10, 2019   (8 reactions) This update is no longer relevant. Use the library that is included with the latest version of B4R. rESP8266WiFi v1.40 is attached. It depends on the latest versions of ESP8266 and ESP32 SDKs. The previous version (1.33) depends on ESP8266 v2.4.0 and ESP32 v1.0.0. You can update the SDKs with Arduino IDE - Tools - Board - Boards Manager. Copy it to the internal libraries folder.... Other B4R v1.20 BETA - Support for ESP8266 Boards - Erel    Jul 7, 2016   (13 reactions) This version adds support for ESP8266 boards. The ESP8266 is a very interesting chip. For a few.... This makes it a great component for IoT solutions. Working with ESP8266 can be a bit more challenging...://arduino.esp8266.com/stable/package_esp8266com_index.json https://www.b4x.com/basic4android/images/SS-2016-06-22_17.33.54.png 2. Tools - Board - Boards Manager. Search for esp and install esp8266 by ESP8266 community. Open the boards selector in B4R and select the serial port and the board type (select... B4R Tutorial ESP8266 + UDP + BMP180 = Simple weather station - Erel    Aug 22, 2016   (12 reactions)   tags: B4R This is an example of how UDP can be used to broadcast the current temperature and pressure to one or more clients. The nice thing about it is that there is no server involved. The ESP8266 just sends the packets to the broadcast address. https://www.b4x.com/basic4android/images/SS-2016-08-22_11.20.22.jpg RandomAccessFile is used to create the packets. B4R doubles are 4 bytes (equivalent to B4X floats). It is tempting to send the data as a string. However it is more efficient and actually... B4R Tutorial Connecting two ESP8266 boards - Erel    Feb 19, 2018   (6 reactions) wifi As ESP8266WiFi Private server As WiFiServerSocket Private astream As AsyncStreams End... Private wifi As ESP8266WiFi Private socket As WiFiSocket Private astream As AsyncStreams End....StartAccessPoint("esp_server")) Log(wifi.AccessPointIp) RunNative("SetAP", Null...("SetSTA", Null) Log(wifi.Connect("esp_server")) Log(wifi.LocalIp) Connect... B4R Tutorial Downloading a Web page with ESP8266 - Erel    Dec 21, 2017   (8 reactions) Edit: use rHttpUtils2 instead: https://www.b4x.com/android/forum/threads/module-rhttputils2-http-client.74785/#content As a general rule, I recommend to use Raspberry Pi with B4J to interact with web servers or http clients. It is much more powerful and simpler to develop. The Arduino and ESP8266... As ESP8266WiFi Private astream As AsyncStreams Private socket As WiFiSocket End Sub Private Sub.... This code depends on the following libraries: rESP8266, rESP8266WiFi and rRandomAccessFile.... B4R Question ESP8266 - WiFi Remote Configuration -> Astream_NewData(Buffer () as byte) Fires multiple times - Cableguy    Jan 16, 2024 Hi guys, I confess, Web communication is like Chinese to me. This said, I re-started fiddling with my ESP32 Dev Module, and am in the mist of changing the Responses within the above mentioned sub. While sending very basic responses to the browser (using Astream.write) works fine, I was having trouble when adding something as simple as a checkbox in the <body> part. What I am trying to do is to return a much more complex html response, with components such as input text fields and others... B4R Question Compiling time ESP8266 - peacemaker    Aug 21, 2021 Hi, All How is compiling time recently in 2021 in B4R ? I have found that now my projects are compiled recently very long - 3+ minutes - it's...... terrible to wait. B4R v.3.90 Arduino v.1.8.15 ESP8266 projects using just several libs for EEPROM, OTA, Ping, WiFi, RAF, I2C... on Ryzen5 processor with 12 GB RAM WIn10 PC and SSD only (no any HDD, just tested 320...450 MBps sequental read speed... as usual fast. Empty ESP project is compiled during 2.5 minutes ! But why so slow compiling now... B4R Tutorial ESP8266 FTP Client - Erel    Dec 21, 2016   (10 reactions) To complete the B4X FTP season (https://www.b4x.com/android/forum/threads/74320/#content) I've written a client in B4R. It allows to connect to a FTP server and download or upload files. There is no SD card involved in this example. It downloads a file and prints its content and uploads a string (array of bytes) as the file content. The file is stored in an array of bytes (FileBuffer). Its ... Page: 1   2   3   4   5   6   7   |