I am trying to get a communication between two pieces nRF51822 using the my service. I checked the peripheral with Master Controll Panel app and is working fine. The multilink peripheral is connected to an central and 1 characteristic is working fine.
I think there might be a problem with the db_discovery_evt_handler function as I implemented it. This is the function that searches for the characteristic, but my service has three characteristics.
How do I add characteristics?
There is done now, but not so good. I modified the functions static void on_evt_hvx(ble_evt_t * p_ble_evt, client_t * p_client) and static void db_discovery_evt_handler(ble_db_discovery_evt_t * p_evt).