Hello,
I'd like to use ESP32's wifi and BLE capabilities for a transparent uart bridge. I have a microcontroller that I'd like to interface with the outside world via the UART. I have a BLE module that's acting as a BLE-UART bridge talking to a phone app. But there are some things that I'd like to do via wifi because of the limitations of BLE, but I'd still like to maintain the current BLE implementation. Currently, JSON data is passed via BLE to my application MCU (we're using JSON for a reason), and my application MCU passes JSON response back to he BLE module to relay to the phone app.
1) BLE-UART bridge:
The BLE-UART bridge would function like the Nordic definition for a BLE-UART bridge. GATT server advertises two characteristics - a writable one for TX and a readable/notify characteristic for RX. In this case, you're limited the the number of bytes for GATT characteristic payloads. My application MCU takes care of packetizing long JSON strings, and the MCU and Android pieces JSONs together.
2) WIFI-direct UART bridge:
Looking to be able to stream TX and RX data between an Android/iOS phone and the ESP32. Unlike BLE where the protocol is fairly well defined, I don't have a good idea of how to do this part, so any insights here would be useful. I'm trying establish feasibility and get some terms that I can google and talk to the mobile app developer. I'm working on the firmware side. And I'm guessing wifi direct, but maybe that just ends up being the ESP32 acting in AP mode to allow for connections, and then somehow stream bi-directional data - somehow.
So on the ESP32 side, I want to do wifi direct and BLE concurrently. I'd like some advice on feasibility, and maybe suggestions for implementing the wifi uart bridge. I actually saw someone else ask about the UART bridge functionality. I think it's super useful.
ESP32 wifi transparent bridge
-
- Posts: 3
- Joined: Thu Mar 23, 2017 3:18 am
Return to “General Discussion”
Jump to
- English Forum
- Explore
- News
- General Discussion
- FAQ
- Documentation
- Documentation
- Sample Code
- Discussion Forum
- 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 中文社区
- 活动区
- 乐鑫活动专区
- 讨论区
- 全国大学生物联网设计竞赛乐鑫答疑专区
- 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: Majestic-12 [Bot] and 137 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.