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

Error run multi NUS

Hi all, I encountered a problem , when I connect 1 board central to 2 board peripheral via NUS . It connected and discovery success . But at

static void db_disc_handler(ble_db_discovery_evt_t * p_evt)

{

ble_nus_c_on_db_disc_evt(&m_ble_nus_c[p_evt->conn_handle], p_evt);

printf("db_disc_handler [0x%x]\r\n",p_evt->conn_handle);

}

my central board run this funtion several times before run correct . As picture : image description

If you also encountered this problem . Pls send me advice . Thank !!

Related