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

how to reduce 3 peripheral to 1 peripheral in S130

I'm using a S130 on nrf51822.

connect to 3 peripherals (in case of the master) connect to 1 central (in case of the slave)

But, I want to use 1 peripheral and 1 centeral How can I reduce 3 peripherals to 1 peripheral on central source? I can't find the definition. Please let me know that.

Parents
  • When the user press pair button, I call the below function.

    void pair_press(void) { sd_ble_gap_disconnect(m_ble_nus_c.conn_handle, BLE_HCI_REMOTE_USER_TERMINATED_CONNECTION);

    scan_start(); }

    So my device is connected as scan_start() and then "d i s c o n n e c t e d" as late sd_ble_gap_disconnect() response. (But sometimes, my device is disconnected and then connected, there is no problem in this case)

    Don't you support limited count of the peripheral connection? Should I use only 3 peripherals for 1 center?

Reply
  • When the user press pair button, I call the below function.

    void pair_press(void) { sd_ble_gap_disconnect(m_ble_nus_c.conn_handle, BLE_HCI_REMOTE_USER_TERMINATED_CONNECTION);

    scan_start(); }

    So my device is connected as scan_start() and then "d i s c o n n e c t e d" as late sd_ble_gap_disconnect() response. (But sometimes, my device is disconnected and then connected, there is no problem in this case)

    Don't you support limited count of the peripheral connection? Should I use only 3 peripherals for 1 center?

Children
No Data
Related