https://github.com/aptpod/motion-v2-ios-plugin-sample
Plugin App for Motion V2
https://github.com/aptpod/motion-v2-ios-plugin-sample
Last synced: about 1 month ago
JSON representation
Plugin App for Motion V2
- Host: GitHub
- URL: https://github.com/aptpod/motion-v2-ios-plugin-sample
- Owner: aptpod
- License: apache-2.0
- Created: 2023-01-27T03:20:43.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-02-01T01:02:16.000Z (over 3 years ago)
- Last Synced: 2025-01-12T08:41:54.835Z (over 1 year ago)
- Language: Swift
- Homepage:
- Size: 38.1 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Motion V2 Plugin App Sample
このリポジトリにはintdash Motion V2(以下、Motion)用プラグインアプリのサンプルが収められています。
プラグインアプリは発生したデータをMotionに送信し、Motionはそのデータをintdashサーバーに送信します。
**注意: このサンプルはMotion V2用であるため、Motion V1では動作しません。**
このサンプルは以下の2つのプロジェクトにより構成されます。
詳細は各プロジェクトに含まれるREADMEファイルを参照してください。
## MotionV2PluginAppSample
intdash Motion用プラグインアプリの本体です。所定のフォーマットに沿ってメッセージを作成し、それをMotionに送信する処理が実装されています。
## BluetoothDeviceEmulator
Bluetoothデバイスをエミュレートするアプリです。MotionプラグインによってBluetoothデバイスをMotionに接続する構成をエミュレートするために使用します。
本アプリを使用することで、Bluetoothデバイス(仮想)→Motionプラグインアプリ→Motion→intdashサーバーというデータ送信を実行することができます。