I am modifying the SimpleBLECentral and SimpleBLEPeripheral code to make the peripheral the client and the central the server. This is opposite how the boards in the eval kit are shipped. I have the peripheral trying to send data, but I get a Write Error: 1 (copied the code exactly from Central for the simpleBLECentralProcessGATTMsg function).
I also copied all simpleProfile calls into the central code. I am never reaching the simpleProfileChangeCB function that I copied though. I'm wondering if there is something I missed getting the profile table setup correctly now that roles have changed. Has anyone else done this successfully?
I can provide the code for these if that helps.