OMA LWM2M communication with Arduino

0 votes
I am using an Eclipse Leshan library to run an LWM2M server. What I can't get is how to run an LWM2M Leshan client on an Arduino board to connect it with a LWM2M Leshan server? Also, my LWM2M Leshan client implementation is scripted in Java, which is not supported on an Arduino.
Aug 27, 2018 in IoT (Internet of Things) by Bharani
• 4,550 points
183 views

1 answer to this question.

0 votes
You'll have to understand that an Arduino is not based on a microprocessor and is therefore unable to support the more than just one language as it lacks a software stack and its IDE is the only software it has. Now, this IDE just supports C/C++ syntax, libraries, and functions, which essentially means that your LWM2M Leshan Client written in Java will not work on the Anduino.

So, as an alternative, you could run a C/C++ based LWM2M client implementation like Eclipse Wakaama project on the Arduino instead of the Eclipse Leshan. Then again, without a software stack, porting even Wakaama to Arduino can be a task if you're not proficient or highly skilled. What you'll need for it are Arduino compatible libraries for CoAP and probably Arduino OTA. Otherwise, you could just switch to an Arduino Yun, which offers a Linux software stack, and you can easily port Wakaama to it.
answered Aug 27, 2018 by nirvana
• 3,060 points

Related Questions In IoT (Internet of Things)

0 votes
1 answer

Internet Communication with End-to-End Feature

Even if it's not a programming question ...READ MORE

answered Sep 4, 2018 in IoT (Internet of Things) by anonymous2
• 4,260 points
21 views
0 votes
1 answer
0 votes
1 answer
0 votes
1 answer

Issues with Intel Edison MRAA module

You can work on this choice:- In the ...READ MORE

answered Jul 11, 2018 in IoT (Internet of Things) by anonymous2
• 4,260 points
40 views
0 votes
1 answer
0 votes
1 answer
0 votes
1 answer

Suggest Implementation method for Smart Parking Points

They are different things. Raspberry PI is ...READ MORE

answered Aug 24, 2018 in IoT (Internet of Things) by anonymous2
• 4,260 points
18 views
0 votes
1 answer

Display time in a Windows Core IoT app with a clock!

It is possible, but you should understand ...READ MORE

answered Jul 9, 2018 in IoT (Internet of Things) by nirvana
• 3,060 points
75 views
0 votes
1 answer

Displaying Table Schema using Power BI with Azure IoT Hub

Answering your first question, Event Hubs are ...READ MORE

answered Aug 1, 2018 in IoT (Internet of Things) by nirvana
• 3,060 points
59 views