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
  • Thanks Torbjørn,

    Your demo works fine.

    and my problem for llpm data rate is for below three reasons:

    1. i need to stop scan from central side after connection, 

    2. i need to delete Qos function on both sides

    3. i need to delete uart_init api -------this does't make any sense for me;

    the rest result is ,

    if uart_init is open, data rate is about 14600B/S;

    if uart_init is deleted, data rate is about 19600B/S;

    so, without uart function the throughput is fine for me;

    I could't not find out the reason, any clue on this problem?

    and it is this code that blocks llpm function

    uart_rx_enable(uart, rx->data, sizeof(rx->data), 50);

    Regards,

    William.

Reply
  • Thanks Torbjørn,

    Your demo works fine.

    and my problem for llpm data rate is for below three reasons:

    1. i need to stop scan from central side after connection, 

    2. i need to delete Qos function on both sides

    3. i need to delete uart_init api -------this does't make any sense for me;

    the rest result is ,

    if uart_init is open, data rate is about 14600B/S;

    if uart_init is deleted, data rate is about 19600B/S;

    so, without uart function the throughput is fine for me;

    I could't not find out the reason, any clue on this problem?

    and it is this code that blocks llpm function

    uart_rx_enable(uart, rx->data, sizeof(rx->data), 50);

    Regards,

    William.

Children
No Data
Related