Description
When using lastValueStream for reading battery level (0x2A19), data from multiple devices gets merged incorrectly. This happens because lastValueStream only differentiates by service UUID and characteristic UUID, but not by remoteId (device ID). This results in battery percentage updates from one device appearing in another device’s stream if they have the same characteristic UUID.
Expected Behavior
lastValueStream should be device-specific, ensuring battery percentage updates are not merged between different devices.
Additional Context
The issue only seems to happen on Windows.
Description
When using lastValueStream for reading battery level (0x2A19), data from multiple devices gets merged incorrectly. This happens because lastValueStream only differentiates by service UUID and characteristic UUID, but not by remoteId (device ID). This results in battery percentage updates from one device appearing in another device’s stream if they have the same characteristic UUID.
Expected Behavior
lastValueStream should be device-specific, ensuring battery percentage updates are not merged between different devices.
Additional Context
The issue only seems to happen on Windows.