Skip to content

CleanKDev/ESP32_tools

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

ESP32_tools

XIAO ESP32C3 向けテスト・ユーティリティ集(PlatformIO + Arduino framework)

BLE_pingpong

2台の XIAO ESP32C3 間で BLE 通信の動作確認をするサンプル。

プロジェクト 役割
BLE_pingpong/peripheral/ BLE Server。"ping" を受け取り "pong" を notify で返す
BLE_pingpong/central/ BLE Client。2秒ごとに "ping" を write し、"pong" を受信

使い方

  1. VSCode + PlatformIO IDE をインストール
  2. BLE_pingpong/peripheral/ を PlatformIO で開き、1台目の XIAO ESP32C3 に書き込む
  3. BLE_pingpong/central/ を PlatformIO で開き、2台目に書き込む
  4. 両方のシリアルモニタ(115200bps)を開く
  5. Central が自動スキャン → 接続 → ping/pong 開始

依存ライブラリ

espressif32 プラットフォームの Arduino framework に同梱の BLE ライブラリのみ。追加不要。

About

XIAO ESP32C3 utilities and test sketches

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages