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

multi role without peer manager

I have a central application that I need to add a peripheral role to. I don't need to pair or bond in any of my connections, so I based my app on the ble_app_uart_c example. My question is, can I add a peripheral role to this example without adding the peer manager?

Parents
  • FormerMember
    0 FormerMember

    Yes, it will work fine to add a peripheral role to ble_app_uart_c without using peer manager. Peer manager is only needed of you want to store bonding information.

    When adding the peripheral role to your example, it can be useful to take a look at the example ble_app_hrs_rscs_relay in the ble_central_and_peripheral folder. It shows one way to implement/handle both central and peripheral roles concurrently.

Reply
  • FormerMember
    0 FormerMember

    Yes, it will work fine to add a peripheral role to ble_app_uart_c without using peer manager. Peer manager is only needed of you want to store bonding information.

    When adding the peripheral role to your example, it can be useful to take a look at the example ble_app_hrs_rscs_relay in the ble_central_and_peripheral folder. It shows one way to implement/handle both central and peripheral roles concurrently.

Children
Related