Bluetooth connection context

I have to make a connection  from a central_uart  to 4 periperal_uart  every 60ms Sending  30 byte .

I Have to make a polling of  all the peripheral every 60ms.

I know that a connection will take 7.5mS more or less. If I use   Bluetooth connection context  lib I don't lose 7.5ms for the connection ?

The  4 Peripherals  will be always connected with the central  ? May I save this lib in NVM  ? And than  I use the " saved data of  the connection context lib " when   I start again  the central_uart? 

I would like to take on the connection between the central_uart and the 4 peripheral_uart for 8h.

Best Regards

Novello G.

Parents
  • I Have see the webminar. The main problem is that  in the BLE library there are many parameter that are not clear for me.

    my multi_nus and the 4 peripheral_uart work well if I send (20byte  message every 0.5 second.) If I have to send a message from the central_unit to the 4 peripheral every 80ms I have some errore.

    So I'm Trying to modify some parameter to ingrease the throughput  but for me is impossible to understand  what are:

    CONFIG_BT_ACL_RX_SIZE=502   ?  (see througput examples)

    CONFIG_BT_:AT_PREPARE_CONT=2

    CONFIG_BT_L2CAP_TX_BUF_COUNT =10 .. etc.

    And how the modify the perfomance of my system. After that I have to setup coded_phy LINK.

Reply
  • I Have see the webminar. The main problem is that  in the BLE library there are many parameter that are not clear for me.

    my multi_nus and the 4 peripheral_uart work well if I send (20byte  message every 0.5 second.) If I have to send a message from the central_unit to the 4 peripheral every 80ms I have some errore.

    So I'm Trying to modify some parameter to ingrease the throughput  but for me is impossible to understand  what are:

    CONFIG_BT_ACL_RX_SIZE=502   ?  (see througput examples)

    CONFIG_BT_:AT_PREPARE_CONT=2

    CONFIG_BT_L2CAP_TX_BUF_COUNT =10 .. etc.

    And how the modify the perfomance of my system. After that I have to setup coded_phy LINK.

Children
  • Hi Novello, 


    Which error do you have ? 

    I think the most important thing is that you can control the connection interval. 

    Have you checked which exact connection interval you have on the connection ? 

    I have made a blog about optimizing connection interval here. Please have a look. 

    Please try to capture a sniffer trace. From that we can do further analysis of the communication. Made sure you follow an advertiser before you make the connection. The sniffer can only track one connection at a time. 

Related