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

Two NUS client services and one NUS server service

Hello,

i'm using the nrf52832 with s132 and SDK15. I start the project take into account the example ble_app_hrs_rscs_relay.

The system is composed by 3 different services:

- NUS Client, that connects to one sensor

- NUS Client, that connects to another sensor

- NUS Server, that connects to an app mobile. 

The problem that occurs is that as soon as one sensor turns on, it links with both the client service of my device. So when the second sensor will turn on, it's not able to connect with the device beacuse all the services are connected. 

what I see on the log is:


<info> app: Central connected
<info> app: Attempt to find HMI or SSC on conn_handle 0x0
<info> app: HMI discovered on conn_handle 0x0
<info> app: Sensor SpeedCandence discovered on conn_handle 0x0

How can i solve this problem?

Thanks in advance

Anna 

Related