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

need help for multilink Demo combined with timer

here I have a very strange problem. I m trying to send the data(1 byte) from slave to master,and I have to use the multilink demo because I will have 2 slave devices. The problem is if I add sd_ble_gatts_hvx in the time_out_handler ,when it triggered ,the master device will trigger db_discovery_evt_handler and notif_enable(p_client) , however no on_evt_hvx event triggered.

And I have tried to change the priority of timer_out_handler,but it not work.

ENVIRONMENT: SDK10.0 mdk 4.73 slave:s110SD master:s120SD

  • Hi mada,

    Please be more specified. Which time_out_handler() you were talking about, in which file ?

    You said db_discovery_evt_handler () was triggered, could you trace back to find which event was triggered ? I doesn't make much sense that sd_ble_gatts_hvx() triggered db_discovery_evt_handler.

    We do send a notification when button 0 pressed (in bsp_event_handler() in main.c on device side) , have you tried to test that ?

Related