Merge "Fixed the unicast address for send indication" into tizen accepted/tizen/unified/20190212.084048 submit/tizen/20190211.065813 submit/tizen/20190211.100729
authorPyun DoHyun <dh79.pyun@samsung.com>
Mon, 11 Feb 2019 06:57:05 +0000 (06:57 +0000)
committerGerrit Code Review <gerrit@review.ap-northeast-2.compute.internal>
Mon, 11 Feb 2019 06:57:05 +0000 (06:57 +0000)
bt-oal/bluez_hal/src/bt-hal-gatt-server.c

index 57d266b..a280c3d 100644 (file)
@@ -2895,7 +2895,8 @@ static bt_status_t gatt_server_send_indication(int server_if, int attribute_hand
        g_variant_builder_add(outer_builder, "{sv}", "Notifying",
                        g_variant_new("b", notify));
 
-       _bt_hal_convert_addr_type_to_string(addr, (unsigned char *)conn_info->addr);
+       memcpy(addr, conn_info->addr, BT_HAL_ADDRESS_STRING_SIZE);
+       DBG("Send Indication to Unicast addr [%s]", addr);
 
        g_variant_builder_add(outer_builder, "{sv}", "Unicast",
                        g_variant_new("s", addr));