diff options
author | Sven Gothel <[email protected]> | 2020-06-27 12:38:00 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2020-06-27 12:38:00 +0200 |
commit | 406c56e2ebe96358ffd6000b033e0f99f87c66ac (patch) | |
tree | 49f52b1a69a9c2b9de674c2372958386ff7eebf6 /java | |
parent | aeb0f54cc1e622324ce06edff342180500e4ccd1 (diff) |
Use HCIHandler *connect*/disconnect; Enhance native + java test
Use HCIHandler *connect*/disconnect incl related events (Drop DBTManager in this regard)
> Add CONNECT_FAILED HCI listener mgmtEvConnectFailedHCI
-- Issuing a DISCONNECT event
> DBTAdapter: mgmtEvDeviceConnectedHCI
-- Always pass through, just issue WARNING if not a new_connect (TBD)
> DBTAdapter: mgmtEvDeviceDisconnectedHCI + mgmtEvDeviceConnectedHCI
-- removeConnectedDevice pre event issuing
-- removeDiscoveredDevice post event issuing
> DBTDevice:
-- Add isConnectIssued to differentiate isConnected on event
-- Only use HCIHandler's *connect*/disconnect
-- disconnect(..) no more issues removeConnectedDevice, rely ion correct event issuing/handling,
as performed in time @ mgmtEvDeviceDisconnectedHCI...
-- remove() issues removeConnectedDevice and removeDiscoveredDevice pre releaseSharedInstance
to ensure a clean tracking state. The whole purpose of this command.
+++
Enhance native + java test
After disconnect() wait (poll) until no more connected, before issuing remove(),
this shall ensure proper workflow pre remove() - validation of disconnect command.
Diffstat (limited to 'java')
0 files changed, 0 insertions, 0 deletions