Skip to content

writeValue(data) takes only the least significant byte of the data #54

@r03ert0

Description

@r03ert0

In WebBLE when sending, for example, writeValue(2000), the received value is 208 (which is 2000&0xff). This is not the case with Chrome from a desktop computer, nor from Chrome from an android phone, using exactly the same code.

const data = new Int32Array([2000]);
myCharacteristic.writeValue(data);

Metadata

Metadata

Assignees

Labels

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions