Hello,
I´ve got a problem with the primary services discovery when register more than 1 vendor specific UUID. I´m actually connecting one Cadence Sensor and one Motion Sensor using NUS with runs fine.
Now i wanted to add a Ti SensorTag which also has a vendor specific UUID. As a standalone application the sensor is running. However if i add the SensorTag to my project with the other two sensors the sensor using a vendor specific uuid which get´s initialized second can´t be discovered. This is due to the fact that in ble_discovery_start() the second initialized with a vendor specific uuid get´s wrong data, i.e. the data of the first initialized vendor specific uuid sensor. To give an example if the Ti Sensortag (vendor specific UUID) get´s initialized after the motion sensor (NUS=vendor specific UUID), the SensorTag receives in the ble_discovery_start() the data which belongs to the NUS. Viceversa the problem is the same.
p_srv_being_discovered = &(p_db_discovery->services[p_db_discovery->curr_srv_ind]);
p_srv_being_discovered->srv_uuid = m_registered_handlers[p_db_discovery->curr_srv_ind];
How can i solve this?