[Bluetooth] Memory Leak when using Bluetooth GATT server
By dev1 intellithings
14 Jan 2020 07:13
English
0 Replies
On a wearable native project create gatt server:
bt_initialize();
bt_gatt_server_initialize();
bt_gatt_server_create(&gattServer);
bt_gatt_service_create(service_uuid, type, &gattSvc);
bt_gatt_characteristic_create( ... )
// set callback for read request
bt_gatt_server_set_read_value_requested_cb
inside the callback call:
bt_gatt_server_send_response
this causes memory leak.
using nRF connect perform many read requests. values are coming ok.
memory leaks very fast.
You must log in to use this service. Log in now?
The tag you entered already exists.
Do you want to report this post as spam?
The post has been reported as spam.
cannot be empty.
Are you sure you want to cancel and return to the list?
The code has been copied to the clipboard.
Enter a title.
All Categories
General Support
Tizen .NET
Web Application Development
Native Application Development
SDK & IDE
--------
--------