Part Number: LAUNCHXL-CC26X2R1
Hi,
I am working on the Simple Peripheral application and have modified the project.
Right now I am sending the notification with help of GATT_Notification. Before sending out the notification we are using GATT_bm_alloc() to allocate the desired memory. I have read the description of GATT_bm_alloc() from developer guide(as shown below or http://software-dl.ti.com/simplelink/esd/simplelink_cc13x0_sdk/2.20.00.38/exports/docs/blestack/blestack-api/group__GATT__BM__API.html#gaaf21b84a128832b1f4b5ef0638580d9b ). In return value, what does failure/error indicate i.e. Is it possible that this function can return pointer to heap allocation when "pSizeAlloc" is not equal to requested "size"? Or Is it going to return NULL in that case?
Can you clarify on what condition "pointer to heap allocation" will be return?
Regards,
Shiv
