mirror of
https://github.com/pvvx/RTL00MP3.git
synced 2026-07-06 19:45:42 +00:00
add example
This commit is contained in:
parent
0cd01e4dc1
commit
5cd34b0c9f
75 changed files with 6023 additions and 217 deletions
20
RTL00_SDKV35a/component/common/example/rarp/readme.txt
Normal file
20
RTL00_SDKV35a/component/common/example/rarp/readme.txt
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
RARP EXAMPLE
|
||||
|
||||
Description:
|
||||
In this example, it will send rarp request for 3 times. And the rarp reply callback will print the received reply IP address.
|
||||
|
||||
Configuration:
|
||||
[platform_opts.h]
|
||||
#define CONFIG_EXAMPLE_RARP 1
|
||||
|
||||
Execution:
|
||||
You need to connect to WiFi manually by AT command. After connected the rarp request will be sent.
|
||||
|
||||
RARP server:
|
||||
For Ubuntu, you can try to setup the RARP server as doing this:
|
||||
• apt-get install rarpd
|
||||
• touch /etc/ethers
|
||||
• add “00:e0:4c:87:xx:xx(Ameba’s MAC) client” in /etc/ethers
|
||||
• add”192.168.1.xx(Ameba’s ip) client” in /etc/hosts
|
||||
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue