×

Discussion Board

Results 1 to 8 of 8
  1. #1
    Registered User
    Join Date
    Sep 2003
    Posts
    7

    Bluetooth HID profile

    Hi,
    I'm implementing a bluetooth application to act as a HID host and receive data from the HID keyboard. The scenario is:

    1. Initially I setup two L2CAP connections to the HID keyboard on port(PSM) 0x11 and 0x13 to get data from the two connections by using RSocket. This works fine for both reading and writing data on these two connections.

    2. If the connection is broken because of unknown reason, ex. out of radio range, then the application starts listening on the two sockets with the same port numbers(0x11 and 0x13) to wait for connection re-establish from HID keyboard.

    My problem is when the two listening sockets are accepted and connections are established, it will goes two situations. First, get KErrDisconnected or second, read no data after issuing read reqeust on the sockets. I'm sure that the HID keyboard is OK because it has been tested in PC environment. I guess it might be the incomplete HID implementation of my application. So is it possible to implement fully functional HID profile on S60 1.x and 2.0, 2.1?

  2. #2
    Regular Contributor
    Join Date
    Mar 2003
    Posts
    144

    Re: Bluetooth HID profile

    Hi,

    is it possible to get your existing source code for doing this?

    It would be very nice to send it to max dot odendahl at t-online dot de

    Thanks a lot for your help
    Max

  3. #3
    Registered User
    Join Date
    Dec 2005
    Location
    Finland
    Posts
    109

    Re: Bluetooth HID profile

    Hi ,

    I'm developing application that would make my mobile phone work as HID device. I can currently start both L2CAP connections bot no data is exchanged.

    Could it be possible for you to send your code to me, it would be very useful for me? And maybe I could help you. If yes can you mail it to jascco at gmail.com

    [EDIT]
    Sorry didn't notice that first post is so old. I think this thread is dead =(

  4. #4
    Registered User
    Join Date
    Apr 2008
    Posts
    17

    Re: Bluetooth HID profile

    Can I see your code?
    I am starting a application to make my n95 work as a hid mouse for windows, but i'm having so many problems...

  5. #5
    Super Contributor
    Join Date
    Mar 2008
    Posts
    1,481

    Re: Bluetooth HID profile

    Hi,
    For properly working your application with HID devices you have to implement the HID profile.
    Have you seen this site.

  6. #6
    Registered User
    Join Date
    Apr 2008
    Posts
    17

    Re: Bluetooth HID profile

    this software that u pointed me make possible to use a keyboard with the n95... how it will help me to make my application, since i want the cell phone to be the HID mouse for a pc?

  7. #7
    Super Contributor
    Join Date
    Mar 2008
    Posts
    1,481

    Re: Bluetooth HID profile

    Hi,

    Like I mentioned that you have to implement it by yourself.
    I gave the link so you can get some idea not about the implementation. In Bluetooth org there is a spec for HID, you can get it and implement it.

  8. #8
    Registered User
    Join Date
    Feb 2009
    Posts
    4

    Re: Bluetooth HID profile

    i apologize for digging up an old topic but with the HID available would you be able to use this to develop a mouse for the 5800?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×