[SailfishDevel] Bluetooth battery level monitoring

Pali Rohár pali.rohar at gmail.com
Fri Dec 13 13:51:36 UTC 2019


On Friday 13 December 2019 00:37:13 Bjoern Bidar wrote:
> Hey
> 
> Looks really interessting especially when considering how buggy the profile 
> handling is currently and the mess that every vendor creates.

My proposed design already handles battery level (via AT+IPHONEACCEV
command and other vendors too) and should allow to define new interfaces
for other vendor extensions which may come in future.

> I think when it comes to the programming language c plus glib is probably the 
> preffered choice.

For prototype implementation which basically handles whole specification
except HFP AG role I chose Perl language. But just because it is fast
for me to write such low level code which needs to parse lot of text
protocol commands and do socket bluetooth socket stuff. It was just
prototype to check if my prosed API specification make sense and if it
is possible to implement daemon according to it. C language is fine for
me, but I decision would depends on people who would do real
implementation.

If somebody else is interesting in with helping, please let me know.

> I hope this brings linux closer to the feature state of bluedroid.

-- 
Pali Rohár
pali.rohar at gmail.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
URL: <https://lists.sailfishos.org/pipermail/devel/attachments/20191213/461bf99b/attachment.sig>


More information about the Devel mailing list