D/BLUETOOTH_HAL( 336): bt-hal-event-receiver.c: __bt_hal_device_properties_lookup(1793) > Device RSSI [0] Property num [6]
D/BLUETOOTH_HAL( 336): bt-hal-event-receiver.c: __bt_hal_device_properties_lookup(1793) > Device RSSI [0] Property num [6]
D/BLUETOOTH_HAL( 336): bt-hal-event-receiver.c: __bt_hal_device_properties_lookup(1793) > Device RSSI [0] Property num [6]
Change-Id: I1efa6e609bafb368ae2ae247cebbd5b83f85edc2
Signed-off-by: Wootak Jung <wootak.jung@samsung.com>
g_variant_unref(tmp_value);
/* RSSI*/
- tmp_value = g_variant_lookup_value(value, "RSSI", G_VARIANT_TYPE_INT32);
- int rssi = tmp_value ? g_variant_get_int32(tmp_value) : 0;
+ tmp_value = g_variant_lookup_value(value, "RSSI", G_VARIANT_TYPE_INT16);
+ int rssi = tmp_value ? g_variant_get_int16(tmp_value) : 0;
size += __bt_insert_hal_properties(buf + size, HAL_PROP_DEVICE_RSSI,
sizeof(int), &rssi);
ev->num_props++;