Skip to content
This repository was archived by the owner on Jan 4, 2023. It is now read-only.

Commit fcf01db

Browse files
committed
Fix get_service_data: was getting manufacturer data instead
Signed-off-by: Petre Eftime <[email protected]>
1 parent 992d9c3 commit fcf01db

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/BluetoothDevice.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -544,7 +544,7 @@ void BluetoothDevice::disable_manufacturer_data_notifications() {
544544
std::map<std::string, std::vector<uint8_t>> BluetoothDevice::get_service_data()
545545
{
546546
std::map<std::string, std::vector<uint8_t>> m_data;
547-
GVariant *v = device1_dup_manufacturer_data (object);
547+
GVariant *v = device1_dup_service_data (object);
548548

549549
if (v == nullptr)
550550
return m_data;

0 commit comments

Comments
 (0)