Commit Graph

385 Commits

Author SHA1 Message Date
Gregory Nutt
344c92e2a4 Replace all occurrences of vdbg with vinfo 2016-06-11 11:55:38 -06:00
Gregory Nutt
56e75e9db8 Rename CONFIG_DEBUG_VERBOSE to CONFIG_DEBUG_INFO 2016-06-11 11:50:38 -06:00
Gregory Nutt
ee8a62f009 netutils/esp8266/: CONFIG_SERIAL_TERMIOS must be defined in order to set BAUD 2016-06-11 07:55:33 -06:00
Gregory Nutt
8f0e214772 Trivial changes from review of last PR 2016-06-11 07:36:45 -06:00
Pierre-noel Bouteville
6486bb0ff7 Merged nuttx/apps into master 2016-06-11 12:52:35 +02:00
pnb
96853cfea1 commetic 2016-06-11 12:51:56 +02:00
pnb
dab4105f80 add lesp_set_baudrate 2016-06-11 12:46:26 +02:00
pnb
0a68db79f6 esp8266 bug fix 2016-06-10 23:17:09 +02:00
Sebastien Lorquet
7ca5478da3 Rearrange to eliminate Kmenu files 2016-06-09 08:59:16 -06:00
David S. Alessio
bfd5ca7cd2 NTP Client: All retries; Add initialization in NSH network startup logic. 2016-06-09 08:18:49 -06:00
Gregory Nutt
8de50dc0cf Add a default value for DELIM 2016-06-07 08:43:21 -06:00
Sebastien Lorquet
6217849db2 fix a gitignore rule 2016-06-02 16:54:39 +02:00
Sebastien Lorquet
a9aa753fa4 Recursive Kconfig autogeneration 2016-06-02 16:34:00 +02:00
Sebastien Lorquet
ae6c0b832c Individual app kconfig fixes 2016-06-02 16:26:32 +02:00
Sebastien Lorquet
b354a41fd4 Use directory.mk for recursive dir makefiles 2016-06-02 16:25:51 +02:00
Sebastien Lorquet
bfff5e7179 Add empty preconfig rules to 'leaf' makefiles 2016-06-02 16:24:30 +02:00
Sebastien Lorquet
9a406515d7 make the full tree use wildcards make.defs 2016-06-02 16:21:21 +02:00
Sebastien Lorquet
bfff7dc4ca add kmenu files 2016-06-02 15:23:50 +02:00
Gregory Nutt
2e882c7289 Lets use alphabetical ordering in last change 2016-05-25 14:21:37 -06:00
Gregory Nutt
ee3f0fffe4 netutils: Fix error in build system recently introduced 2016-05-25 14:20:17 -06:00
Gregory Nutt
eb1533ffc2 ESP8266: Correctly integrate into Make system. Does not depend on CONFIG_NET. FIFO should probably be a circular buffer. 2016-05-23 07:48:14 -06:00
Gregory Nutt
cf2ee7e409 ESP8266: Used NuttX dbg() instead of unconditional syslog() calls. 2016-05-21 15:50:24 -06:00
Gregory Nutt
d5b00bafbd eps8266: Fix FIFO implementation; it was a stack not a FIFO. 2016-05-21 15:42:35 -06:00
Gregory Nutt
8217864a10 Add .gitignore file for ESP8266 2016-05-21 11:11:32 -06:00
Gregory Nutt
15fd860a2f Space after comma 2016-05-21 09:42:53 -06:00
Gregory Nutt
6789eec9d8 ESP8266: Fix fifo logic; make configration variable naming consistent 2016-05-21 09:20:37 -06:00
Gregory Nutt
abdf703746 Add ESP8266 driver application. From Pierre-noel Bouteville 2016-05-21 09:13:23 -06:00
Gregory Nutt
ed820c1850 THTTPD: Include timers.h before libhttpd.h to avoid and undefined type error. Noted by Matt Poppe. 2016-02-24 09:42:06 -06:00
Gregory Nutt
5642e02f77 Fix some incorrect usage of INADDR_ANY 2016-02-09 11:24:30 -06:00
Gregory Nutt
1482732f18 NetLib: Move functions in netlib.c to separate files; improve some naming 2016-02-08 16:09:24 -06:00
Gregory Nutt
b8c8bea22c Add an 'arp' command to NSH to support access to the OS ARP table 2016-02-08 14:49:05 -06:00
Gregory Nutt
85b5341d7b DHCPD no longer calls directly into the OS, but uses network IOCTL commands to modify the ARP table. 2016-02-08 12:07:47 -06:00
Gregory Nutt
3f95e05bc2 NetLib: Add utility functions to support access to the ARP table 2016-02-08 11:44:59 -06:00
Gregory Nutt
3ef9b14738 Move apps/examples/ubloxmodem to apps/system/ubloxmodem 2016-01-31 09:35:42 -06:00
Gregory Nutt
203589e526 Additional, trivial changes from review 2016-01-29 17:11:06 -06:00
Vladimir Komendantskiy
387dda152c chat app and required update to the pppd client. 2016-01-29 17:00:59 -06:00
Gregory Nutt
b5c5055c41 NSH: Remove partial implementation of the use of IOBJ/IPTR in NSH. There are some complications 2016-01-17 07:53:52 -06:00
Gregory Nutt
a88338b41a Merge remote-tracking branch 'origin/master' into resolv.conf 2016-01-14 15:17:20 -06:00
Pelle Windestam
16c02a07d7 Add netlib_get_dripv4addr() and netlib_get_ipv4netmask() 2016-01-14 07:24:36 -06:00
Gregory Nutt
0d058af821 Step 1 in /etc/resolv.conf support 2016-01-13 15:08:59 -06:00
Gregory Nutt
cfcd396861 apps/netutils/ping: This is an unfinished implementation of ping/ping6 using raw packets. Not yet even hooked into the build and configuration systems 2015-12-11 09:09:38 -06:00
Gregory Nutt
c0d0a0821a netutils/telnetd: No longer calls OS interfade telnet_driver. Now creates Telnet sessions by open a new factory device at /dev/telnet and then using ioctl calls to create the session character drivers at /dev/telnetN. 2015-12-07 13:51:37 -06:00
Gregory Nutt
ba8d44d799 netutils/telnetd: Move the Telnet driver to nuttx/drivers/net 2015-12-07 09:29:29 -06:00
Gregory Nutt
9faf23290c netutils/telnetd: Remove unused parameter from telnetd_driver 2015-12-07 08:15:50 -06:00
Gregory Nutt
449af751a8 Eliminate a warning 2015-12-05 10:36:19 -06:00
Gregory Nutt
aacfce081e Fix several cosmetic, C coding style issues 2015-10-03 11:03:42 -06:00
Gregory Nutt
f6e7e9c1c0 Standardize the width of all comment boxes in C files 2015-10-03 07:20:15 -06:00
Gregory Nutt
e3ad56043e Standardize naming used for public data and function groupings 2015-10-02 16:20:33 -06:00
Gregory Nutt
e9447c6058 Standardize nameing of the pre-processor definitiongs group header 2015-10-02 14:06:11 -06:00
Gregory Nutt
be5b2a5187 Eliminate warnings 2015-09-08 10:21:56 -06:00
Gregory Nutt
f10f2de2e4 Eliminate some warnings 2015-09-08 09:20:49 -06:00
Gregory Nutt
6b1d61c759 More references to avsprintf that need to be changed vasprintf 2015-09-07 17:09:11 -06:00
Alan Carvalho de Assis
e7ba97e2b5 Fix pap authentication, pap_username and pap_password were moved to struct settings 2015-09-07 13:34:01 -06:00
Gregory Nutt
ae0d87c0cb PPPD: Fix a few coding style problems 2015-09-01 17:28:17 -06:00
Gregory Nutt
74801cf38e apps/tools/mkkconfig.sh: The top-level Kconfig file is not auto-generated. The autogenerated Kconfig file will be constructed so that every second level directory that contains a Kconfig file will automatically be sourced 2015-08-11 17:49:10 -06:00
Anton D. Kachalov
b43c5a6b1e THTTPD: Depends on !DISABLE_POLL
webserver:  Allow to build webserver as an application

Signed-off-by: Anton D. Kachalov mouse@yandex-team.ru
2015-08-10 14:44:11 -06:00
Librae
46b257c945 netutils: fix a typo while validating addrlen 2015-07-24 02:26:54 +08:00
Gregory Nutt
7e43ffa602 Fix a bad function prototype introduced in a previous commit 2015-07-12 13:42:28 -06:00
Gregory Nutt
ba72767d09 apps/netutils/netlib and other files: Create netlib wrapper functions around dns_getserver() and dns_setserver() to isolate application code from changes to those interfaces. 2015-07-12 11:53:23 -06:00
Gregory Nutt
812450ebe6 If NSH or Webclient is selected, make sure that CONFIG_LIBC_NETDB is enabled; reanem dnsclient.h to dns.h 2015-07-12 09:25:39 -06:00
Gregory Nutt
c7bd1f4186 Replaces calls to non-standard dns_hostip() with calls to the standard gethostbyname() 2015-07-11 08:15:29 -06:00
Gregory Nutt
ae57fd7ee2 Fix some warnings/errors detected by nuttx/tools/testbuilds.sh 2015-07-10 18:41:56 -06:00
Gregory Nutt
5e8928d009 Remove bogus references to CONFIG_HAVE_GETHOSTBYNAME 2015-07-10 14:03:28 -06:00
Gregory Nutt
48c36800f5 apps/netuils/dnsclient and include/netutils/dnsclient.h: Move the DNS client logic into the NuttX C library. It is a necessary part for the full implementation of the netdb logic and provides more flexibility in that location. 2015-07-10 11:31:13 -06:00
Gregory Nutt
d5b6949c9f Fix references to the no-longer-existent misc/ directory in comments, README files, and documentation 2015-06-28 08:14:53 -06:00
Gregory Nutt
cee35e124b apps/netutils/thttpd: Missing gci-src as a dependency path when building with BINFS enabled 2015-06-18 18:18:53 -06:00
Gregory Nutt
2ba737b5e5 Clean up and review of header files for conformance to standards 2015-06-12 19:26:01 -06:00
Gregory Nutt
3b5adf79dc Add asctime(), asctime_r(), ctime(), and ctime_r(). 2015-06-12 11:52:49 -06:00
Gregory Nutt
f5f5a3766a THTTPD: Remove use of lstat when directory indexing is enabled. NuttX does not support symbolic links 2015-06-12 10:07:28 -06:00
Gregory Nutt
a3eb9bb43a Fix a few errors/warnings in THTTPD when indexing is enabled. Still depends on non-existent lstat and ctime 2015-06-12 09:57:12 -06:00
Gregory Nutt
3e692f3912 apps/examples/thttpd now uses the Union File System if BINFS is selected for CGI binaris 2015-06-06 19:16:14 -06:00
Gregory Nutt
980f5a3675 apps/examples/thttpd: Need to use a different Front Page is CONFIG_THTTPD_BINFS=y 2015-06-02 15:19:17 -06:00
Gregory Nutt
bd8459d839 Fix a default value in the THTTPD Kconfig; updated a README file 2015-06-02 14:59:13 -06:00
Gregory Nutt
91ab8b0bc5 Extend apps/examples/thttpd so that it provides a index.cgi file the binfs file system is selected. 2015-06-02 14:26:08 -06:00
Gregory Nutt
b3780a071c Damn. THTTPD will not yet run with binfs because it wants an index.html file. THTTPD does support indexing directories if CONFIG_THTTPD_GENERATE_INDICES=y, but there are some compilation issues that need to be fixed when that option is selected. 2015-06-02 12:13:18 -06:00
Gregory Nutt
15fcf746be THTTPD w/binfs: A few fixes 2015-06-02 11:55:45 -06:00
Gregory Nutt
1e91c05d03 THTTPD: Add support for using binfs/ instead of NXFLAT. NXFLAT is probably the better solution but recently compiler changes make it unusable. binfs or ELF are fallback binary formats. This commit adds an option to use binfs. 2015-06-02 10:45:48 -06:00
Gregory Nutt
862d452d9b Fix numerous typos in configuration variable names. Tracked down by Alan Carvalho de Assis 2015-05-23 17:08:35 -06:00
Gregory Nutt
b641bee873 Minor fixes to apps/netutils/Kconfig and nuttx/libc/net/lib_inetntoa.c from Max Neklyudov 2015-05-19 12:07:07 -06:00
Gregory Nutt
a79f3840a8 apps/netutils/ntp: Fix mismatched sched_lock/unlock. Noted by Juha Niskanen 2015-05-06 07:54:22 -06:00
Gregory Nutt
af29ca3819 apps/netutils: Separated out apps/examples/pppd; split up pppd utils. From Brennan Ashton 2015-04-14 07:02:12 -06:00
Gregory Nutt
134472af0e apps/netutils/ppp: Make pppd PAP authentication optional. From Brennan Ashton 2015-04-14 06:45:17 -06:00
Gregory Nutt
3ac47d64ab Remove more NTP client references from pppd. From Brennan Ashton. 2015-04-13 14:00:45 -06:00
Gregory Nutt
476e3a8080 Remove ntpclient file in pppd dir. From Brennan Ashton. 2015-04-13 13:56:37 -06:00
Gregory Nutt
50deb7ad20 Remove executable flag from more .c and .h files 2015-04-09 08:20:57 -06:00
Gregory Nutt
5ca324cad8 Add some missing dependencies in Kconfig files 2015-03-29 15:52:46 -06:00
Gregory Nutt
b7768bea79 Bringing PPPD yet closer to the NuttX coding style 2015-03-11 18:47:04 -06:00
Gregory Nutt
f87fd5118c Add file headers to all PPPD files (still lots of style incompatibilies) 2015-03-11 08:33:57 -06:00
Gregory Nutt
e5a4835f5e Add a PPP daemon. From Max Neklyudov 2015-03-11 07:53:04 -06:00
Gregory Nutt
0ff0aa6d21 Add some Kconfig dependencies to reduce possibility of bad configurations. Suggested by OrbitalFox 2015-02-25 08:43:25 -06:00
Gregory Nutt
8d7952d55a Fix typo in Telnet Kconfig. From OrbitalFox 2015-02-19 06:40:18 -06:00
Gregory Nutt
fe20f19afe Some files that now include sys/time.h should no longer include timer.h 2015-02-15 16:38:18 -06:00
Gregory Nutt
23dfce6275 Suffer the consequences of moving struct timeval to its correct location 2015-02-15 15:18:35 -06:00
Gregory Nutt
d32e66b6a2 apps/netutils/netlib: Add utilities to convert to/from prefix lengths from/to 128-bit network masks. Modify the NSH IPv6 ifconfig command to show the network mask in a more standard, human readable way. 2015-02-06 10:23:15 -06:00
Gregory Nutt
0ee67383d5 Add an ioctal() that can be used to perform ICMPv6 auto-configuration 2015-02-03 08:54:42 -06:00
Gregory Nutt
5499189417 Add netlib and application hooks for ICMPv6 auto-configuration (still incomplete 2015-02-03 08:01:55 -06:00
Gregory Nutt
746f3919cd Networking: Correct the value returned by accept() in the case where net_lockingwait() is called. It was returning -1 and losing the errno value. Noted by Rony Xln 2015-01-22 06:51:31 -06:00
Gregory Nutt
680ee615fa apps/netutils/telnetd: Add protection when CONFIG_SCHED_HAVE_PARENT is enabled: Call sigaction with SA_NOCLDWAIT so that exit status is not retained (no zombies) and block receipt of SIGCHLD so that accept is not awakened by a signal. Iff accept() is awakened by a signal, do not do anything crazy like exit. Most from Rony Xln 2015-01-22 06:33:55 -06:00
Gregory Nutt
c96aa9218a Correct name of fields in struct sockaddr_in6: sin6_port and sin6_family, not sin_port and sin_family 2015-01-20 18:14:09 -06:00
Gregory Nutt
2668e34f5a apps/netutils/netlib: All IOCTLs must use a valid address family -- even if the address family does not matter such as when getting the MAC address or the network flags 2015-01-19 11:41:46 -06:00