char *value,
int valueLen, void *userData)
{
+ (void)characteristic;
+
OIC_LOG(DEBUG, TAG, "IN");
OIC_LOG_V(DEBUG, TAG, "Changed characteristic value length [%d]", valueLen);
void CALEGattCharacteristicWriteCb(int result, bt_gatt_h reqHandle, void *userData)
{
+ (void)reqHandle;
+ (void)userData;
+
OIC_LOG(DEBUG, TAG, "IN ");
if (BT_ERROR_NONE != result)
void CALEAdapterScanResultCb(int result, bt_adapter_le_device_scan_result_info_s *scanInfo,
void *userData)
{
+ (void)userData;
+
OIC_LOG(DEBUG, TAG, "IN");
VERIFY_NON_NULL_VOID(scanInfo, TAG, "scanInfo");
void CAStartTimerThread(void *data)
{
+ (void)data;
+
OIC_LOG(DEBUG, TAG, "IN");
while (g_isLEGattClientStarted)
{
}
if (context_event_loop)
{
- OIC_LOG_V(DEBUG, TAG, "g_eventLoop context %x", context_event_loop);
+ OIC_LOG_V(DEBUG, TAG, "g_eventLoop context %p", (void *)context_event_loop);
g_main_context_wakeup(context_event_loop);
// Kill g main loops and kill threads.
if (BT_ERROR_NONE != ret)
{
- OIC_LOG_V(ERROR, TAG, "bt_gatt_disconnect Failed with ret value [%d] ",
+ OIC_LOG_V(ERROR, TAG, "bt_gatt_disconnect Failed with ret value [%s] ",
CALEGetErrorMsg(ret));
return CA_STATUS_FAILED;
}
bool CALEClientIsConnected(const char* address)
{
+ (void)address;
//@Todo
return true;
}
CAResult_t CALEClientSetMtuSize(const char* address, uint16_t mtuSize)
{
+ (void)mtuSize;
+
VERIFY_NON_NULL(address, TAG, "address is null");
//@Todo
//it should be implemented after update Tizen 3.0