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

Single user application limitation for IPC interface #301

Open
arjunprakash84 opened this issue Nov 23, 2016 · 1 comment
Open

Single user application limitation for IPC interface #301

arjunprakash84 opened this issue Nov 23, 2016 · 1 comment
Labels

Comments

@arjunprakash84
Copy link

Thank you! Awa LwM2M looks like one of the best LwM2M frameworks available right now.

The user guide states that "Currently the IPC interface is implemented as a simple UDP channel, with an associated UDP port. It is recommended that only a single user application connect to the daemon's IPC interface at any time. ". Can you please give some details on why this limitation exists?

Also, what is the current status of the Python APIs for IPC interface?

@DavidAntliff
Copy link
Collaborator

DavidAntliff commented Nov 23, 2016

@arjunprakash84 the limitation exists as a recommendation because, apart from a Session ID, there are no integrity checks on either the client or server daemon to ensure that separate simultaneous applications do not cause each other problems. It hasn't been extended or tested simply due to it being what it is, currently. You may be able to make it work if you're careful. Improvements to IPC are on the roadmap I think.

There is a "hidden" Python API that is currently used only in the test framework for the tools. It provides some basic support and is intended to be the basis for a full API however I believe that is on the roadmap for future implementation. Patches/pull-requests are welcome, of course!

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

No branches or pull requests

2 participants