nRF Desktop

Hi, 

we would like to use nRF Desktop to test throughput and show we can send 20B per ms (from peripheral to central). 

The LLPM sample is not well optimized, while nRF Desktop is good application, hence we would like to do in nRF Desktop (assuming 1x nRF52840DK for gaming mouse, and one for dongle).

In the code, there is an option to spin automatically mouse cursor in circle, or for the simulated keyboard on the DK, we can send "nordic" continously... but how could we make sure that we send always 20Bytes? Is there way to modify the data sent, so that we can send randomly always 20bytes (it can still be HID data, but it must be 20bytes). 

Any suggestion?

thanks

Parents
  • hi Torbjørn,

    1. uart_rx must be continuously enter isr interrupt i believe.

        so change uar_rx timeout to 50000, the llpm can work normally. please see below.

        uart_rx_enable(uartrx->datasizeof(rx->data), 50000);

        however, i  have not see how timeout works.

    2.  and one more question about llpm is :

        CONFIG_BT_CONN_TX_MAX will help to buffer notification data?

    Regards,

    William.

Reply
  • hi Torbjørn,

    1. uart_rx must be continuously enter isr interrupt i believe.

        so change uar_rx timeout to 50000, the llpm can work normally. please see below.

        uart_rx_enable(uartrx->datasizeof(rx->data), 50000);

        however, i  have not see how timeout works.

    2.  and one more question about llpm is :

        CONFIG_BT_CONN_TX_MAX will help to buffer notification data?

    Regards,

    William.

Children
No Data
Related