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.
BLE อุปกรณ์คอมพิวเตอร์จำลองเป็น app Android ที่ช่วยให้นักพัฒนาที่จะลองคุณสมบัติใหม่ของเว็บบลูทู ธ โดยไม่ต้องใช้อุปกรณ์ต่อพ่วง BLE คุณสามารถตรวจสอบรหัสได้ที่: https://github.com/WebBluetoothCG/ble-test-peripheral-android
นักพัฒนาสามารถใช้ app เพื่อจำลอง BLE อุปกรณ์ต่อพ่วงกับหนึ่งในสามบริการ:
* บริการแบตเตอรี่
* บริการอัตราการเต้นหัวใจ
* บริการสุขภาพเครื่องวัดอุณหภูมิ
นักพัฒนาสามารถใช้เว็บใหม่บลูทู ธ มีการเชื่อมต่อกับแอปเพื่ออ่านและเขียนลักษณะสมัครสมาชิกแจ้งเตือนเมื่อมีการเปลี่ยนแปลงลักษณะและอ่านและเขียนอธิบาย
จากการตรวจสอบที่นักพัฒนาสามารถตั้งค่าลักษณะส่งการแจ้งเตือนและตัดการเชื่อมต่อ