Am 31.07.2013 15:27, schrieb Zaki Patel:
> 1. The CC3000 <
http://www.ti.com/product/CC3000> Itself does not support
> SSL, but it can be implemented on top of TCP on our microcontroller
I am asking since for maximum compatibility with network environments
(e.g. Web proxies that don't understand WebSocket etc), TLS is often the
way to go. Apart from the transport layer confidentiality/integrity that
TLS provides of course. Whether you need the former depends on your
deployment scenario ..
Implementing TLS from scratch is a non-trivial task both rgd. effort and
bugs that might trigger security issues ..
Great. Note that Posix does not specify TLS API .. almost all
open-source projects that do something with networking and TLS rely on
OpenSSL .. from looking at
http://www.freertos.org/FreeRTOS-Plus/CyaSSL/Using-SSL-TLS-in-a-client-site-application.shtml
CyaSSL has a different API from OpenSSL. So thats another consideration ..
>
> 3. Our objective is to implement a websocket client in C . This is where
> we need some help/guidance or expertise....
Are you looking for general guidance or for contract work (development
services) to implement that (WebSocket+WAMP on your platform)?
>
> 4. Toochain : we are currently using IAR which provides support for
> C/C++. My guess is the platform (ARM Cortex M4) supports GCC toolchains.
>
http://www.iar.com/Products/IAR-Embedded-Workbench/ARM/
>
> Ref. networking framework, please could you clarify what you mean?
The Posix networking API is very low-level (and other OS, like Windows
have completely different APIs). So people today implement networking
stuff now on top of networking libraries like
Boost/ASIO for C++
http://think-async.com/
or
https://github.com/joyent/libuv
For a comparison of the above 2:
http://stackoverflow.com/questions/11423426/how-does-libuv-compare-to-boost-asio
However, these are intended for "full-blown" OSs .. and ASIO requires a
quite advanced C++ toolchain since it heavily uses templates.
Anyway: I guess in your situation these might be overkill and a more
straight to the Posix API WebSocket/WAMP client library is more appropriate.
However: how do you intend to program your actual application against
the yet-to-be-implemented WebSocket/WAMP client lib?
E.g. the convenience you have on server e.g. with AutobahnPython relies
on advanced asynchronous programming ("Twisted Deferreds").
>
> Thanks again for your help, looking forward to continued discussion. Any
> guidance on how we can start, or where we can find the required
> expertise to implement websocket client on our embedded device would be
> much appreciated.
I am not aware of something out there that fits your bill. From my
current understanding of your needs, we (Tavendo) might be able to
develop the required stuff. Whether that makes business sense for us/you
is another thing. Drop me a line at "tobias dot oberstein at tavendo dot
de" if you wanna discuss that further ..
/Tobias
> > an email to autobahnws+...@googlegroups.__com
> <mailto:
autobahnws%2B...@googlegroups.com> <javascript:>.
>
> > For more options, visit
>
https://groups.google.com/__groups/opt_out
> <
https://groups.google.com/groups/opt_out>
> <
https://groups.google.com/__groups/opt_out
> <
https://groups.google.com/groups/opt_out>>.
>
> >
> >
>
> --
> You received this message because you are subscribed to the Google
> Groups "Autobahn" group.
> To unsubscribe from this group and stop receiving emails from
> it, send
> an email to autobahnws+unsubscribe@__
googlegroups.com
> <mailto:
autobahnws%2Bunsu...@googlegroups.com>.
>
> For more options, visit
>
https://groups.google.com/__groups/opt_out
> <
https://groups.google.com/groups/opt_out>.
>
>
>
>