summaryrefslogtreecommitdiffstats
path: root/nci
diff options
context:
space:
mode:
authorPat Erley <perley@cyngn.com>2016-02-10 12:38:56 -0800
committerPat Erley <perley@cyngn.com>2016-02-10 12:38:56 -0800
commit51ac86bd5cff9ed412a14e15b117f4ef91282cea (patch)
tree5ac59d6d7f96af1326f6f52201515dc28d1c973a /nci
parent3c66d275d0a3648f159ff9e3a00786f27dafea08 (diff)
downloadandroid_packages_apps_Nfc-51ac86bd5cff9ed412a14e15b117f4ef91282cea.tar.gz
android_packages_apps_Nfc-51ac86bd5cff9ed412a14e15b117f4ef91282cea.tar.bz2
android_packages_apps_Nfc-51ac86bd5cff9ed412a14e15b117f4ef91282cea.zip
nfc: Make unknown protocol logs useful
Add the actual protocol number of the unknown protocol to the log message. Change-Id: Ib8cd61215fd37d765f21f2792782590890788a38
Diffstat (limited to 'nci')
-rwxr-xr-xnci/jni/NfcTag.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/nci/jni/NfcTag.cpp b/nci/jni/NfcTag.cpp
index c4e343bc..15958c5a 100755
--- a/nci/jni/NfcTag.cpp
+++ b/nci/jni/NfcTag.cpp
@@ -408,7 +408,7 @@ void NfcTag::discoverTechnologies (tNFA_ACTIVATED& activationData)
}
else
{
- ALOGE ("%s: unknown protocol ????", fn);
+ ALOGE ("%s: unknown protocol 0x%x", fn, rfDetail.protocol);
mTechList [mNumTechList] = TARGET_TYPE_UNKNOWN;
}
@@ -530,7 +530,7 @@ void NfcTag::discoverTechnologies (tNFA_DISC_RESULT& discoveryData)
}
else
{
- ALOGE ("%s: unknown protocol ????", fn);
+ ALOGE ("%s: unknown protocol 0x%x", fn, discovery_ntf.protocol);
mTechList [mNumTechList] = TARGET_TYPE_UNKNOWN;
}