Copied from https://buganizer.corp.google.com/issues/111997667
UserAgent: Mozilla/5.0 (X11; CrOS x86_64 10895.5.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/69.0.3497.14 Safari/537.36
Platform: 10895.5.0 (Official Build) dev-channel edgar
Steps to reproduce the problem:
1. Connect with hid device using chrome.hid.connect function
2. on connect call chrome.hid.receiveFeatureReport to receive data.
3. repeat 2nd step in every 500ms.
What is the expected behavior?
chrome.hid.receiveFeatureReport function call should return present data that device is sending. whatever data device will send, function should return that data.
Suggestion: there should be an event that fire whenever device sends data instead of calling function in 500ms.
like chrome.hid.onReceiveData
What went wrong?
whenever i connect device with computer and calling chrome.hid.connect function first time, chrome.hid.receiveFeatureReport function is getting that moment data only, rest of time its returning same data.
Like 1. i connect device to computer
2. than i called chrome.hid.connect function for this device
3. than i called chrome.hid.receiveFeatureReport function first time, suppose that time device was returning XYZ data, Function will return XYZ data only for all time, even device is returning any other data.
I created an c#.net application, in .net application i am getting real data without any issue.
I am using dymo weight scale device, and i am trying to read weight by chrome app. Please help me, i have wasted a lot of time on this only.
Thanks!
Did this work before? N/A
Does this work in other browsers? N/A
Chrome version: 69.0.3497.14 Channel: dev
OS Version: 10895.5.0
Flash Version: 30.0.0.142