본문 바로가기

개발 이야기/임베디드 개발

외부 라이브러리 없이 BLE를 통해 OTA ESP32 업데이트

728x90

하기와 같이
링크를 공유합니다.

 

1.
https://michaelangerer.dev/esp32/ble/ota/2021/06/01/esp32-ota-part-1.html

 

OTA Update Your ESP32 via BLE Without External Libraries - Part 1

Embedded Systems projects, tutorials, IoT, ESP32, Zephyr, and more.

michaelangerer.dev

2.

https://michaelangerer.dev/esp32/ble/ota/2021/06/08/esp32-ota-part-2.html

 

OTA Update Your ESP32 via BLE Without External Libraries - Part 2

Embedded Systems projects, tutorials, IoT, ESP32, Zephyr, and more.

michaelangerer.dev

 

3.

https://michaelangerer.dev/esp32/ble/ota/2021/06/15/esp32-ota-part-3.html

 

OTA Update Your ESP32 via BLE Without External Libraries - Part 3

Embedded Systems projects, tutorials, IoT, ESP32, Zephyr, and more.

michaelangerer.dev

 


링크 가보시면,

총3개 파트이고
esp32 가 서버이자 slave 이고
pc가 클라이언트이자 master 이며
pc에서는 파이썬을 사용했고
esp32는 nimble 기간의 ble스택을 사용한
깃허브도 하기와 같이 오픈되어 있습니다.
https://github.com/michael-angerer/esp32_ble_ota

 

GitHub - michael-angerer/esp32_ble_ota

Contribute to michael-angerer/esp32_ble_ota development by creating an account on GitHub.

github.com


위 깃허브에 파이썬 코드와
esp32의 경우 espressif에서 제공하는
nimble/blehr 코드 예제가 언급되어 있습니다.


그럼,
공유합니다.