summaryrefslogtreecommitdiff
path: root/test/bt_unit_test.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/bt_unit_test.c')
-rw-r--r--test/bt_unit_test.c11
1 files changed, 1 insertions, 10 deletions
diff --git a/test/bt_unit_test.c b/test/bt_unit_test.c
index 18b5239..22c6fb4 100644
--- a/test/bt_unit_test.c
+++ b/test/bt_unit_test.c
@@ -4741,10 +4741,6 @@ int test_input_callback(void *data)
ret = bt_gatt_set_value(battery_h.chr, char_value, 1);
TC_PRT("Value[%d], returns %s\n", char_value[0], __bt_get_error_message(ret));
- /* notify only client remote_addr */
- ret = bt_gatt_server_notify(battery_h.chr, true, __bt_gatt_server_notification_sent_cb, remote_addr, NULL);
- TC_PRT("bt_gatt_server_notify : %s\n", __bt_get_error_message(ret));
-
break;
}
case BT_UNIT_TEST_FUNCTION_GATT_SERVER_REGISTER_HEART_RATE_SVC: {
@@ -4817,8 +4813,7 @@ int test_input_callback(void *data)
ret = bt_gatt_set_int_value(heart_rate_h.chr, BT_DATA_TYPE_UINT16, char_value, 1);
TC_PRT("bt_gatt_set_value(value : %d) : %s\n", char_value, __bt_get_error_message(ret));
- /* Notify all client devices */
- ret = bt_gatt_server_notify(heart_rate_h.chr, true, __bt_gatt_server_notification_sent_cb, NULL, NULL);
+ ret = bt_gatt_server_notify(heart_rate_h.chr, false, __bt_gatt_server_notification_sent_cb, NULL);
TC_PRT("bt_gatt_server_notify : %s\n", __bt_get_error_message(ret));
break;
@@ -4879,10 +4874,6 @@ int test_input_callback(void *data)
ret = bt_gatt_set_float_value(thermometer_h.chr, BT_DATA_TYPE_FLOAT, 123, -2, 1);
TC_PRT("bt_gatt_set_value(value : 1.23) : %s\n", __bt_get_error_message(ret));
- /* notify only client remote_addr */
- ret = bt_gatt_server_notify(thermometer_h.chr, true, __bt_gatt_server_notification_sent_cb, remote_addr, NULL);
- TC_PRT("bt_gatt_server_notify : %s\n", __bt_get_error_message(ret));
-
break;
}
case BT_UNIT_TEST_FUNCTION_GATT_SERVER_REGISTER_DEVICE_INFORMATION_SVC: {