mirror of
https://github.com/jialexd/sdk-ameba-v4.0c_180328.git
synced 2024-11-24 23:14:18 +00:00
21 lines
749 B
Text
Executable file
21 lines
749 B
Text
Executable file
LWIP PPPOE EXAMPLE
|
|
|
|
Description:
|
|
Example for lwip pppoe connection.
|
|
|
|
Configuration:
|
|
[lwipopts.h]
|
|
#define PPP_SUPPORT 1
|
|
#define PPPOE_SUPPORT 1
|
|
#define PPPOS_SUPPORT 0
|
|
#define PAP_SUPPORT 1
|
|
#define CHAP_SUPPORT 1
|
|
#define MD5_SUPPORT 1
|
|
[platform_opts.h]
|
|
#define CONFIG_EXAMPLE_PPPOE 1
|
|
|
|
Execution:
|
|
Can make automatical Wi-Fi connection when booting by using wlan fast connect example.
|
|
A PPPOE example thread will be started automatically when booting.
|
|
|
|
Setup PPPOE_USER and PPPOE_PASSWD in example_pppoe.c for authentication. PPP addresses will be shown after PPP is connected
|