Hello,
I've implemented one custom service very similar with NUS. I have two peripherical devices that are running in two PCA10040 with S132 12.1, and one central device that is running in one PCA10040 with S132 12.1. I've managed to connect, bond and communicate the periphericals and the central, one at a time. I've also implemented one peripherical device in one S6 with android 6. I've also managed to connect, bond and communicate the smartphone with central.
But I'm facing one problem: if I make the communication of the smartphone and central, and then try to communicate the PCA10040 with the central without reset the central, the connection and bond work, but the transmition of data through the caracteristics dont, despite the discovery of these characteristics "apparently" work. This problem also happens when I first communicate with the PCA10040, and then try to communicate with the smartphone. So my question is: Can the smartphone and the PCA10040 have the same service with the same UUID?
I'm asking this because I'm getting the same handdles in the service discovery when I switch between the devices(smartphone and PCA) without reset, but when I run then one at a time, resetting the PCA10040 between the executions, I get different handdles. For example, if I run the discovery for the PCA10040, I get the handles 1 and 2 for the tx and rx characteristics, then I reset the PCA10040 and run the discovery for the smartphone , I get the handles 3 and 4 for the tx and rx characteristics.
Best Regards.