Page 1 of 1

Write hex data into descriptor

Posted: 08:53, 28 Oct 2015
by malik
Hi everyone
i need to write hex data (command) into descriptor
for example this data: 0x93 0x8e 0x04 0x00 0x03 0x04 0x0b
How can i do it ?

Re: Write hex data into descriptor

Posted: 11:13, 28 Oct 2015
by Fredrik
Something like this, perhaps:

Code: Select all

writeDescriptor(decriptorId, new Uint8Array([0x93,0x8e,0x04,0x00,0x03,0x04,0x0b])), winCallback, failCallback)

Re: Write hex data into descriptor

Posted: 11:51, 28 Oct 2015
by malik
Ok. Thanks. I will try it.