Tool/software: Code Composer Studio
Hello,
I'm reading print statements from simplePeripheral to the console. As can be seen from the console output, the device tries to connect several times. On the iPhone the app (LightBlue) finally issues a connection error. When I click dismiss, I get the last entry in the console "conn 255". I don't see a counter increment. It jumps from 1 connection to 0 connections to 255 connections. Can anyone explain this behavior? Also, when I disconnect the device from the debugger, the device connects just fine. There are references in the documentation suggesting that this behavior can occur, but this makes printing to the console limitedly useful.
Cortex_M3_0] * Simple Peripheral ==================== Initialized Dev Addr: 0x0081F9838081 Adv Set 1 Enabled Adv Set 0 Enabled Adv Set 0 Disabled Adv Set 0 disabled after conn 0 Num Conns: 1 Connected to 0x68FC0C286197 * Simple Peripheral +Work with > Adv Set 1 Disabled Device Disconnected! Num Conns: 0 * Simple Peripheral Adv Set 0 Enabled Adv Set 1 Enabled Adv Set 0 Disabled Adv Set 0 disabled after conn 0 Num Conns: 1 Connected to 0x68FC0C286197 * Simple Peripheral +Work with > Adv Set 1 Disabled Device Disconnected! Num Conns: 0 * Simple Peripheral Adv Set 0 Enabled Adv Set 1 Enabled Adv Set 0 Disabled Adv Set 0 disabled after conn 0 Num Conns: 1 Connected to 0x68FC0C286197 * Simple Peripheral +Work with > Adv Set 1 Disabled Device Disconnected! Num Conns: 0 * Simple Peripheral Adv Set 0 Enabled Adv Set 1 Enabled Adv Set 0 Disabled Adv Set 0 disabled after conn 255