Commit Graph

242 Commits

Author SHA1 Message Date
Gregory Nutt
a968904300 Merge remote-tracking branch 'origin/master' into ieee802154 2017-03-13 10:37:28 -06:00
Gregory Nutt
0cb844e790 netutils/netlib: Add one wireless IOCTL wrapper. For now, this is just a test to be sure that the wireless IOCTL definitions are in place. 2017-03-13 10:16:20 -06:00
Sebastien Lorquet
cd3fc247b9 Merge branch 'ieee' of https://bitbucket.org/slorquet/apps 2017-03-09 14:34:32 +01:00
Pierre-Noel Bouteville
b3c90a4484 esp8266 update cosmetic and many bug fix 2016-12-04 08:35:02 -06:00
Pierre-Noel Bouteville
2c5b13834c Remove some garbage characters added by error. 2016-12-04 08:01:56 -06:00
Vytautas Lukenskas
e3eacfe985 Modbus Master is missing many files and doesn't compile at all. I'm attaching diff with my implementation. More details in https://groups.yahoo.com/neo/groups/nuttx/conversations/topics/13734 2016-11-03 07:54:32 -06:00
Gregory Nutt
8cfa1dbd3b The previous commit was reverted. My concern was misplaced: There is a guard boolean to prevent running the init script more than once. This comment just restores some of the good cosmetic changes that were included in the reverted commit. 2016-08-25 14:28:25 -06:00
Gregory Nutt
4eda22b4db Revert "This commit adds nsh_consolechild(). I noticed that there are several examples that call nsh_consolemain.c to create to create a new NSH session. That will not always work because nsh_consolemain() performs the one-time initialization needed by the NSH library: Mounting, reading, and running the start-up script, configuring USB tracing. Some of those actions will cause failures if attempted twice."
This reverts commit 4d364d836a.
2016-08-25 14:19:36 -06:00
Gregory Nutt
4d364d836a This commit adds nsh_consolechild(). I noticed that there are several examples that call nsh_consolemain.c to create to create a new NSH session. That will not always work because nsh_consolemain() performs the one-time initialization needed by the NSH library: Mounting, reading, and running the start-up script, configuring USB tracing. Some of those actions will cause failures if attempted twice.
Here are some offenders: examples/cc3000/shell.c, examples/nsh/nsh_main.c, examples/nxterm/nxterm_main.c, and examples/pty_test/pty_test.c.  It is possible that for some of those, that represents the first call to nsh_consolemain().  But probably not.

To give other initialization options, I added nsh_consolechild() which is identical to nsh_consolemain() other than it omits all of the one-time initialization.  Of course, you would not get the result that you wanted if nsh_consolechild() were called without nsh_consolemain().
2016-08-25 14:14:23 -06:00
Gregory Nutt
e39cfc97c7 Add logic to support an NSH-specific system command 2016-08-25 11:34:36 -06:00
Gregory Nutt
a1c0580034 apps/interpreters/minibasic: Add a port of Mini Basic, version 1.0, written by Malcom McLean and released under the Creative Commons Attirbution license. 2016-08-11 09:40:45 -06:00
Pierre-noel Bouteville
f8d425f0ad apps/netutils/cJSON: Eliminate some warnings 2016-07-12 16:27:14 -06:00
Gregory Nutt
68064514b9 uIP webserver: Fix a data declaration in a header file. 2016-07-11 13:05:55 -06:00
Gregory Nutt
f48a813e0e Move apps/include/builtin.h to apps/include/builtin/builtin.h 2016-07-01 07:08:03 -06:00
Gregory Nutt
0f1e86b2fd apps/include/tiff.h moved to apps/include/graphics/tiff.h 2016-07-01 07:03:26 -06:00
Gregory Nutt
0e76ca7474 Move apps/include/nsh.h to apps/include/nshlib/nshlib.h 2016-07-01 06:59:23 -06:00
Gregory Nutt
cd741c82cf apps/include: Move all header files associated with modules in apps/system to apps/include/system 2016-07-01 06:48:22 -06:00
Gregory Nutt
4343a6ef8b Move apps/include/ftpc.h to apps/include/netutils/ftpc.h 2016-07-01 06:36:07 -06:00
Gregory Nutt
7304927448 Move the TZ/Olson zoneinfo data set from apps/system/zoneinfo to libc/zoneinfo 2016-06-30 15:47:41 -06:00
Gregory Nutt
8a03660c72 Remove apps/system/usbmonitor. It has been moved to nuttx/drivers/usbmonitor. 2016-06-30 13:13:05 -06:00
Gregory Nutt
3dc17f54ff apps/system/hex2bin: Move the portable library portion of hex2bin to nuttx/libc/hex2bin where it can be shared with the OS internals. 2016-06-27 11:20:38 -06:00
Sebastien Lorquet
c048da320c Basic CAN utility library 2016-06-24 10:45:45 +02:00
Paul A. Patience
0ad9aa35d4 apps/canutils/libcanard: update version 2016-06-22 08:09:32 -04:00
Gregory Nutt
2541a4cb13 apps/fsutils/flash_eraseall: Add MDIOC_BULKERASE IOCTL wrapper function 2016-06-03 07:58:54 -06:00
Gregory Nutt
8217864a10 Add .gitignore file for ESP8266 2016-05-21 11:11:32 -06:00
Gregory Nutt
abdf703746 Add ESP8266 driver application. From Pierre-noel Bouteville 2016-05-21 09:13:23 -06:00
Paul A. Patience
1556424b92 libcanard: Add libcanard UAVCAN library 2016-05-12 13:13:22 -04:00
Gregory Nutt
336fefee4d apps/gpsutils/minmea: Re-released under the NuttX BSD license with permission from the author 2016-02-22 08:00:24 -06:00
Gregory Nutt
6125e9376e Standardize some naming in code section comments 2016-02-21 18:15:00 -06:00
Alan Carvalho de Assis
54d2bb16f3 Add Kosma Moczek lightweith MEA parser, MINMEA 2016-02-20 10:24:02 -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
3f95e05bc2 NetLib: Add utility functions to support access to the ARP table 2016-02-08 11:44:59 -06:00
Vladimir Komendantskiy
387dda152c chat app and required update to the pppd client. 2016-01-29 17:00:59 -06:00
Gregory Nutt
a585c6958d Make files non-executable 2016-01-23 15:27:48 -06:00
Gregory Nutt
0720f9a357 NSH: Add option to use platform-specific logic to verify login credentials; Add option to add a delay after each failed login attempt 2016-01-22 10:46:19 -06:00
Gregory Nutt
64f484d71a Move include/inifile.h to include/fsutils/inifile.h 2016-01-20 18:45:03 -06:00
Gregory Nutt
29d65eb866 apps/fsutils/passwd: Fix a few more errors found in integration 2016-01-20 14:41:27 -06:00
Gregory Nutt
681bfa2605 NSH: Add logic for the case where the passwd file is read-only. ROMFS image needs to be marked as const, or it will end up in RAM. 2016-01-20 13:05:25 -06:00
Gregory Nutt
5aa177e03b apps/fsutils/passwd: Fix numerous errors found during testing 2016-01-20 09:36:07 -06:00
Gregory Nutt
8630130299 Remove dangle whitespace at the end of the line and some files with carriage returns in them 2016-01-19 19:22:45 -06:00
Gregory Nutt
c98e51a31d apps/fsutils/passwd: Add a password fila management library 2016-01-19 19:19:04 -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
ba8d44d799 netutils/telnetd: Move the Telnet driver to nuttx/drivers/net 2015-12-07 09:29:29 -06:00
Ken Pettit
ad48d89fe2 mksmartfs: Move into apps/fsutils from kernel, now uses only open and ioctl. Add configuration option to supported multiple root directories. From Ken Petit 2015-11-23 06:59:56 -06:00
Gregory Nutt
aacfce081e Fix several cosmetic, C coding style issues 2015-10-03 11:03:42 -06:00
Gregory Nutt
9cb2849742 Standardize the width of all comment boxes in header files 2015-10-02 17:35:18 -06:00
Paul A. Patience
e1460c9987 UAVCAN: Changes to build system 2015-09-29 18:18:59 -04:00
Stefan Kolb
71d944a5d0 Macros PR_BEGIN_EXTERN_C and PR_END_EXTERN_C were not defined in all contexts. Remove definition and replace with explicit expansion. From Stefan Kolb 2015-09-03 07:00:39 -06:00
Sebastien Lorquet
331571f69c add getchan routine
support beacon scan on single channel
2015-09-01 18:21:48 +02:00
Sebastien Lorquet
2d14369b87 Merge branch 'master' of https://bitbucket.org/slorquet/apps into ieee
Conflicts:
	Kconfig
	Makefile
2015-08-30 23:37:16 +02:00
Gregory Nutt
c7d8ef0f7c Move logic from nuttx/libc/symtab to apps/system/symtab 2015-08-23 11:59:07 -06:00
Sebastien Lorquet
1653cb6285 add cca declares to common header 2015-08-10 17:25:08 +02:00
Sebastien Lorquet
d80fd440b6 add support for dev mode change and address encoding 2015-08-10 14:34:35 +02:00
Sebastien Lorquet
51c4ec5d22 move address parsing to a lib routine. 2015-08-10 11:28:12 +02:00
Sebastien Lorquet
db1e125122 add common ieee library for all apps. working on coordinator. 2015-08-07 16:58:45 +02:00
Gregory Nutt
5aa53ea2db Readline: Fix a configuration dependency. If we are not echoing to the console, then we cannot support tab completion 2015-07-30 12:53:04 -06:00
Gregory Nutt
169c3c77f1 Fix some bad conditional compilation and update some comments 2015-07-30 12:40:39 -06:00
Gregory Nutt
820c5c42dd readline/NSH: Extend the tab-completion logic so that NSH commands can also be completed by pressing the tab key 2015-07-30 12:11:58 -06:00
Gregory Nutt
f1b4b4d47a Fix a few mistakes I made on the last commit 2015-07-28 07:30:05 -06:00
Gregory Nutt
766886310d readline: Update initial readline commit -- make option configurable. Add an interface to de-couple the readline implementation from NSH. Misc. updates for coding style 2015-07-28 07:17:50 -06: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
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
2ba737b5e5 Clean up and review of header files for conformance to standards 2015-06-12 19:26:01 -06:00
Gregory Nutt
92eacce87e Clean up and review of header files for conformance to standards 2015-06-12 19:17:42 -06:00
Gregory Nutt
e1d36a7eca Clean up and review of header files for conformance to standards 2015-06-12 18:07:47 -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
728407b1d3 apps/system/zoneinfo: Add logic to build a ROMFS file system containing the timezone data 2015-04-15 08:39:44 -06:00
Gregory Nutt
48defa7554 Forgot to add a file in a previous commit 2015-04-14 10:05:45 -06:00
Gregory Nutt
8475fcc11a Add master support to modbus. From Darcy Gong 2015-04-11 09:37:31 -06:00
Gregory Nutt
158c7f7574 Make some file section headers more consistent with standard 2015-04-08 07:25:06 -06:00
Gregory Nutt
44d966b0a1 apps/modbus: That completes a complete pass; all of the modbus files a little closer to NuttX coding style. Still not compliant with naming conventions 2015-04-07 16:48:09 -06:00
Gregory Nutt
c36f2fd564 Modbus: changes to several C file to make them more compatible with NuttX coding style 2015-04-07 15:57:52 -06:00
Gregory Nutt
b1151ef033 Modbus: Change to more header files to make them a little more consistent with Nuttx coding stanards. Still not very close 2015-04-07 15:01:39 -06:00
Gregory Nutt
af7f087ccf Modbus: Change to several header files to make them a little more consistent with Nuttx coding stanards. Still not very close 2015-04-07 13:50:36 -06:00
Gregory Nutt
6ad0579b85 Modbus: Misc cleanup 2015-04-07 12:16:15 -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
5499189417 Add netlib and application hooks for ICMPv6 auto-configuration (still incomplete 2015-02-03 08:01:55 -06:00
Gregory Nutt
953c0fb069 Rename IPv4 netlib functions and files to make room in the namespace for corresponding IPv6 functions and files 2015-01-18 14:17:00 -06:00
Gregory Nutt
4eceae4e32 Refresh configuration/update some misnamed conditional compilation 2015-01-18 11:17:00 -06:00
Gregory Nutt
bf3c7bd286 apps/netutils/dnsclient: Can select to be either IPv4 or IPv6, but not both (IPv6 still does not compile) 2015-01-18 10:51:53 -06:00
Gregory Nutt
36118a1b76 Networking: Replace all references to net_ipaddr_t with either in_addr_t on net_ipv6addr_t. The goal is to support both IPv4 and IPv6 simultaneously. This requires that the two types be distinct and not conditionally typedef'ed to net_ipaddr_t. 2015-01-16 12:30:18 -06:00
Gregory Nutt
8a26497e88 apps/inifile: Filename parameter should be const 2014-12-06 09:14:55 -06:00
Gregory Nutt
34bb359447 Network: All logic will now handle varialbe length link layer protocol headers within incoming packets. This permits use of multiple network interfaces with differing data links. For example, ETHERNET + SLIP 2014-11-15 13:13:23 -06:00
Gregory Nutt
096e8247ad First cut implementation of fast forward and rewind controls 2014-07-27 12:26:03 -06:00
Gregory Nutt
d7274845a4 Move subsampling rate definitions from nxplayer.h to audio.h 2014-07-27 11:05:25 -06:00
Gregory Nutt
a33d316cd3 Changes to integrate with Ken's NxWM::CMediaPlayer 2014-07-24 15:06:54 -06:00
Gregory Nutt
6f55c57b00 Audio: Add hooks for fast-forward and rewind needed by CMediaPlayer; add hooks for equalizer settings needed by the WM8904 2014-07-24 08:28:10 -06:00
Gregory Nutt
a2faaa1f32 NxPlayer: Misc changes to better integrate with NxWM::CMediaPlayer 2014-07-23 18:21:08 -06:00
Gregory Nutt
633fae427d NET: emoved all includes of uip.h; added includes of ip.h wherever needed. Tried to fix problems of the now missing sneak inclusions because uip.h was removed. There are probably a few of these that were missed. 2014-07-04 19:13:08 -06:00
Gregory Nutt
069c43a5dd Remove all inclusion of uip.h 2014-07-04 16:58:22 -06:00
Gregory Nutt
fcffe2e824 NET: More renaming 2014-07-04 15:40:49 -06:00
Gregory Nutt
4aafdfd280 Fixes to errors that I introduced from Pelle Winderstam 2014-07-03 08:12:45 -06:00
Gregory Nutt
8d2a8fc03f NET: Misc naming clean-up 2014-07-02 17:23:25 -06:00
Gregory Nutt
e7fedfa4a5 NET: Rename functions in apps/netutils/netlib to begin with netlib_ vs uip_ 2014-07-02 16:52:02 -06:00
Gregory Nutt
d8e69bb0c1 Rename files apps/netutils/netlib/uip_*.c to apps/netutils/netlib/netlib_*.c 2014-07-02 16:16:51 -06:00
Gregory Nutt
2ee5041477 NET: Rename uiplib/UIPLIB to netlib/NETLIB 2014-07-02 16:04:25 -06:00
Gregory Nutt
165e5df670 NET: Renaming of IP address types 2014-06-29 12:22:50 -06:00