diff options
author | nxp72763 <anil.hiranniah@nxp.com> | 2019-05-16 17:40:10 +0530 |
---|---|---|
committer | nxp72763 <anil.hiranniah@nxp.com> | 2019-05-16 17:40:10 +0530 |
commit | 6f8cea3d1a7cd5359bdaa8a94bcde7758b1abdf0 (patch) | |
tree | a472433d0d1f50ed48c29773a661ae991bd9437b /nfc | |
parent | 73970c94374231d137a6b52dfc42bf2c6d523aea (diff) | |
download | platform_hardware_interfaces-6f8cea3d1a7cd5359bdaa8a94bcde7758b1abdf0.tar.gz platform_hardware_interfaces-6f8cea3d1a7cd5359bdaa8a94bcde7758b1abdf0.tar.bz2 platform_hardware_interfaces-6f8cea3d1a7cd5359bdaa8a94bcde7758b1abdf0.zip |
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
Diffstat (limited to 'nfc')
-rw-r--r-- | nfc/1.2/vts/functional/VtsHalNfcV1_2TargetTest.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nfc/1.2/vts/functional/VtsHalNfcV1_2TargetTest.cpp b/nfc/1.2/vts/functional/VtsHalNfcV1_2TargetTest.cpp index ee4a88792a..54d3127a75 100644 --- a/nfc/1.2/vts/functional/VtsHalNfcV1_2TargetTest.cpp +++ b/nfc/1.2/vts/functional/VtsHalNfcV1_2TargetTest.cpp @@ -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"; |