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

Increasing number of bytes in HID descriptor

Hi,

I'm working on hid keyboard example. How can I check whether multiple bytes are received & transmitted after I increase the assigned no. of bytes in input/output report? From the code I understood that nrf device can send 64 bytes to host device. So how do I append bytes in one packet of 64 bytes when sending to host? How does it work from host side? Does nrf read 1 byte at a time sent from host?

Parents Reply
  • Why is the api displaying bytes less than 247?

    The bluetooth is now advertising and got connected. The changes I made in sdk_config.h

    #define NRF_SDH_BLE_GAP_EVENT_LENGTH 400
    
    #define NRF_SDH_BLE_GATT_MAX_MTU_SIZE 247

    I also changed the ram address.

    But still only 22 bytes are displayed in nrfconnect.

    In other api, 64 bytes are displayed

    If I change BLE_GATT_ATU_MTU_DEFAULT to 247, I get the error BLE_HCI_CONN_FAILED_TO_BE_ESTABLISHED

    I also tried to change the optimization level.

    Also used internal crystal.

    Should I use 2Mbps link?

    Please guide with concrete solution.

Children
No Data
Related