You are viewing an older revision! See the latest version

Networking

New Networking Libraries

This page currently covers the 'legacy' networking libraries. A completely new library has been written, with significantly improved performance and reliability.

However, your help is needed to port some higher level libraries such as HTTP, SMTP, etc.

All future improvements of the core networking stack will take place on the above library.

Introduction

The mbed microcontroller is quite capable of connecting to the internet, and functioning as client or server for a variety of protocols. To achieve this, the LwIP TCP/IP stack has been ported to mbed.

Getting started

Step one, physical connection

On the Ethernet-RJ45 page you will find wiring diagrams for popular RJ45 sockets.

Step two, set up the stack

On the Ethernet page you will find everything you need to set an IP address, and bring up the stack.

Next steps

Afterwards, you should hopefully have TCP/IP up and running over Ethernet. Have a look at Working with the networking stack to find out more, and to create your first example program.

Network clients, servers, and examples

Alternative versions of the LwIP stack

There is a fork of this port called NetServices by Segundo Equipo. The differences and improvements over the original port can be found on the NetServices page.


All wikipages