Closed RomanReznichenkoLuxoft closed 2 years ago
@jordynmackool This PR is ready for Livio review
@jacobkeeler We are doing regression testing right now, I’ll let you know when this PR is ready for re-review
@jacobkeeler This PR is ready for review.
Fixes #3346
This PR is ready for review.
Risk
This PR makes no API changes.
Summary
Core runs scripts for thread delegates at intervals. Bluetooth is constantly running an event of type ON_DEVICE_LIST_UPDATED, but we do not receive new devices to connect. So I added a check to abort the script with an empty device list. When we connect the device, it acquires the status of connected, but we only checked the response of the ConnectDevice function. Because of this, after connecting the device, we constantly run an event of type ON_CONNECTION_STATUS_UPDATED. UpdateAppList is called when processing this event.
CLA