Thermometer D-Bus API Signature

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I was looking at the Health Thermometer Watcher hierarchy under
docs/thermometer-api.txt and I guess the signature for the following
method is incorrect:

           void MeasurementReceived(dict measurement)

In my opinion, it should be:

       void MeasurementReceived(object device, dict measurement)

i.e. same as the one defined under heartrate-api.txt

Unfortunately, I do not have an actual thermometer or an emulator to
verify this but looking at the source code:
https://git.kernel.org/cgit/bluetooth/bluez.git/tree/profiles/thermometer/thermometer.c
for the method update_watcher (line #277), it looks that way.

Can some developer kindly verify this please? Thanks!

Regards,
Sujay Sarkhel
--
To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux