Other Parts Discussed in Thread: WL1837
We continue to experience issues in using the last supported service pack (3.9). Often in regular BLE connections where our device is acting as the Peripheral, there seems to be issues where the system gets into a state where it does not disconnect from the Central (an App for iOS or Android), and subsequent forced calls to GAP_LE_Disconnect and GAP_LE_Advertising_Enable (which should be done after a disconnect is handled) result in the error code (-14) BTPS_ERROR_HCI_DRIVER_ERROR being returned.
Currently the only way we have to remedy this is to reset our device either manually by cutting power or telling our MSP to reset when the error state is triggered.
It's not easily repeatable, but with 5 second intervals of connect->disconnect from our Central, within a few minutes eventually we'll get into the bad state. Of course this is bad for our users as they fail to see our device in the scan results we present.
Not sure this sounds like something the latest SP would help with, or if there's likely another underlying issue based on error (-14).
If the latter - what could be the next steps to continue debugging?
If the former - can we try and move to another modern stack (like Bluekitchen) to load with the latest service packs on our Wilink8 - as Bluetopia for MSP has been stale for 5+ years now?