* Logging tag for module name
*/
#define TAG "OIC_CA_LE_SERVER_VD"
-/**
- * Initial buffer size for Gatt Server.
- */
-#define CA_LE_INITIAL_BUF_SIZE 512
/**
* The handle of the OIC server.
bt_gatt_h characteristic, bool completed, void *user_data)
#endif
{
+ (void)server;
+ (void)characteristic;
+ (void)completed;
+ (void)user_data;
+
OIC_LOG_V(DEBUG, TAG, "Notification to the device[%s] result[%d]", remote_address, result);
}
// For Read Characteristics.
ret = CAAddNewCharacteristicsToGattServer(g_gattSvcPath, charReadUUID, charReadValue,
- CA_LE_INITIAL_BUF_SIZE, true);
+ sizeof(charReadValue), true);
if (CA_STATUS_OK != ret)
{
OIC_LOG_V(ERROR, TAG, "CAAddNewCharacteristicsToGattServer failed[%d]", ret);
ret = CAAddNewCharacteristicsToGattServer(g_gattSvcPath, charWriteUUID, charWriteValue,
- CA_LE_INITIAL_BUF_SIZE, false); // For Write Characteristics.
+ sizeof(charWriteValue), false); // For Write Characteristics.
if (CA_STATUS_OK != ret )
{
OIC_LOG_V(ERROR, TAG, "CAAddNewCharacteristicsToGattServer failed[%d]", ret);
void CALENotificationCb(bool notify, bt_gatt_server_h server, bt_gatt_h gatt_handle,
void *user_data)
{
+ (void)server;
+ (void)gatt_handle;
+ (void)user_data;
+
OIC_LOG(DEBUG, TAG, "IN");
if (notify)
{
int charLen, void *userData)
#endif
{
+ (void)server;
+ (void)gatt_handle;
+ (void)userData;
+
OIC_LOG(INFO, TAG, "IN - WriteCharCB");
if (NULL == charValue || NULL == remoteAddress)
bool CALEServerIsConnected(const char* address)
{
+ (void)address;
//@Todo
return true;
}