ble attr_tab max number

JonathanChenNew
Posts: 11
Joined: Thu Mar 09, 2017 2:52 am

ble attr_tab max number

Postby JonathanChenNew » Thu Mar 09, 2017 3:05 am

Code: Select all

/**
 * @brief               Create a service attribute tab. 
 * @param[in]       gatts_attr_db: the pointer to the service attr tab
 * @param[in]       gatts_if: GATT server access interface
 * @param[in]       max_nb_attr: the number of attribute to be added to the service database.
 * @param[in]       srvc_inst_id: the instance id of the service
 *
 * @return
 *                  - ESP_OK : success
 *                  - other  : failed
 *
 */
esp_err_t esp_ble_gatts_create_attr_tab(const esp_gatts_attr_db_t *gatts_attr_db, 
                                            esp_gatt_if_t gatts_if,
                                            uint8_t max_nb_attr,
                                            uint8_t srvc_inst_id);
i try to create a GATT Server attribute table with this function.but it failed when the value of max_nb_attri is greater than 29.

Code: Select all

BTC post failed.

JonathanChenNew
Posts: 11
Joined: Thu Mar 09, 2017 2:52 am

Re: ble attr_tab max number

Postby JonathanChenNew » Tue Mar 14, 2017 2:14 am

Hi? :evil:

Who is online

Users browsing this forum: Baidu [Spider], chegewara and 168 guests