BT_EXPORT_API int bluetooth_set_advertising(int handle, gboolean enable)
{
int result;
- gboolean use_reserved_slot = FALSE;
+ gboolean use_reserved_slot = TRUE;
BT_CHECK_ENABLED_ANY(return);
bluetooth_advertising_params_t *params)
{
int result;
- gboolean use_reserved_slot = FALSE;
+ gboolean use_reserved_slot = TRUE;
BT_CHECK_ENABLED_ANY(return);
BT_EXPORT_API int bluetooth_set_advertising_data(int handle, const bluetooth_advertising_data_t *value, int length)
{
int result;
- gboolean use_reserved_slot = FALSE;
+ gboolean use_reserved_slot = TRUE;
BT_CHECK_PARAMETER(value, return);
BT_CHECK_ENABLED_ANY(return);
const bluetooth_scan_resp_data_t *value, int length)
{
int result;
- gboolean use_reserved_slot = FALSE;
+ gboolean use_reserved_slot = TRUE;
BT_CHECK_PARAMETER(value, return);
BT_CHECK_ENABLED_ANY(return);