-
Notifications
You must be signed in to change notification settings - Fork 26
Open
Description
Hello
74e0d6e do not work in query-ack mode under the condition IAR 5.3. (optimizations low or none)
I use the sense reader to query the wisp . Through oscilloscope, I found that wisp replied the reader's query command with RN 16,but did not reply the ack command with correct handle.
Then I changed the ack judgement code in case STATE_REPLY:
" if ( bits == NUM_ACK_BITS && ( ( cmd[0] & 0xC0 ) == 0x40 ) )"
to
"if ( bits >=8 && ( ( cmd[0] & 0xC0 ) == 0x40 ) )".
And changed the ack function:
"if ( NUM_ACK_BITS == 20 )
while ( TAR <90 );
else
while ( TAR < 400 ); "
to
"if ( NUM_ACK_BITS == 20 )
while ( TAR <800);
else
while ( TAR < 400 ); "
After changing
the reader can query the wisp very well.
Metadata
Metadata
Assignees
Labels
No labels