-
Notifications
You must be signed in to change notification settings - Fork 28
Lite API: LWM2M
Gyeonghwan Hong edited this page Dec 21, 2020
·
5 revisions
Parent Document: ANT APIs
LWM2M API takes charge of supporting communications based on LWM2M (LightWeight Machine-To-Machine).
The LWM2M API is composed of LWM2M-client functions and LWM2M-bootstrap-server functions.
Since LWM2M-server is usually used in user devices or server-level devices, ANT framework does not support LWM2M server APIs.
You need to load LWM2M API module before you use its API as following.
var lwm2mAPI = require('lwm2m');
- LWM2MClient LWM2MAPI.createClient(void)
- void LWM2MClient.register(String ip, Integer port, Object opts, Function callback)
- void LWM2MClient.on(void)
- SmartObject LWM2M.createSmartObject(void)
- void SmartObject.init(String oid, String iid, String resrcs, String setup)
- LWM2MBootstrapServer LWM2MAPI.createBootstrapServer(void)
- void LWM2MBootstrapServer.on(String eventType, Function handler)
- void LWM2MBootstrapServer.on(Object serverConfig)
- Void LWM2MBootstrapServer.start()
- Home
- About
- Getting Started
-
ANT APIs
- ANT Classic API
- ANT Lite API
- Getting Involved