the IoT Cookbook (revamped)

#1

Hi,

we're happy to release the completely revamped the IoT Cookbook http://crossbar.io/iotcookbook/

The Arduino Yun material http://crossbar.io/iotcookbook/Arduino-Yun/ is greatly extended, and we now provide a precreated image for direct use with an SD card on the Yun to get you started with Autobahn with Python and JavaScript - all on the Yun!

Also, we now have material for 4 devices: Pi, Yun, Tessel - and the Intel Edison.

Feedback (or contributions) would be highly welcome!

Cheers,
/Tobias

0 Likes

#2

Hello Tobias

Please, could you inform if it is possible to run crossbar directly from Arduino YUN. I’ve tried to install crossbar, but unfortunatelly I ever receive the error 9 when it run.

Cheers

Ariangelo

···

Em domingo, 9 de agosto de 2015 19:36:13 UTC-3, Tobias Oberstein escreveu:

Hi,

we’re happy to release the completely revamped the IoT Cookbook
http://crossbar.io/iotcookbook/

The Arduino Yun material http://crossbar.io/iotcookbook/Arduino-Yun/ is
greatly extended, and we now provide a precreated image for direct use
with an SD card on the Yun to get you started with Autobahn with Python
and JavaScript - all on the Yun!

Also, we now have material for 4 devices: Pi, Yun, Tessel - and the
Intel Edison.

Feedback (or contributions) would be highly welcome!

Cheers,

/Tobias

0 Likes

#3

HI Ariangelo!

Running Crossbar.io on the Yun should work in principle, but we haven’t tested it. For running Crossbar.io, our focus regarding micro-controllers is on the Raspberry Pi (which is cheaper than the Yun, has more resources, and for running Crossbar.io you don’t need a MCU part).

Regards,

Alex

···

Am Sonntag, 30. August 2015 00:24:18 UTC+2 schrieb Ariangelo Hauer Dias:

Hello Tobias

Please, could you inform if it is possible to run crossbar directly from Arduino YUN. I’ve tried to install crossbar, but unfortunatelly I ever receive the error 9 when it run.

Cheers

Ariangelo

Em domingo, 9 de agosto de 2015 19:36:13 UTC-3, Tobias Oberstein escreveu:

Hi,

we’re happy to release the completely revamped the IoT Cookbook
http://crossbar.io/iotcookbook/

The Arduino Yun material http://crossbar.io/iotcookbook/Arduino-Yun/ is
greatly extended, and we now provide a precreated image for direct use
with an SD card on the Yun to get you started with Autobahn with Python
and JavaScript - all on the Yun!

Also, we now have material for 4 devices: Pi, Yun, Tessel - and the
Intel Edison.

Feedback (or contributions) would be highly welcome!

Cheers,

/Tobias

0 Likes

#4

Hi Alexander

Since WAMP application can be C or C++, I was thinking can we try to have some codebase to run an example WAMP client on cortex M4 MCU which connects to crossbar running on AWS linux instance.

looking at the code I think

a) We need to port the boost libraries, which I think are already supported

b) then we need to crosscompile WAMP C++

c) and then finally have a sample code running on MCU, with tinyIP on MCU to support TCP connection.

I know its kind of complex, but that is ideal for WAMP to proliferate in many native devices and MCU and have real good working example.

I have seen AMR mbed has already done in websocket example and this is where I thing WAMP can excel.

https://developer.mbed.org/cookbook/Websockets-Server

I have the HW that I can try, just looking for some help.

Priyank

···

On Saturday, September 5, 2015 at 2:19:56 AM UTC-7, Alexander Gödde wrote:

HI Ariangelo!

Running Crossbar.io on the Yun should work in principle, but we haven’t tested it. For running Crossbar.io, our focus regarding micro-controllers is on the Raspberry Pi (which is cheaper than the Yun, has more resources, and for running Crossbar.io you don’t need a MCU part).

Regards,

Alex

Am Sonntag, 30. August 2015 00:24:18 UTC+2 schrieb Ariangelo Hauer Dias:

Hello Tobias

Please, could you inform if it is possible to run crossbar directly from Arduino YUN. I’ve tried to install crossbar, but unfortunatelly I ever receive the error 9 when it run.

Cheers

Ariangelo

Em domingo, 9 de agosto de 2015 19:36:13 UTC-3, Tobias Oberstein escreveu:

Hi,

we’re happy to release the completely revamped the IoT Cookbook
http://crossbar.io/iotcookbook/

The Arduino Yun material http://crossbar.io/iotcookbook/Arduino-Yun/ is
greatly extended, and we now provide a precreated image for direct use
with an SD card on the Yun to get you started with Autobahn with Python
and JavaScript - all on the Yun!

Also, we now have material for 4 devices: Pi, Yun, Tessel - and the
Intel Edison.

Feedback (or contributions) would be highly welcome!

Cheers,

/Tobias

0 Likes

#5

Priyank,

Hi Alexander

Since WAMP application can be C or C++, I was thinking can we try to
have some codebase to run an example WAMP client on cortex M4 MCU which
connects to crossbar running on AWS linux instance.

Yes, that is the right approach.

Run a WAMP client on the device, but Crossbar.io off the device.

looking at the code I think
a) We need to port the boost libraries, which I think are already supported
b) then we need to crosscompile WAMP C++
c) and then finally have a sample code running on MCU, with tinyIP on
MCU to support TCP connection.

Porting AutobahnCpp to an MCU is certainly possible, but will be a little challenge.

Sadly, I haven't had time to write a AutobahnC yet.

I think this is one of the most urgent, missing pieces in the WAMP ecosystem.

I did sketch out something (still WAMP1) here

https://github.com/crossbario/autobahn-c/blob/master/autobahn.h

I know its kind of complex, but that is ideal for WAMP to proliferate in
many native devices and MCU and have real good working example.

I agree. Going down to small devices is important. Note, it won't go down to very tiny devices. It needs at least TCP to work on it's own.

I have seen AMR mbed has already done in websocket example and this is
where I thing WAMP can excel.

https://developer.mbed.org/cookbook/Websockets-Server

I have the HW that I can try, just looking for some help.

I would need to know more about the specific device to give hints. And more about "tinyIP" and it's API.

···

Am 25.09.2015 um 18:19 schrieb Priyank Kumar:

Priyank

On Saturday, September 5, 2015 at 2:19:56 AM UTC-7, Alexander Gödde wrote:

    HI Ariangelo!

    Running Crossbar.io on the Yun should work in principle, but we
    haven't tested it. For running Crossbar.io, our focus regarding
    micro-controllers is on the Raspberry Pi (which is cheaper than the
    Yun, has more resources, and for running Crossbar.io you don't need
    a MCU part).

    Regards,

    Alex

    Am Sonntag, 30. August 2015 00:24:18 UTC+2 schrieb Ariangelo Hauer Dias:

        Hello Tobias

        Please, could you inform if it is possible to run crossbar
        directly from Arduino YUN. I've tried to install crossbar, but
        unfortunatelly I ever receive the error 9 when it run.

        Cheers
        Ariangelo

        Em domingo, 9 de agosto de 2015 19:36:13 UTC-3, Tobias Oberstein > escreveu:

            Hi,

            we're happy to release the completely revamped the IoT Cookbook
            http://crossbar.io/iotcookbook/
            <http://crossbar.io/iotcookbook/>

            The Arduino Yun material
            http://crossbar.io/iotcookbook/Arduino-Yun/
            <http://crossbar.io/iotcookbook/Arduino-Yun/> is
            greatly extended, and we now provide a precreated image for
            direct use
            with an SD card on the Yun to get you started with Autobahn
            with Python
            and JavaScript - all on the Yun!

            Also, we now have material for 4 devices: Pi, Yun, Tessel -
            and the
            Intel Edison.

            Feedback (or contributions) would be highly welcome!

            Cheers,
            /Tobias

--
You received this message because you are subscribed to the Google
Groups "Crossbar" group.
To unsubscribe from this group and stop receiving emails from it, send
an email to crossbario+...@googlegroups.com
<mailto:crossbario+...@googlegroups.com>.
To post to this group, send email to cross...@googlegroups.com
<mailto:cross...@googlegroups.com>.
To view this discussion on the web visit
https://groups.google.com/d/msgid/crossbario/d9d0a8fd-6b4c-481f-9eb8-483f5e147ee9%40googlegroups.com
<https://groups.google.com/d/msgid/crossbario/d9d0a8fd-6b4c-481f-9eb8-483f5e147ee9%40googlegroups.com?utm_medium=email&utm_source=footer>.
For more options, visit https://groups.google.com/d/optout.

0 Likes