- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Is it possible to change the GATT database from SDK for supporting dynamic GATT database change?
One of the idea is to support "clone" of other BLE device in 2073x. It will be fine if SW reset to SoC is required after such change.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I checked with the developers and while this is technically possible, it is generally not supported.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You can use bleprofile_WriteHandle function defined in bleprofile.h:
/**
* \brief Write data to GATT database by handle
* \ingroup bleprofile
*
* \details This function provides a way for the application to write data to GATT
* database using specific handle.
*
* \param handle Handle in the GATT database.
* \param p_pdu Pointer to the \c BLEPROFILE_DB_PDU to write
*
* \return
* \li \c 0 if the function succeeds.
* \li \c error_code returned from the write operation.
*
*/
INT32 bleprofile_WriteHandle(UINT16 hdl, BLEPROFILE_DB_PDU *p_pdu);
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Sorry, I don't mean to change the value of GATT handle, but to add/remove the attribute list in this database.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I checked with the developers and while this is technically possible, it is generally not supported.