Skip to content
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

Implement device to device communication manager #11533

Closed
pan-apple opened this issue Nov 8, 2021 · 1 comment · Fixed by #11703
Closed

Implement device to device communication manager #11533

pan-apple opened this issue Nov 8, 2021 · 1 comment · Fixed by #11703

Comments

@pan-apple
Copy link
Contributor

Problem

Need a class implementation that provides an API that a device/application can use to communicate with another (set of) device/s. At a high level, the class would provide APIs to

  1. Initiate secure connection with a peer device. Get notified when the connection is available, or if it failed.
  2. Use DNS cache to lookup and manage addresses of peer devices.
  3. Use CASE session cache to resume a session, if possible.
  4. Maintain a list of active connections for a set of peer devices. So that active connections can be reused.

At a high level, this class is doing a lot of what chip::DeviceController does today. It might be possible to refactor DeviceController to a minimal set of API and use that for Controller as well as Device to Device communication.

@pan-apple
Copy link
Contributor Author

LRU Cache Template (#11531) can be used to implement DNS Cache and CASE session cache.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants