Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
9 years, 9 months ago.
App Disconnects Unexpectedly
So I can see the BlueNRG advertising and (shows up as BlueNRG_HRM on my phone) but when I try to connect I get an error message saying the connection has timed out. I'm connecting using an iPhone 5. This is the log from the serial port when that happens:
serial_log
updating bleCharacteristic charHandle =17, corresponding serviceHanle= 16 updating bleCharacteristic charHandle =17, corresponding serviceHanle= 16 updating bleCharacteristic charHandle =17, corresponding serviceHanle= 16 updating bleCharacteristic charHandle =17, corresponding serviceHanle= 16 updating bleCharacteristic charHandle =17, corresponding serviceHanle= 16 Connected updating bleCharacteristic charHandle =17, corresponding serviceHanle= 16 EVT_BLUE_GATT_ATTRIBUTE_MODIFIED CharHandle 4, length: 2, Data: 2 getProperties 0x2 updating bleCharacteristic charHandle =17, corresponding serviceHanle= 16 Disconnected! Restarting the advertising process name= BlueNRG_HRM updating bleCharacteristic charHandle =17, corresponding serviceHanle= 16 updating bleCharacteristic charHandle =17, corresponding serviceHanle= 16