bluetooth: unify BlueZ 4 and BlueZ 5 UUID handling
authorTanu Kaskinen <tanuk@iki.fi>
Sun, 7 Aug 2016 15:45:52 +0000 (18:45 +0300)
committerTanu Kaskinen <tanuk@iki.fi>
Wed, 10 Aug 2016 18:37:33 +0000 (21:37 +0300)
commit52a9ee618f7f250fd3c5be3f9a000f1aa5f77db6
treef01b63962ae000224b618ed4fda918c61e73b128
parent570288ccc9e2ce50c270125020353c0899a29b55
bluetooth: unify BlueZ 4 and BlueZ 5 UUID handling

A hashmap is more convenient than a linked list for storing the UUIDs,
so change the BlueZ 4 code accordingly.

Rename the BlueZ 4 UUID constants to match the BlueZ 5 naming.

The only changes to the BlueZ 5 code are the addition of one comment
and making another comment a bit clearer.
src/modules/bluetooth/bluez4-util.c
src/modules/bluetooth/bluez4-util.h
src/modules/bluetooth/bluez5-util.c
src/modules/bluetooth/bluez5-util.h
src/modules/bluetooth/module-bluez4-device.c