Wiki
NuttX / How to nettest
test as client
1) configurtion set like this in Application > Examples
[*] Network test example [ ] Loopback test [ ] Target is server [ ] Test for Performance [ ] Initialize network (0xabcd1234) Client IP Address
2) run host program
In nuttx/apps/examples/nettest folder you'll find host program.
Just execute it.
3) run nettest as client
After flashing NuttX, you can run nettest from nsh.
test as server
1) configuration set like this in Application > Examples
[*] Network test example [ ] Loopback test [*] Target is server [ ] Test for Performance [ ] Initialize network (0xabcd1234) Client IP Address
2) run nettest as server
After flashing NuttX, you can run nettest from nsh.
3) run host program
In nuttx/apps/examples/nettest folder you'll find host program
Just execute it. host program will run as client and try to connect to the server running in the board.
etc
If you have multiple device you should set routing table.
What I've done is this in nsh.
addroute 127.0.0.0 255.0.0.0 127.0.0.1 addroute 0.0.0.0 0.0.0.0 192.168.1.10
where 192.168.1.10 is IP address of NuttX board.
Not sure this is correct. need to check the source code.
Updated