I am looking to write a Bluetooth protocol implementation in C# i.e. All kind of request (开发者_开发知识库discovery etc) must be handled by my application. But I have no idea that from where should I start. Any suggestion? reference?
Various companies have produced Bluetooth software "stacks" for Windows: Microsoft themselves, Widcomm/Broadcom, IVT BlueSoleil, Toshiba, etc. As far as I know none of the stacks let you see the low level requests for responding to discovery ("Inquiry"), and its unlikely that they would do so.
I'm not even sure that the software level sees such requests, doesn't the radio answer inquiry requests itself -- check with the HCI interface so see if there's a inquiry request received (or simimalr named) event. I can't remember such an event.
BTW my library 32feet.NET provides .NET support for Bluetooth, OBEX and IrDA, on Windows: desktop and WM/CE, and in development for Blue+Linux+Mono. (I'm presuming you are on Windows based on the request for C#).
精彩评论