[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lwip-users] ethernet
From: |
Nicolas Dioli |
Subject: |
[lwip-users] ethernet |
Date: |
Tue, 13 Jul 2010 09:26:45 +0200 |
User-agent: |
Mozilla/5.0 (Windows; U; Windows NT 5.1; fr; rv:1.9.1.10) Gecko/20100512 Lightning/1.0b1 Thunderbird/3.0.5 |
Hello,
I work on lwIP 1.3.2 with a freeRTOS.
I have implemented a PPP communication with a 3G USB key.
Now i want to implement an ethernet communication with an adaptator
USB/rj45.
I found the file ethernetif.c where i had to implement:
low_level_input()
low_level_output()
low_level_init()
I wonder if it's all ?
Is there any others functions?
I wonder where in RAW API, can i select PPP or ethernet?
Now i initialise ppp and tcpip. And ppp_thread "scan" the usb interface.
pppInit();
mem_init();
tcpip_init();
pd=pppOpen();
// waiting for pppOpen [...]
pcb = tcp_new();
tcp_connect();
With ethernet i don't know how it works?
I wonder if i should create a thread?
Thanks for your help
regards
Nicolas