ESP32 Hosted, Linux에서 ESP32를 WiFi slave로 사용하기

ESPRESSIF|2022. 8. 6. 13:34

ESP-Hosted 란 ?

ESP32 Hosted는 ESP32와 같이 사용하는 Host가 Linux일때 유용한 솔루션이다. Host CPU에 리눅스 혹은 안드로이드를 사용하여 일반적인 인터넷 브라우징이 가능하다. ESP32자체는 WAN에 접속하는 기능은 없지만, ESP32-Hosted를 통하여 리눅스(안드로이드) Host와 같이 사용하면, 마치 일반적인 스마트폰과 같은 WiFi기능을 부여 가능하다. 추가로 Bluetooth도 같이 지원이 된다. 

 

 

ESP32 Hosted NG Variant (NG : Next Generation)

ESP Hosted NG Variant 는 Host가 리눅스/안드로이드에 특화된 솔루션이다. (MCU host는 기존 ESP-Hosted에서 지원)

  • 802.11 network interface which is a standard Wi-Fi interface on Linux host
  • Configuration of Wi-Fi is supported through standard cfg80211 interface of Linux
  • A standard HCI interface

1) ESP32는 ESP-hosted를 지원하는 firmware가 있어야 합니다. 이 firmware는 git release에서 다운로드 가능하다. (Bin파일)

2) Hardware 연결 :  SDIO/SPI/UART(BT)를 지원한다. 연결 방법은 Git의 Doc에서 참고 가능하고, 아래와 같이 선택 가능하다.

3) Host driver : Host에 포팅을 할 드라이버이다. Git에 참고용 소스코드가 있다.  

Throughput

 

메뉴얼

 

https://github.com/espressif/esp-hosted/blob/master/docs/README.md

 

GitHub - espressif/esp-hosted: Hosted Solution (Linux/MCU) with ESP32 (Wi-Fi + BT + BLE)

Hosted Solution (Linux/MCU) with ESP32 (Wi-Fi + BT + BLE) - GitHub - espressif/esp-hosted: Hosted Solution (Linux/MCU) with ESP32 (Wi-Fi + BT + BLE)

github.com