BT_CHECK_INIT_STATUS();
BT_CHECK_INPUT_PARAMETER(monitor); /* LCOV_EXCL_START */
- if(_bt_proximity_minotr_find(monitor_s->remote_address) == NULL)
+ if (_bt_proximity_minotr_find(monitor_s->remote_address) == NULL)
return BT_ERROR_REMOTE_DEVICE_NOT_CONNECTED;
if (monitor_s->connection_callback) {
BT_CHECK_INIT_STATUS();
BT_CHECK_INPUT_PARAMETER(monitor_s);
- if(_bt_proximity_minotr_find(monitor_s->remote_address) == NULL)
+ if (_bt_proximity_minotr_find(monitor_s->remote_address) == NULL)
return BT_ERROR_REMOTE_DEVICE_NOT_CONNECTED;
error_code = bt_gatt_connect(monitor_s->remote_address, FALSE);
BT_CHECK_INIT_STATUS();
BT_CHECK_INPUT_PARAMETER(monitor_s);
- if(_bt_proximity_minotr_find(monitor_s->remote_address) == NULL)
+ if (_bt_proximity_minotr_find(monitor_s->remote_address) == NULL)
return BT_ERROR_REMOTE_DEVICE_NOT_CONNECTED;
error_code = bt_gatt_disconnect(monitor_s->remote_address);
BT_CHECK_INPUT_PARAMETER(monitor_s);
BT_CHECK_INPUT_PARAMETER(callback);
- if(_bt_proximity_minotr_find(monitor_s->remote_address) == NULL)
+ if (_bt_proximity_minotr_find(monitor_s->remote_address) == NULL)
return BT_ERROR_REMOTE_DEVICE_NOT_CONNECTED;
/* register the callback */
BT_CHECK_INIT_STATUS();
BT_CHECK_INPUT_PARAMETER(monitor_s);
- if(_bt_proximity_minotr_find(monitor_s->remote_address) == NULL)
+ if (_bt_proximity_minotr_find(monitor_s->remote_address) == NULL)
return BT_ERROR_REMOTE_DEVICE_NOT_CONNECTED;
/* unregister the callback */
BT_CHECK_INIT_STATUS();
BT_CHECK_INPUT_PARAMETER(monitor); /* LCOV_EXCL_LINE */
- if(_bt_proximity_minotr_find(monitor_s->remote_address) == NULL)
+ if (_bt_proximity_minotr_find(monitor_s->remote_address) == NULL)
return BT_ERROR_REMOTE_DEVICE_NOT_CONNECTED;
if (!(pxp_monitor_supported_services & BT_PROXIMITY_LINKLOSS_ALERT))
BT_CHECK_INIT_STATUS();
BT_CHECK_INPUT_PARAMETER(monitor); /* LCOV_EXCL_LINE */
- if(_bt_proximity_minotr_find(monitor_s->remote_address) == NULL)
+ if (_bt_proximity_minotr_find(monitor_s->remote_address) == NULL)
return BT_ERROR_REMOTE_DEVICE_NOT_CONNECTED;
if (!(pxp_monitor_supported_services & BT_PROXIMITY_IMMEDIATE_ALERT))
BT_CHECK_INIT_STATUS();
BT_CHECK_INPUT_PARAMETER(monitor); /* LCOV_EXCL_LINE */
- if(_bt_proximity_minotr_find(monitor_s->remote_address) == NULL)
+ if (_bt_proximity_minotr_find(monitor_s->remote_address) == NULL)
return BT_ERROR_REMOTE_DEVICE_NOT_CONNECTED;
if (!(pxp_monitor_supported_services & BT_PROXIMITY_LINKLOSS_ALERT))
BT_CHECK_INIT_STATUS();
BT_CHECK_INPUT_PARAMETER(monitor); /* LCOV_EXCL_LINE */
- if(_bt_proximity_minotr_find(monitor_s->remote_address) == NULL)
+ if (_bt_proximity_minotr_find(monitor_s->remote_address) == NULL)
return BT_ERROR_REMOTE_DEVICE_NOT_CONNECTED;
if (!(pxp_monitor_supported_services & BT_PROXIMITY_IMMEDIATE_ALERT))
BT_CHECK_INIT_STATUS();
BT_CHECK_INPUT_PARAMETER(monitor); /* LCOV_EXCL_LINE */
- if(_bt_proximity_minotr_find(monitor_s->remote_address) == NULL)
+ if (_bt_proximity_minotr_find(monitor_s->remote_address) == NULL)
return BT_ERROR_REMOTE_DEVICE_NOT_CONNECTED;
if (!(pxp_monitor_supported_services & BT_PROXIMITY_TX_POWER))