New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
iAP Bluetooth Connectivity Drops #1261
Comments
If this issue only appears when 10+ apps are connected, it is hard to understand how this could be an iOS library related issue. Based on that information alone, it would almost certainly be a module-side issue. The iOS library doesn't do anything different when 1 app is connected compared to 10. Can you provide more information that makes it clear that this is a library-side issue? |
@SatbirTanda Were the apps being tested using the multisession protocol, unique protocol strings or a mix of both? |
Does this mean when the SDL app icon is tapped the SDL app does not open, or that the SDL app opens but the screen is empty? |
@NicoleYarroch - The latter, the SDL app opens up but the default template shows. Also, the apps were a mix of both (some used the multisession string and some did not). |
@SatbirTanda TDK version: SYNC 3, v.3.4, Build 19126_DEVTEST Bug Report
Expected ResultAn Actual ResultNo |
The first bug could also be caused by #1264 |
It looks like there's a case where SDL attempts to create a session before the EAAccessory notification is executed, which leads to a one connection attempt to go to waste and occasionally a failure to ever pick up the Accessory (which might explain why apps do not show). The accessory always gets logged out as null too. Attached is a log showing failure to pick up accessory on first try, connecting to SYNC with RAI response, then a disconnect. This log displays issue 1 of the original post, the app displays on sync, does not populate the template when tapped, gets disconnected, but does not get removed from HMI. |
Can confirm we are seeing these issues if only one SDL app in on the phone |
@SatbirTanda I believe the race conditions in setting up a session when switching between BT and USB were fixed in PR #1248. If not, please reopen the issue. |
Hey @NicoleYarroch this issue is primarily seen on a a plain BT connection to a HU. (No transport switching) |
Yes, I integrated this develop branch into my cocoa pod and tested, seeing the app not appearing over BT in cases , also I cannot re-open the issue (no permission) |
@SatbirTanda Are you still seeing sessions being destroyed in your logs or is it just an |
I see the accessory get printed out as (null) and also I see that a session try to get created before the accessory is picked up. In SDLProxy.m I see [self.transport connect];
SDLLogV(@"Proxy transport initialization");
[[EAAccessoryManager sharedAccessoryManager] registerForLocalNotifications]; where connect is called before |
@NicoleYarroch can this issue be reopened, per Satbir's comments? The underlying issue is still seen... |
@SatbirTanda, @stefanek22 I created a new issue: #1316 and PR #1317 that I think fixes the issue of the session not being created. |
Bug Report
When connecting an iOS device with > 10 SDL apps to SYNC 3.2v2 via Bluetooth, a few errors appear:
Reproduction Steps
Expected Behavior
All apps should display and work properly
Observed Behavior
Sometimes App does not display on SYNC
Sometimes App does not work when tapped on SYNC (no RPCs received by SYNC)
OS & Version Information
The text was updated successfully, but these errors were encountered: