Community news, upcoming events and general discussions
Threads: 36 Posts: 88
Get technical support from the community
Threads: 1407 Posts: 7538
Threads: 18 Posts: 64
Tell us how to make XDK better!
Threads: 36 Posts: 119
Share and discuss community member projects
Threads: 78 Posts: 343
I’m an absolute beginner but very interested in IoT and bought the XDK for use in my studies.
My goal is to send XDK measuring data to a Server in the Cloud. Sending should happen by interval not by request, I’d like to send data every 1 second for example (just like a datalogger). I’d like to connect the XDK over WiFi to the internet. If possible data should be stored in a database and I would like to read data over a simple webinterface.
I read about different protocols used in IoT and have to make a decision between MQTT with Mosquitto Broker Server implementation and CoAP / LWM2M with Leshan. I think both ways would do it but I can not estimate what’s the better one.
I’m not so good in programming, I have some basic skills in object oriented programming but not so much practical experience. That’s why I rely on a good documentation / tutorials / example code / community.
What do you think is the better solution for my project? Do you have recommendations, whats the best way to go for a beginner like me?
Thank you very much for your help!
welcome to the XDK community. First of all, I recommend to go through the available beginner guides you can find in the help & learning section of the XDK community to get a deeper knowledge about the XDK.
Further I recommend to use the MQTT protocol for your application. It is easier to set up than CoAP or LWM2M. The mosquito MQTT broker is very convenient to set up and understand.
Unfortunately the only avaiblabe documentation is the MQTT paho demo and Bosch IoT Suite which both implement the MQTT protocol. I recommend to take a look at the MQTT paho demo. The documentation provides a lot of information about how to configure and adapt it to your wishes. Further it is very simple to connect it to your own MQTT broker by changing the broker name in the configuration file.
Please tell me if this helps and don’t hesitate to ask if anything is unclear.
Kind regards, Franjo
Thank you Franji, Thank you Achim.
Sure i will work trough the Bosch XDK Guides. It's not the first time i read MQTT is easier for first use, so i think i will go with MQTT and try LWM2M later.
I am glad to help.
Please don't hesitate to ask if you have further questions.