• Welcome to Forum.Deepsoftware.Com. Please login or sign up.
 
December 03, 2024, 01:54:13 pm

News:

SMF - Just Installed!


prefix

Started by abo, September 03, 2015, 11:51:28 am

Previous topic - Next topic

abo

Hi,

I installed nrcomm trial version on c++ builder XE8.
I changed the code in hiddemo, nrHid1AfterReceive:

unsigned char *p;
for(p=(unsigned char *)Buffer,i = 0; i < (int)Received; i++, p++)
    s += IntToHex((int)(*p),2) + " ";


I configured a barcode reader (symbol ds3578), disabled suffix, configured as HID-keyboard (no other choice), EnumFullMode is false.
I would like to use it as a raw hid device, don't know if feasable.
As USB I can chose HID keyboard emulation (I would like to avoid it as it is keyboard-layout dependant and as cursor has to be in a field), IBM table top usb, IBM hand-held usb, usb opos handheld.
I tried ibm handheld usb Seems to work but I have a prefix: 00 0f 10 03 00 {BARCODE} 00.
I would like to get explanation about this prefix. Is there any other way to get just the barcode in bytes without using a HID-keyboard emulator?

Regards.

I could scan a barcode with 8 digits... but I have a prefix. Why why why?