OpenGlucose icon indicating copy to clipboard operation
OpenGlucose copied to clipboard

controlTransfer parameters

Open Chakib-Temal opened this issue 5 years ago • 1 comments

hi

i'm trying to do the same thing for Android OS with Java(communicate with the freestyle libre and get data), in others Platforms i don't have this problem

when i try to send a request to a device, i don't have an answer

i think i have problem with parameters of the function controlTransfer

example : when i try to initialize the communication with the 4 frames

controlTransfer

`
byte[0] = 0x04; // first frame

result = connection.controlTransfer(0x21, 0x00, 0x0200, 0x00, bytes, 64, 2000); `

with bRequestType = 0x21, bRequest = 0x09, wValue = 0x0200, wIndex = 0x0000

this parameters are ok ? there is a solution to run your code in android ? Thank you in advance

Chakib-Temal avatar Nov 19 '19 15:11 Chakib-Temal

Hi,

I'm sorry but I won't be able to help you, I'm not working on OpenGlucose atm and I don't have this device any more.

I hope you'll find the solution.

xclaesse avatar Nov 19 '19 16:11 xclaesse