Hi Vanu:
Thanks for your suggestion. However, isn't there a better way? I don't
know the HID specification, but I imagine it should probably foresee the
possibility of not repeating the remote name request when you need fast
reconnection. Isn't there an operating mode, configuration option,
whatever, that would do this without the need to modify bluez' code? I'd
like to make sure there is really no better alternative, before going
down this path. What do you think?
Regards,
Daniel
venu wrote:
Hi Daniel,
Actually you are right, it can directly do read remote features
without doing a remote name request, as the connection already exists.
Why dont you run a small experiment. Find the place in the code which
sends HCI Command to do a remote name request and comment that piece
of code if the HID Connection exists and then try reconnecting i.e.
1. Make the above changes to the code.
2. Pair your hid as well as establish HID Connection.
3. While doing get the HCI DUMP again, this time you should not see
any HCI Command for remote name request.
I sure , you should see improvement in the reconnection timing, as a
side note if you have any hci tracer for windows you can capture the
HCI Traces as you have caputred above and compare them too, that will
give you clues what exactly is happening.
Cheers,
Venu
--
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