+
+ return OAL_STATUS_SUCCESS;
+}
+
+oal_status_t gatt_get_data_batching_available_packets(
+ unsigned int *available_packets)
+{
+ int ret;
+
+ ret = gatt_api->client->get_data_batching_available_packets(available_packets);
+ if (ret != BT_STATUS_SUCCESS) {
+ BT_ERR("GATT data batching failed: %s", status2string(ret));
+ return convert_to_oal_status(ret);
+ }
+
+ return OAL_STATUS_SUCCESS;
+}
+
+oal_status_t gatt_enable_data_batching(bt_address_t * address,
+ int packet_threshold, int timeout)
+{
+ int ret;
+
+ ret = gatt_api->client->enable_data_batching((bt_bdaddr_t *)address, packet_threshold, timeout);
+ if (ret != BT_STATUS_SUCCESS) {
+ BT_ERR("GATT data batching failed: %s", status2string(ret));
+ return convert_to_oal_status(ret);
+ }
+
+ return OAL_STATUS_SUCCESS;
+}
+
+oal_status_t gatt_disable_data_batching(bt_address_t * address)
+{
+ int ret;
+
+ ret = gatt_api->client->disable_data_batching((bt_bdaddr_t *)address);
+ if (ret != BT_STATUS_SUCCESS) {
+ BT_ERR("GATT data batching failed: %s", status2string(ret));
+ return convert_to_oal_status(ret);
+ }
+