The BLE Peripheral Simulator is an Android app that allows developers to try out new features of Web Bluetooth without the need for a BLE Peripheral Device. You can check the code at: https://github.com/WebBluetoothCG/ble-test-peripheral-android
Developers can use the app to simulate a BLE Peripheral with one of three services:
* Battery Service
* Heart Rate Service
* Health Thermometer Service
Developers can use the new Web Bluetooth features to connect to the app to Read and Write Characteristics, Subscribe to Notifications for when the Characteristics change, and Read and Write Descriptors.
From the app, developers can set the characteristics' values, send notifications and disconnect.
The BLE Peripheral Simulator adalah sebuah aplikasi Android yang membolehkan pemaju untuk mencuba ciri baru Bluetooth Web tanpa memerlukan Peranti Persisian BLE. Anda boleh menyemak kod di: https://github.com/WebBluetoothCG/ble-test-peripheral-android
Pemaju boleh menggunakan aplikasi untuk mensimulasikan BLE Peripheral dengan salah satu daripada tiga perkhidmatan:
* Perkhidmatan Battery
* Perkhidmatan Kadar Jantung
* Perkhidmatan Kesihatan termometer
Pemaju boleh menggunakan Web baru Bluetooth mempunyai untuk menyambung ke aplikasi untuk Baca dan Tulis Ciri-ciri, Langgan Pemberitahuan untuk apabila Ciri-ciri perubahan, dan Baca dan Tulis deskriptor.
Dari aplikasi, pemaju boleh menetapkan nilai ciri-ciri ', menghantar pemberitahuan dan memutuskan sambungan.