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

Support for dynamic module loading #20

Open
RedCarrottt opened this issue Nov 24, 2020 · 0 comments
Open

Support for dynamic module loading #20

RedCarrottt opened this issue Nov 24, 2020 · 0 comments

Comments

@RedCarrottt
Copy link
Member

Since the low-end IoT devices such as Cortex-M have very small memory constraint, it is unable to load all the ANT APIs.
For example, we added ANT APIs related to IoT standard protocols such as OCF this year.
In present version of IoT.js, it only supports static linking configuration to load some APIs.

However, we don't know which ANT API the user application requires, so static linking configuration is not sufficient.
Therefore, IoT.js for ANT requires dynamic module loading based on dynamic linking.

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

No branches or pull requests

1 participant