Now from your answer I can conclude that my understanding of PSMs was not correct and I would need to add these required attributes in SDP service record These channels, there isn't much documentation in MSDN on what PSMs are meant for why we need them etc. In my understanding I thought of PSMs as a way windows registers 1.1 and it said that 0x11 and 0x13 are mandatory HID service attributes and that 2 devices communicate on these 2 channels. I was going through the HID Profile spec. Having said that, I can only be sure 100% once I actually try it out, as they say, the proof is in the pudding :)įor PSMs I still don't get it. Which means that the remote phone will see only one HID connection that it can initiate a connection to.
BTSTACK MOUSE IOS 7 DRIVER
Whereas, the other HID host service record is there but not advertised and the driver is installed as client and The HIDĭevice service record is advertised and the corresponding profile driver is installed as server accepting incoming connections to it over L2CAP. Yes I am also confused at having 2 identical service GUID (HID) records residing in the SDP database but I am hoping it may work because despite the fact that they have same GUID there are few key differences. If registering HID related PSMs is not possible as these are already reserved by windows, what other possible alternatives are there for handling this particular Kindly guide if what I think is correct or am I going totally in the wrong direction to start with. Without beingĪble to register these PSMs remote devices won't be able to connect to the service. I haven't actually started coding yet but I suspect that if I try to register the above PSMs by callingīRB_REGISTER_PSM I would get an STATUS_ALREADY_COMMITTED error. From MSDN I read that windows reserves some PSMs and HIDĬontrol 0x11 and HID Data 0x13 are two PSMs that are among the reserved. Now my problem is that in order to advertise HID device service record I would need to register a PSM. To advertise HID device service record so that remote phone device can find it and connect to it. I plan to register the profile driver as a server and then access SDP interface
So far I have figured that I would need to write a bluetooth profile driver that would accept incoming connections over L2CAP. I have been reading a lot on MSDN for the right track. I would eventually want to control the remote phone device using the windows 7 mouse and keyboard. My windows 7 PC as a bluetooth mouse and/or keyboard.
BTSTACK MOUSE IOS 7 ANDROID
The idea is that using this connection an android phone, for example, would see I am planning to write a bluetooth profile driver that would act as a HID device to other bluetooth devices like iPhone and Android.