I am trying to connect an Android Phone to an Esp32 I am Thinking in use peer to peer direct Wifi.
Esp32 Idf have the ESP NOW that have functions to send and receive data. But Android, use WIFI direct API, and don't have functions to send data by use a Java Socket which need an address and handle Streams. I try to check the protocol of raw parsing data to do a C function inside of the send function of ESP NOW but I couldn't find any detail about how concretely is parsing the data. I found a socket implementation for WiFi in Idf but is not peer to peer. Both use CCMP protocol encryption. So I am asking if it is possible make a send and receive WiFI direct between Esp32 and Android, or How can I do to implement a socket in ESP32 NOW.
Programs data transfer as small, just a signal to be decode in ESP32 and using an RF decoder. and Receive some voltages and send some scheduler to store in NVS. In IC2 expander I use to have 11 ports to act over an RC decoder for different thing to start and stop like lights or gates or pumps and phone will have some buttons and an scheduler and ESP32 info from voltage sensors.
I am not have so much experience in this.
The two programs to transfer data are these:
https://github.com/DarioLobos/Battery-C ... rter-ESP32
https://github.com/DarioLobos/DC-charge ... r-ANDROID-
Both are unfinished android is just starting because I had this communication issue.
Many thanks in advance,
Direct peer to peer WIFi to connect Android Phone
-
Dario_Lobos
- Posts: 8
- Joined: Fri Jan 16, 2026 5:40 pm
Return to “General Discussion”
Jump to
- English Forum
- Explore
- News
- General Discussion
- FAQ
- Documentation
- Documentation
- Sample Code
- Discussion Forum
- ESP32-S31
- Hardware
- ESP-IDF
- ESP-BOX
- ESP-ADF
- ESP-MDF
- ESP-WHO
- ESP-SkaiNet
- ESP32 Arduino
- IDEs for ESP-IDF
- ESP-AT
- ESP IoT Solution
- ESP RainMaker
- Rust
- ESP8266
- Report Bugs
- Showcase
- Chinese Forum 中文社区
- 活动区
- 乐鑫活动专区
- 讨论区
- ESP32-S31 中文讨论版
- 喵伴 中文讨论版
- ESP-IDF 中文讨论版
- 《ESP32-C3 物联网工程开发实战》书籍讨论版
- 中文文档讨论版
- ESP-AT 中文讨论版
- ESP-BOX 中文讨论版
- ESP IoT Solution 中文讨论版
- ESP-ADF 中文讨论版
- ESP Mesh 中文讨论版
- ESP Cloud 中文讨论版
- ESP-WHO 中文讨论版
- ESP-SkaiNet 中文讨论版
- ESP 生产支持讨论版
- 硬件问题讨论
- 项目展示
Who is online
Users browsing this forum: PetalBot and 2 guests
- All times are UTC
- Top
- Delete cookies
About Us
Espressif Systems is a fabless semiconductor company providing cutting-edge low power WiFi SoCs and wireless solutions for wireless communications and Internet of Things applications. ESP8266EX and ESP32 are some of our products.
Information
Espressif ESP32 ... Available now!