if (CA_STATUS_OK == CAGetLEServerInfo(g_LEServerList, remote_address, &serverInfo))
{
if (serverInfo->status == LE_STATUS_SERVICES_DISCOVERED){
- OIC_LOG_V(DEBUG, TAG, "Mtu Size [%d]", serverInfo->mtu_size);
+ //OIC_LOG_V(DEBUG, TAG, "Mtu Size [%d]", serverInfo->mtu_size);
+ OIC_LOG_V(INFO, TAG, "Test: returning Mtu Size [%d]", serverInfo->mtu_size - CA_BLE_MTU_HEADER_SIZE);
oc_mutex_unlock(g_LEServerListMutex);
- return serverInfo->mtu_size;
+ //return serverInfo->mtu_size;
+ return serverInfo->mtu_size - CA_BLE_MTU_HEADER_SIZE;
}
}
oc_mutex_unlock(g_LEServerListMutex);