Align NFCEE ID range with NCI 1.0 in VtsNfcv1.2 test

As per spec,NFCEE_ID value dynamically assigned by NFCC
has the following range
- In NCI_2.0,  0x80 <= NFCEE ID <= 0xFE.
- In NCI_1.0,  0x01 <= NFCEE ID <= 0xFE.

Test: VtsHalNfcV1_2TargetTest with NCI1.0 & NCI2.0 supported device.

Change-Id: I09adaca8b36900a92d737b176e09234251aae2bc
This commit is contained in:
nxp72763
2019-05-16 17:40:10 +05:30
parent 73970c9437
commit 6f8cea3d1a

View File

@@ -38,7 +38,7 @@ using ::android::hardware::nfc::V1_2::INfc;
using ::android::hardware::nfc::V1_2::NfcConfig;
// Range of valid off host route ids
constexpr unsigned int MIN_OFFHOST_ROUTE_ID = 0x80;
constexpr unsigned int MIN_OFFHOST_ROUTE_ID = 0x01;
constexpr unsigned int MAX_OFFHOST_ROUTE_ID = 0xFE;
constexpr char kCallbackNameSendEvent[] = "sendEvent";