Write hex data into descriptor

Ask, and ye shall receive.
malik
Posts: 3
Joined: 12:53, 02 Sep 2015

Write hex data into descriptor

Postby malik » 08:53, 28 Oct 2015

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 ?

Fredrik
Site Admin
Posts: 196
Joined: 15:00, 18 Nov 2013

Re: Write hex data into descriptor

Postby Fredrik » 11:13, 28 Oct 2015

Something like this, perhaps:

Code: Select all

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

malik
Posts: 3
Joined: 12:53, 02 Sep 2015

Re: Write hex data into descriptor

Postby malik » 11:51, 28 Oct 2015

Ok. Thanks. I will try it.


Return to “Questions and answers”

Who is online

Users browsing this forum: No registered users and 21 guests