Apple Magic Mouse

Iain Hibbert plunky at ogmig.net
Tue Sep 22 20:03:55 UTC 2015


On Sun, 20 Sep 2015, Dirk Engling wrote:

> > Feedback is welcome.

+/*
+ * Hard coded attibute IDs taken from the
+ * DEVICE IDENTIFICATION PROFILE SPECIFICATION V13 p.12
+ */
+
+#define SDP_DEVICE_ID_SERVICE_ATTR_VENDORID  0x0201
+#define SDP_DEVICE_ID_SERVICE_ATTR_PRODUCTID 0x0202
+#define SDP_DEVICE_ID_SERVICE_ATTR_VERSION   0x0203
+#define SDP_DEVICE_ID_RANGE SDP_ATTR_RANGE( \
+ SDP_DEVICE_ID_SERVICE_ATTR_VENDORID, SDP_DEVICE_ID_SERVICE_ATTR_VERSION )

in the rest of SDP code, these are styled SDP_ATTR_* is there a reason to 
be different?

 /*
+ * Inoffical and unannounced report ids for Apple Mice and trackpad
+ */

it is not required to credit the source of the information used to write 
the handler for this device, but it is good practice to do so :)

iain


More information about the freebsd-bluetooth mailing list