#include "oic_malloc.h"
#include "caleutil.h"
#include "cautilinterface.h"
-#ifndef TIZEN_4
+#ifndef BLE_TIZEN_40
#include <bluetooth_internal.h>
#endif
unsigned int mtu = CA_DEFAULT_BLE_MTU_SIZE;
int ret = 0;
-#ifdef TIZEN_4
+#ifdef BLE_TIZEN_40
bt_gatt_client_h client = NULL;
ret = bt_gatt_client_create(address, &client);
if (0 != ret)
"bt_device_get_att_mtu failed with return [%s]", CALEGetErrorMsg(ret));
return CA_DEFAULT_BLE_MTU_SIZE;
}
-#endif // TIZEN_4
+#endif // BLE_TIZEN_40
OIC_LOG_V(INFO, TAG, "mtu size(including header) from bt_device_get_att_mtu is %d", mtu);
OIC_LOG(DEBUG, TAG, "OUT");