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.
Các BLE ngoại vi Simulator là một ứng dụng Android cho phép các nhà phát triển thử các tính năng mới của Web Bluetooth mà không cần một thiết bị ngoại vi BLE. Bạn có thể kiểm tra mã tại địa chỉ: https://github.com/WebBluetoothCG/ble-test-peripheral-android
Các nhà phát triển có thể sử dụng ứng dụng để mô phỏng một BLE ngoại vi với một trong ba dịch vụ:
* Dịch vụ Pin
* Dịch vụ nhịp tim
* Sở Y tế Nhiệt kế
Các nhà phát triển có thể sử dụng Web mới tính năng Bluetooth để kết nối với các ứng dụng để đọc và Viết Đặc điểm, Theo dõi Thông báo cho khi Đặc điểm thay đổi, và Đọc và Viết Phần mô tả.
Từ ứng dụng, nhà phát triển có thể thiết lập giá trị của các đặc điểm, gửi thông báo và ngắt kết nối.