Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit a081bada authored by Hansong Zhang's avatar Hansong Zhang
Browse files

L2CAP: Use new event stream model

Move event handling logic to client code for flexibility. Instead of
having multiple streams and requirements for subscribing and
unsubscribing a stream, server pushes all events to the stream, and let
the client fetch all of them at the same time. Adding an event handler
in client code which allows callbacks upon receiving an event.

Rewrote the existing L2CAP cert tests and improved the stability.

Next step is to migrate this new event stream model to other modules and
facade code.

Also handle command timeout properly (L2CAP/COS/CED/BV-08-C).

Bug: 144305062
Bug: 141557006
Test: cert/run_cert.sh
Change-Id: I2bea1c7c29ce941e1c357273cca853a665c67baa
parent cfb36495
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment