This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

About ble_app_hids_mouse consumer function

Based on nRF51822\Board\nrf6310\ble\ble_app_hids_mouse example, Used hid consumer page function, like play/pause or volume+ or volume- ...etc function,

In nRF51822 device with PC (windows 8 OS) connected, Before this media function it working, After power off nRF51822 device and repower on device, hid media function it has gone ! I need remove from PC device list and connect again, media function just can working. how can i fixd it ?

Parents
  • Hi Marschen,

    Is it only the consumer page HID reports that cannot be sent, or does this apply to all data? If it applies to everything: have you tried connection the ble_app_hids_mouse example to the Master Emulator? Unless you have a Bluetooth sniffer at hand, that is the easiest way to see if the data is actually being sent from the nRF51822 to the Central side.

    A number of things can cause this situation, determining if the data is actually sent will help narrow down the possibilities. For example, if the bonding keys or system attributes aren't properly stored to flash (see ble_bondmngr SDK component) they will be lost when nRF51822 is powered down. If they are lost, Win8 will connect, but the link cannot be encrypted and data is not sent.

Reply
  • Hi Marschen,

    Is it only the consumer page HID reports that cannot be sent, or does this apply to all data? If it applies to everything: have you tried connection the ble_app_hids_mouse example to the Master Emulator? Unless you have a Bluetooth sniffer at hand, that is the easiest way to see if the data is actually being sent from the nRF51822 to the Central side.

    A number of things can cause this situation, determining if the data is actually sent will help narrow down the possibilities. For example, if the bonding keys or system attributes aren't properly stored to flash (see ble_bondmngr SDK component) they will be lost when nRF51822 is powered down. If they are lost, Win8 will connect, but the link cannot be encrypted and data is not sent.

Children
No Data
Related