Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Pebble C SDK を使用して、Bluetooth 接続/切断アクティビティをリッスンすることを知っています。javascript SDK を使用して同じことを達成するにはどうすればよいですか?
ありがとう
PebbleKitJS API には、同等のイベント サービスはありません。それは単に不可能です。
PebbleKitJS API を使用して Pebble アプリを構築することはできません。これは、GPS 位置情報やインターネット情報などのデータを転送する方法にすぎません。
Pebble にインストールされたアプリケーションによって呼び出されたときにのみプログラムが実行されるため、Pebble が接続されているかどうかを知る必要はありません。