#define BLUETOOTH_OOB_DATA_LENGTH 16
+#define BLUETOOTH_LE_OOB_DATA_LENGTH 100
+
#define BLUETOOTH_PIN_CODE_MAX_LENGTH 16
#ifdef TIZEN_GATT_CLIENT
unsigned char randomizer256[BLUETOOTH_OOB_DATA_LENGTH];
unsigned int hash256_len;
unsigned int randomizer256_len;
+
+ unsigned char eir[BLUETOOTH_LE_OOB_DATA_LENGTH];
+ unsigned int eir_len;
} bt_oob_data_t;
/**
int bluetooth_oob_remove_remote_data(
const bluetooth_device_address_t *remote_device_address);
+
+/**
+ * @fn int bluetooth_le_oob_read_local_data(bt_oob_data_t *local_oob_data)
+ * @brief Read the local Hash and Randmizer.
+ *
+ * This function is a synchronous call.
+ *
+ * @return BLUETOOTH_ERROR_NONE - Success \n
+ * BLUETOOTH_ERROR_INTERNAL - Internal Error \n
+ *
+ * @exception None
+ * @param[in] None.
+ * @param[out] local_oob_data - Pointer to the local OOB data
+ *
+ * @remark None
+ * @see None
+ */
+int bluetooth_le_oob_read_local_data(bt_oob_data_t *local_oob_data);
+
+/**
+ * @fn int bluetooth_le_oob_add_remote_data(
+ * const bluetooth_device_address_t *remote_device_address,
+ * bluetooth_bdaddr_type_e address_type,
+ * bt_oob_data_t *oob_data)
+ * @brief Add/updated the remote device Hash and Randmizer.
+ *
+ * This function is a synchronous call.
+ * No event for this api..
+ *
+ * @return BLUETOOTH_ERROR_NONE - Success \n
+ * BLUETOOTH_ERROR_INTERNAL - Internal Error \n
+ *
+ * @exception None
+ * @param[in] remote_device_address - Remote device address
+ * address_type - bdaddr type
+ * remote_oob_data - Ponter to Hash and Randomizer oob data structure
+ *
+ * @remark None
+ * @see None
+ */
+int bluetooth_le_oob_add_remote_data(
+ const bluetooth_device_address_t *remote_device_address,
+ bluetooth_bdaddr_type_e address_type,
+ bt_oob_data_t *remote_oob_data);
+
/**
* @fn int bluetooth_gatt_get_primary_services(const bluetooth_device_address_t *address,
* bt_gatt_handle_info_t *prim_svc);