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)
{
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)
{
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)
{
// 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
SysTryReturnResult(NID_NET_BT, r == E_SUCCESS, E_SYSTEM, "A system error occurred.");
SysTryReturnResult(NID_NET_BT, ret == E_SUCCESS, ret, "Propagating.");
- SysLog(NID_NET_BT, "The Bluetooth name obtained through IPC is [%ls].", deviceName.GetPointer());
+ SysSecureLog(NID_NET_BT, "The Bluetooth name obtained through IPC is [%ls].", deviceName.GetPointer());
return E_SUCCESS;
}
case BT_SOCKET_CONNECTED:
if (pConnectionInfo->local_role == BT_SOCKET_CLIENT)
{
- SysLog(NID_NET_BT, "Connected event from [address: %s, uuid: %s] is received.",
+ SysSecureLog(NID_NET_BT, "Connected event from [address: %s, uuid: %s] is received.",
pConnectionInfo->remote_address, pConnectionInfo->service_uuid);
String address(pConnectionInfo->remote_address);