javascript - CCID slot status byte -
reading ccid specifications, wondering intrinsic structure of slot status (bstatus byte), set in header of response (inbound bulk transfer) message.
only first 2 , last 2 bits used bmiccstatus , bmcommandstatus, i'm not sure how.
given (javascript) binary notation 0bxx0000yy, true bmcommandstatus represented xx?
given (javascript) binary notation 0bxx0000yy:
xx.. bmcommandstatus (mask0xc0)yy.. bmiccstatus (mask0x03)
reference here (i did check ccid rev 1.1, unable find bit order here -- i.e. msb first or lsb first).
you might find using wireshark extremely useful supports usb sniffing ccid support.
Comments
Post a Comment