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

Initiate Session Termination On DLEP Router #11

Open
nagarjung opened this issue Sep 24, 2019 · 1 comment
Open

Initiate Session Termination On DLEP Router #11

nagarjung opened this issue Sep 24, 2019 · 1 comment

Comments

@nagarjung
Copy link

Hi All,
Is there a way/option to Initiate a Session Termination on DLEP router and see how DLEP modem responds to the session termination.
I am trying for gracefull termination rather killing the router process abnormally.

@davidpwiggins
Copy link
Contributor

A couple of ways come to mind:

  1. Have the router call DlepService::terminate(). This destroys the entire DlepService object though, so you'd have to call DlepInit again if you want to re-establish the session.
  2. Have the modem send a request with an invalid data item, e.g., a data item that is not allowed for that request. This will in most cases cause the router to terminate the session, and the peer discovery process will come into play and re-establish the session.

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

No branches or pull requests

2 participants