Re: [riot-devel] Support for cc3200

2017-05-20 Thread Kaspar Schleiser
Hi,

On 05/19/2017 09:10 AM, Martine Lenders wrote:
> __-  __Is it correct that it is only necessary to wirte the
> cc3200_netdev.c-File.
> 
> The CC3200 delivers a full embedded network stack right? If so, I would
> rather suggest to either implement against GNRC's NETAPI [1] or the sock
> API [2], rather than netdev. Though it is the CC3200 network device,
> porting it to the netdev API might lead to problems that API rather
> thought to be used for link-layer networking.

Another possibility would be to stay at the netdev level and only use
the device's L2 capabilities.

For that we probably need some netdev extensions for handling the setup
of a WiFi network (e.g., search for networks, join & set credentials,
...). Apart from that, WiFi behaves very similar to ethernet.

No need to limit this to GNRC, and moreso, no need to go with the vendor
IP stack.

Kaspar
___
devel mailing list
devel@riot-os.org
https://lists.riot-os.org/mailman/listinfo/devel


Re: [riot-devel] Support for cc3200

2017-05-20 Thread Attilio Dona
Just few considerations, I hope they are useful

I implemented the WLAN support using the Texas Instrument simplelink driver.

It is something I never shared because it worked fine for me but it was not
a state of the art piece of software, it lacks review and clean up ...

My approach was to implements a RIOT module that manages the communication
with the cc3200 network wifi processor.

Just to render the idea, this is the .h interface module:

https://gist.github.com/attdona/b9f2169b4adf5e71e03406b91d4c78e6

Greetings
Attilio


On Fri, May 19, 2017 at 8:00 AM, Härtinger Markus 
wrote:

> Hi
>
> We are currently developing an WIFI support in RIOT-OS for the CPU cc3200.
>
> Our implementation is based on the code of Attilio Donà and the vendor
> libraries of Texas Instruments.
>
>
>
> After the first hardware support for this CPU currently we try to
> implement the WLAN support.
>
> For this goal we have some questions:
>
> -  Is there already an implementation for any WLAN  IEEE-802.11
> CPU in RIOT-OS
>
> -  Is there an IPv4 support or only IPv6
>
> -  Is it correct that it is only necessary to wirte the
> cc3200_netdev.c-File.
>
>
>
> Thanks for your help and tips.
>
>
>
>
>
> Best Regards
>
>
>
> Markus Härtinger
>
>
>
> ___
> devel mailing list
> devel@riot-os.org
> https://lists.riot-os.org/mailman/listinfo/devel
>
>
___
devel mailing list
devel@riot-os.org
https://lists.riot-os.org/mailman/listinfo/devel