Change-Id: I12c7b639c3429ac1bf97f29d77265bbffb5fd1e3
Signed-off-by: jihwan.seo <jihwan.seo@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/13715
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Ashok Babu Channa <ashok.channa@samsung.com>
/**
* The length payload size of the normal data segment (after first segment) for ble fragmentation.
*/
-#define CA_BLE_NORMAL_SEGMENT_PAYLOAD_SIZE CA_SUPPORTED_BLE_MTU_SIZE \
- - CA_BLE_HEADER_SIZE
+#define CA_BLE_NORMAL_SEGMENT_PAYLOAD_SIZE ((CA_SUPPORTED_BLE_MTU_SIZE) \
+ - (CA_BLE_HEADER_SIZE))
/**
* The length payload size of the first data segment for ble fragmentation.
*/
-#define CA_BLE_FIRST_SEGMENT_PAYLOAD_SIZE CA_BLE_NORMAL_SEGMENT_PAYLOAD_SIZE \
- - CA_BLE_LENGTH_HEADER_SIZE
+#define CA_BLE_FIRST_SEGMENT_PAYLOAD_SIZE ((CA_BLE_NORMAL_SEGMENT_PAYLOAD_SIZE) \
+ - (CA_BLE_LENGTH_HEADER_SIZE))
/**
* Current Header version.