Change message log priority
Change-Id: I33359825ad7a0f852a89ff3258d1e6ff90765fc4
diff --git a/st21nfc/hal_wrapper.cc b/st21nfc/hal_wrapper.cc
index 5df1614..f9ae450 100644
--- a/st21nfc/hal_wrapper.cc
+++ b/st21nfc/hal_wrapper.cc
@@ -95,7 +95,7 @@
uint8_t propNfcModeSetCmdOn[] = {0x2f, 0x02, 0x02, 0x02, 0x01};
uint8_t coreInitCmd[] = {0x20, 0x01, 0x02, 0x00, 0x00};
- STLOG_HAL_D("%s - mHalWrapperState = %d", __func__, mHalWrapperState);
+ STLOG_HAL_V("%s - mHalWrapperState = %d", __func__, mHalWrapperState);
switch (mHalWrapperState) {
case HAL_WRAPPER_STATE_CLOSED: // 0
@@ -118,7 +118,7 @@
// CORE_INIT_RSP
if ((p_data[0] == 0x40) && (p_data[1] == 0x01)) {
} else if ((p_data[0] == 0x60) && (p_data[1] == 0x06)) {
- STLOG_HAL_D("%s - Sending PROP_NFC_MODE_SET_CMD", __func__);
+ STLOG_HAL_V("%s - Sending PROP_NFC_MODE_SET_CMD", __func__);
// Send PROP_NFC_MODE_SET_CMD(ON)
if (!HalSendDownstreamTimer(mHalHandle, propNfcModeSetCmdOn,
sizeof(propNfcModeSetCmdOn), 100)) {
@@ -140,7 +140,7 @@
HalSendDownstreamStopTimer(mHalHandle);
// Send CORE_INIT_CMD
- STLOG_HAL_D("%s - Sending CORE_INIT_CMD", __func__);
+ STLOG_HAL_V("%s - Sending CORE_INIT_CMD", __func__);
if (!HalSendDownstream(mHalHandle, coreInitCmd, sizeof(coreInitCmd))) {
STLOG_HAL_E("NFC-NCI HAL: %s SendDownstream failed", __func__);
}
@@ -158,7 +158,7 @@
mHalWrapperDataCallback(data_len, p_data);
}
else {
- STLOG_HAL_D("%s - Core reset notification - Nfc mode ", __func__);
+ STLOG_HAL_V("%s - Core reset notification - Nfc mode ", __func__);
}
break;
}
@@ -181,7 +181,7 @@
if (event == HAL_WRAPPER_TIMEOUT_EVT) {
// timeout
// Send CORE_INIT_CMD
- STLOG_HAL_D("%s - Sending CORE_INIT_CMD", __func__);
+ STLOG_HAL_V("%s - Sending CORE_INIT_CMD", __func__);
if (!HalSendDownstream(mHalHandle, coreInitCmd, sizeof(coreInitCmd))) {
STLOG_HAL_E("NFC-NCI HAL: %s SendDownstream failed", __func__);
}