Hi Matthias,
Usually, people first pick the OS and then buy the supported hardware.
I understand, but I bought my existing hardware for prototyping/testing/experimenting. Until now I mainly did the communication using MQTT and with some other boards just sending simple data over eg Xbee/Zigbee from the board to a gateway. So CoAP is new to me. But for some situations I definitely would like using it in my IoT solutions. In fact, although of course the protocols are different, it's the same thing as with MQTT where you also need a client on the edge-devices. The difference, if I'm right, with MQTT is that CoAP needs an embedded OS and MQTT can run on the metal, integrated in the firmware?
Do you have an opinion when to use MQTT and when to use CoAP?
I'll check out and try out the embedded you mentioned.
Many thanks, Guy
Sent from my iPad
Hi Guy
It sounds like you are missing the software for your devices. There are a bunch of embedded OSes available that come
with CoAP support. The question is mainly, if you can run or port them to your hardware. Usually, people first pick the OS and then buy the supported hardware. Here are some examples:
-
Contiki OS: http://www.contiki-os.org/
Comes with my Erbium (Er) implementation and works fine with Californium. It also supports many low-power platforms (mainly 802.15.4-based)
-
Riot OS: http://www.riot-os.org/
-
OpenWSN: http://www.openwsn.org/
Is a nice software suite that was mainly built for 802.15.4e or TSCH support
From there, you can check out this tutorial to connect your devices directly to the Internet:
http://www.youtube.com/watch?v=ikFosQd-stA
http://www.slideshare.net/mkovatsc/virtual-iot-meetup-connecting-sensor-networks
Good luck
Matthias
But now practical how can I use Californium in my IoT solution(s). I have edge-devices (e.g. TI CC3200, Freescale FRDM-K64F, etc) running C/C++, Java ME that
needs to send sensor data to a local gateway-device (e.g. Raspberry Pi, BeagleBone Black, …) (and the gateway device on its turn into the Cloud) or directly into the Cloud. And in the other direction from the Cloud or the gateway-device to the edge-dvice
to control e.g. lamps, valves, … (actuators).
I can install Californium on my gateway-device or in the cloud, but how do I setup the “communication" with my edge-devices to get sensor data and to send commands
to control things?
|