diff options
Diffstat (limited to 'src/FNetBt_BluetoothHdpSystemAdapter.cpp')
-rwxr-xr-x | src/FNetBt_BluetoothHdpSystemAdapter.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/FNetBt_BluetoothHdpSystemAdapter.cpp b/src/FNetBt_BluetoothHdpSystemAdapter.cpp index 0ea320a..8045ae1 100755 --- a/src/FNetBt_BluetoothHdpSystemAdapter.cpp +++ b/src/FNetBt_BluetoothHdpSystemAdapter.cpp @@ -257,7 +257,7 @@ _BluetoothHdpSystemAdapter::ConnectToSource(const Tizen::Base::ByteBuffer& sourc SysTryReturnResult(NID_NET_BT, pSourceAddress != null, E_OPERATION_FAILED, "Converting address to char* fails."); err = bt_hdp_connect_to_source(pSourceAddress, pAppId); - SysLog(NID_NET_BT, "Connecting to the remote source device [%s] %s.", pSourceAddress, + SysSecureLog(NID_NET_BT, "Connecting to the remote source device [%s] %s.", pSourceAddress, err == BT_ERROR_NONE ? "is successful" : "fails"); if (err == BT_ERROR_NONE) { @@ -284,7 +284,7 @@ _BluetoothHdpSystemAdapter::Disconnect(int channelId) SysTryReturnResult(NID_NET_BT, pSourceAddress != null, E_OPERATION_FAILED, "Address converting fails."); err = bt_hdp_disconnect(pSourceAddress, channelId); - SysLog(NID_NET_BT, "Disconnecting from the remote source device [%s] with channel id [%d] %s.", pSourceAddress, channelId, + SysSecureLog(NID_NET_BT, "Disconnecting from the remote source device [%s] with channel id [%d] %s.", pSourceAddress, channelId, err == BT_ERROR_NONE ? "is successful" : "fails"); if (err == BT_ERROR_NONE) { @@ -309,7 +309,7 @@ _BluetoothHdpSystemAdapter::SendData(int channelId, const Tizen::Base::ByteBuffe healthDataLength = data.GetRemaining(); err = bt_hdp_send_data(channelId, (char*)pHealthData, healthDataLength); - SysLog(NID_NET_BT, "Sending data to the remote source with channel id [%d] of length [%d] %s.", channelId, healthDataLength, + SysSecureLog(NID_NET_BT, "Sending data to the remote source with channel id [%d] of length [%d] %s.", channelId, healthDataLength, err == BT_ERROR_NONE ? "is successful" : "fails"); if (err == BT_ERROR_NONE) { @@ -433,7 +433,7 @@ _BluetoothHdpSystemAdapter::OnHdpDataReceived(unsigned int channelId, const char // Fire the data received event using the _BluetoothHealthImpl handle pHealthImpl->OnBluetoothHealthDataReceived(channelId, dataBuffer); - SysLog(NID_NET_BT, " Received Health data of (%d bytes) through the channel (ID: %d) is received.", dataSize, channelId); + SysSecureLog(NID_NET_BT, " Received Health data of (%d bytes) through the channel (ID: %d) is received.", dataSize, channelId); } } } } // Tizen::Net::Bluetooth |