hey there; I'm trying to implement an ANCS (Apple Notification Centre Service) using NimBLE - I'm having real trouble though because it needs you to make a server on your device, solicit the UUID for ANCS, connect the iOS device ("phone" to save me typing device constantly) as a client, authenticate etc, then create a client and connect the phone as a server, at the same time.
I have built my code virtually mirroring an implementation of ANCS for arduino built on bluedroid, but as soon as I try to connect the client it spits out "E NimBLEClient: A connection to xx:xx:xx:xx:xx:xx already exists" (and there isn't a client connection; it's the NimBLEServer connection to the phone).
I know the hardware can manage it etc; anyone care to help me out where I'm going wrong?
hey there; I'm trying to implement an ANCS (Apple Notification Centre Service) using NimBLE - I'm having real trouble though because it needs you to make a server on your device, solicit the UUID for ANCS, connect the iOS device ("phone" to save me typing device constantly) as a client, authenticate etc, then create a client and connect the phone as a server, at the same time.
I have built my code virtually mirroring an implementation of ANCS for arduino built on bluedroid, but as soon as I try to connect the client it spits out "E NimBLEClient: A connection to xx:xx:xx:xx:xx:xx already exists" (and there isn't a client connection; it's the NimBLEServer connection to the phone). I know the hardware can manage it etc; anyone care to help me out where I'm going wrong?