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 28, 2018 in IoT (Internet of Things) by Bharani
• 4,660 points
1,837 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 28, 2018 by nirvana
• 3,130 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,240 points
657 views
0 votes
1 answer

Building Python Server for Secure communication with Raspberry Pi

There could be several ways to add ...READ MORE

answered Jan 11, 2019 in IoT (Internet of Things) by DataKing99
• 8,250 points
2,098 views
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,240 points
1,098 views
0 votes
1 answer
+1 vote
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,240 points
684 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 10, 2018 in IoT (Internet of Things) by nirvana
• 3,130 points
1,554 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,130 points
1,311 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP