Netduino home hardware projects downloads community

Jump to content


The Netduino forums have been replaced by new forums at community.wildernesslabs.co. This site has been preserved for archival purposes only and the ability to make new accounts or posts has been turned off.

Valkyrie-MT

Member Since 17 Oct 2010
Offline Last Active Aug 21 2015 02:11 PM
-----

Posts I've Made

In Topic: Scott Hanselman just flashed a Netduino Wifi at BUILD

01 May 2015 - 01:56 AM

What was that shiny new Netduino hardware seen in the keynote?It's not officially announced quite yet


Sorry to spoil the surprise. I blame Hanselman. I am at BUILD this year.

In Topic: Spark Core (TI CC3000) Porting for Super WiFI Mini?

02 July 2014 - 12:15 AM

Piwi, I am interested too.  My wifi requirements are tough though.  It has to have WPS, and some other way of joining without an interface.  It has to support SSL and have at least 6 sockets.  And, it has to come in an FCC certified unit. 


In Topic: Spark Core (TI CC3000) Porting for Super WiFI Mini?

02 July 2014 - 12:01 AM

Yes, I am still working on the cc3000 driver, almost everyday.  The reality is that the cc3000 firmware has had too many bugs to work.  Unfortunately, TI did not try to fix the issues until the Sparkcore guys started complaining.  Even still there is a bug that combines UDP packets for which there is no workaround.  I've been in contact with TI, and I've even had a call on the phone to discuss issues.  I've had a variety of unreleased firmware builds in the last few months.  Most of the changes where made to fix the ARP issue which impacted the sockets as well. 

 

Having said all that.  The last version DID fix a lot and I know another build is coming.  So, the cc3000 is looking better.  However, I am still working around issues.  In the last week I rewrote the code to stop using the cc3000 Profiles because for some reason they can just stop working.  And, I am testing a DNS lookup using UDP sockets because the built-in functionality seems to work unreliably. 

 

But, when I get the cc3100 tomorrow, I'll probably focus more on that. 


In Topic: Spark Core (TI CC3000) Porting for Super WiFI Mini?

28 June 2014 - 04:54 AM

I just ordered the cc3100 from TI.  It has some great improvements like SSL, built-in web server, WPS for easier pairing, and price (around $7 per chip for large volume).  However, it looks a bit less DIY friendly.  The example board is 4-layer, the chip appears to require an SPI-Flash companion chip and you'll need a crystal and some inductors in addition to the antenna components.  And the pin pitch of the package looks VERY small. 

 

I'll take a hard look at it. 


In Topic: MIP tcp/ip stack running on Netduino mini !!

25 June 2014 - 01:44 AM

One of my goals for mIP was to simplify the end-user experience for the typical Connection-less UDP request/response and simple HTTP web requests and HTTP web servers. 

 

To some extent, I was concealing TCP socket access to avoid intimidating users with complex APIs and concepts.  Rest assured that you can still do TCP socket communication, it is just under the covers.  The HTTP implementation uses all TCP communication and is in fact a working example implementation, although not one I'd recommend as a simple example. 

 

In the TCP.cs file, you will find a Connection class.  This is essentially the TCP Socket class.  You can create a new Connection and the Send methods on that class are all TCP Send calls. 

 

The code would look something like this:

<code>

class TcpProgram

{

public static void Main()

{

Networking.Adapter.Start(new byte[] { 0x5c, 0x86, 0x4a, 0x00, 0x00, 0xdd, "mip", InterfaceProfile.NetduinoGo_Socket3_ENC28);

var tcpSocket = new Networking.Connection() { RemoteIP = new byte[] { 192, 168, 0, 1 }, RemotePort = 80 };

tcpSocket.OnConnectionPacketReceived += TcpSocket_OnConnectionPacketReceived;

 

tcpSocket.SendAsync(new byte[] { 1, 2, 3, 4 });  // Send some bytes

 

while (true) Thread.Sleep(100);

 

// When you are done, you can close the socket

tcpSocket.Close();

 

}

 

static void TcpSocket_OnConnectionPacketReceived(Packet thePacket)

{

// A TCP Packet was received.  If the message is long, you will have to piece the packet contents back together to  get the full message. 

 

Debug.Print("New Packet of length: " + thePacket.Content.Length + ", contains: " + thePacket.Content.ToHexString());  // Here is the packet data

 

 

// Note: there are other useful properties on the Packet Class

 

}

}

</code>


home    hardware    projects    downloads    community    where to buy    contact Copyright © 2016 Wilderness Labs Inc.  |  Legal   |   CC BY-SA
This webpage is licensed under a Creative Commons Attribution-ShareAlike License.