Connecting to existing reader should succeed.
Connecting to nonexisting reader should fail.
Call with valid URI should not fail.
Call with invalid URI should fail.
Call with valid URI should not fail.
Call with invalid URI should fail.
Multiple calls with different URIs should return distinct objects.
Destroying existing connected reader should succed.
Destroying existing unconnected reader should succeed.
Destroying already-destroyed reader should fail.
Destroying reader allocated by TMR_create_alloc() should free the allocated memory.
Call should fail before a read() call.
Call should fail after a read() call that set *tagCount to zero.
Call should fill in a tag after a read() call that set *tagCount to a nonzero value.
Call should succeed exactly as many times as specified by *tagCount.
Call should return false before a read() call.
Call should return false after a read() call that set *tagCount to zero.
Call should return true after a read() call that set *tagCount to a nonzero value.
Call should return true through exactly as many getNextTag() calls as specified by *tagCount.
If hex string is empty, *bytes should not be altered.
*convertLen is set to the correct value.
Function works when convertLen is NULL
.
Specific values: "00"
, "0000"
, "ffff"
, "0xffff"
, "00112233445566778899aabbccddeeff00112233445566778899aabbccddeeff00112233445566778899aabbccddeeff00112233445566778899aabbccddeeff00112233445566778899aabbccddeeff00112233445566778899aabbccddeeff00112233445566778899aabbccddeeff00112233445566778899aabb"
.
Call should fail if key is an invalid parameter name.
Call should fail if key is valid but unsupported by connected reader.
Call should succeed if key matches parameter name, independent of case.
Call should fail if key is an invalid parameter name.
Call should fail if key is valid but unsupported by connected reader.
Call should succeed if key matches parameter name, independent of case.
Call should fail if reader is not connected.
If call is successful as per TMR_Error, *tagCount should be modified and contain a positive value.
Call should fail if reader is not connected.
If call is successful as per TMR_Error, *tagCount should be modified and contain a positive value, and *result should be modified and contain the corresponding number of tag read values.
Call should fail if reader is not connected.
Upon success, a subsequent TMR_read() should find the new tag ID.