Thanks morpk.
In short, I am testing.
In this case, I am wanting to test how the function acts when I scan a mifare card (or other depending on reader) and how I can manipulate the data it sends to the host.
I am trying to use this in place of the HostSendHex() and HostSendDec() functions.
Normally you would use
Code:
HostSendHex( ID, IDBitCnt, (IDBitCnt+7)/8*2 );
to return a Hexadecimal value to the host.
Would that then become
Code:
HostSendNumber( ID, 0, IDBitCnt, 16, 0, (IDBitCnt+7)/8*2 );
or do I have this arse-about?
Bookmarks