Nathan Hartman
3a21b0b222
apps/examples/webserver/webserver_main.c: Init network & run forever only if not builtin app. Infer from CONFIG_NSH_BUILTIN_APPS if we are a NSH built-in app or not. If built-in app (CONFIG_NSH_BUILTIN_APPS defined) then we assume network is initialized prior to webserver starting and we exit on webserver failure. If running standalone (CONFIG_NSH_BUILTIN_APPS is undefined) then behavior is unchanged: webserver initializes network and runs forever.
2019-07-26 11:04:05 -06:00
Nathan Hartman
4fd1058200
apps/netutils/netinit/netinit.c: Improve cleanup, removing 1 of 2 warnings. Unhook PHY notification signal handler when cleaning up, if an error occurs after the signal handler is put into place.
2019-07-26 10:59:28 -06:00
Anthony Merlino
28f57f1007
Merged in antmerlino/apps/i8sak-improvements (pull request #188 )
...
I8sak improvements
* wireless/ieee802154: Adds support for getting/setting maxretries and promsicuous mode from i8sak
* wireless/ieee802154/i8sak: Fixes a build warning and handles a few cases where a fault can occur due to not catching missing arguments.
Approved-by: Gregory Nutt <gnutt@nuttx.org>
2019-07-26 01:54:30 +00:00
Anthony Merlino
87098590b5
Merged in antmerlino/apps/dhcpd-arp-fix (pull request #187 )
...
netutils/dhcpd: Fixes bug where hwaddr was being used instead of ipaddr in the ARP update.
This bug seems to have been introduced 3 years ago during a rewrite to remove a direct OS call to arp. I'm not sure how others have not run into issues with this. The behavior I was observing was that the DHCPD would go to offer an IP address, but then send a ARP request for the IP instead because it didn't know where to send the data.
Approved-by: Gregory Nutt <gnutt@nuttx.org>
2019-07-26 01:52:57 +00:00
Masayuki Ishikawa
ff8d6aeed0
Merged in masayuki2009/nuttx.apps/gs2200m_with_udp (pull request #186 )
...
wireless/gs2200m: Add udp support to gs2200m_main.c
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
Approved-by: Gregory Nutt <gnutt@nuttx.org>
2019-07-25 05:41:16 +00:00
Nathan Hartman
44a8d7c80e
netutils/netinit/Kconfig: Fix some typos.
2019-07-23 16:09:31 -06:00
Gregory Nutt
78ee91b725
ChangeLog.txt: Change the release back to 7/21.
2019-07-21 13:02:52 -06:00
Gregory Nutt
4e3d5a3320
ChangeLog.txt: Update release date. I am not going to make it today.
2019-07-21 11:24:02 -06:00
Gregory Nutt
22503f00b2
Update ChangeLog in preparation for 7.31 release.
2019-07-20 14:23:15 -06:00
Alan Carvalho de Assis
d868e2f726
apps/examples/chrono: Add chronometer apps example.
2019-07-17 12:48:39 +02:00
Gregory Nutt
8f0b299e82
Trivially cosmetic
2019-07-11 12:15:08 -06:00
Masayuki Ishikawa
2cd84d713c
Merged in masayuki2009/nuttx.apps/add_ch_setting (pull request #185 )
...
wireless/gs2200m: Add channel parameter for AP mode
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
Approved-by: Gregory Nutt <gnutt@nuttx.org>
2019-07-10 11:34:09 +00:00
Masayuki Ishikawa
89d820e7d4
Merged in masayuki2009/nuttx.apps/fix_httpd_dirlist (pull request #184 )
...
neutils/webserver: Fix file corruption in httpd_dirlist.c
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
Approved-by: Gregory Nutt <gnutt@nuttx.org>
2019-07-10 11:33:13 +00:00
Michael Jung
bf066f11e7
apps/netutils/cjson/Kconfig: stdio floating point support required. cJSON requires floating point support in printf (specifically the 'g' conversion specifier). Thus, select LIBC_FLOATINGPOINT when NETUTILS_CJSON is selected.
2019-07-07 11:33:44 -06:00
Masayuki Ishikawa
9eff955556
Merged in masayuki2009/nuttx.apps/fix_webserver_with_period (pull request #183 )
...
netutils/webserver: Fix directory listing containing period in name
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
Approved-by: Gregory Nutt <gnutt@nuttx.org>
2019-07-06 13:05:45 +00:00
Masayuki Ishikawa
2bb4834775
Merged in masayuki2009/nuttx.apps/add_webserver_info (pull request #182 )
...
netutils/webserver: Add web server info based on uname()
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
Approved-by: Gregory Nutt <gnutt@nuttx.org>
2019-07-05 11:42:54 +00:00
Gregory Nutt
39ad02f72e
netutils/webserver: Fix a few complaints from nutts/tools/nxstyle.
2019-07-04 21:21:26 -06:00
Masayuki Ishikawa
0b352178c1
Merged in masayuki2009/nuttx.apps/add_dirlist_to_webserver (pull request #181 )
...
netutils/webserver: Add directory listing to httpd
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
Approved-by: Gregory Nutt <gnutt@nuttx.org>
2019-07-05 02:58:53 +00:00
Masayuki Ishikawa
c1317331d3
Merged in masayuki2009/nuttx.apps/mp3_on_webserver (pull request #180 )
...
netutils/webserver: Add mp3 mime type to httpd.c
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
Approved-by: Gregory Nutt <gnutt@nuttx.org>
2019-07-04 11:28:29 +00:00
Masayuki Ishikawa
b12b61df69
Merged in masayuki2009/nuttx.apps/fix_webserver (pull request #179 )
...
apps/examples/webserver: Fix to compile with CONFIG_NETUTILS_HTTPD_SENDFILE=y
Also, in this PR, some configs such as CONFIG_NETUTILS_HTTPDFILESTATS
can be selected by menuconfig.
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
Approved-by: Gregory Nutt <gnutt@nuttx.org>
2019-07-03 12:20:29 +00:00
Gregory Nutt
ee8af2a59e
Fix warnings found in build testing.
2019-07-01 15:22:55 -06:00
Gregory Nutt
334b450452
wireless/gs2200m/gs2200m_main.c: Fix a warning about an uninitialized return value found in build testing.
2019-06-29 18:50:20 -06:00
Gregory Nutt
18a8032c4d
examples/vl53l1x: Remove. The driver does not compile.
2019-06-29 06:28:40 -06:00
Juan Flores
94ac7dceab
examples/vl53l1x: Add VL53L1X example demo.
2019-06-28 15:07:13 -06:00
Masayuki Ishikawa
27766d7cdf
Merged in masayuki2009/nuttx.apps/fix_apps_industry (pull request #178 )
...
apps/industry: Add .gitignore for Kconfig
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
Approved-by: Gregory Nutt <gnutt@nuttx.org>
2019-06-28 11:19:32 +00:00
Masayuki Ishikawa
d2f3ad91e2
Merged in masayuki2009/nuttx.apps/wireless_gs2200m (pull request #177 )
...
apps/wireless/gs2200m: Moved from apps/system/gs2200m
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
Approved-by: Gregory Nutt <gnutt@nuttx.org>
2019-06-27 00:54:19 +00:00
Masayuki Ishikawa
2c8e349552
Merged in masayuki2009/nuttx.apps/add_system_gs2200m (pull request #176 )
...
apps/system/gs2200m: Add usrsock daemon for Tilt GS2200M Wi-Fi module
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
Approved-by: Gregory Nutt <gnutt@nuttx.org>
2019-06-18 13:45:31 +00:00
Alan Carvalho de Assis
656157399d
industry/abnt_codi, include/industry/abnt_code.h, examples.abntcodi: Adds support for ABNT CODI library. This is an energy meter protocol used in Brazil.
2019-06-15 08:38:04 -06:00
Gregory Nutt
bd14bf7165
apps/netutils/json: Removed. Replaced with apps/netutils/cjson.
2019-06-03 19:17:25 -06:00
Gregory Nutt
24e590b072
apps/nshlib/nsh_ddcmd.c: Seemingly nonsense change but somehow works around a compilation error using the ZDS-II toolchain. It was claiming that vtbl was undefined indd_outfopen().
2019-06-03 11:32:56 -06:00
Gregory Nutt
87c1083357
apps/netutils/netinit: MAC address configuration was represented by type long long. That is a problem for architectures that do not support typle long long. Replaces by two long configuration items.
2019-06-03 10:04:44 -06:00
Gregory Nutt
8c36ec3f33
nshlib/nsh_parse.c: Fix a warning about an uninitialized variable from the ZDS-II compiler.
2019-06-03 09:29:44 -06:00
Gregory Nutt
6c815a8d48
apps/nshlib/nsh_ddcmd.c: Cosmetic edition of FAR
2019-06-03 09:19:09 -06:00
Gregory Nutt
63de16bd58
netutils/telnetd/telnetd_daemon.c: Fix another C89 violation that caused the ez80 build to fail.
2019-06-03 09:07:07 -06:00
Gregory Nutt
31147b962c
apps/graphics/slcd: Improve the representation of '1', 'l', and 'I'.
2019-06-01 14:11:30 -06:00
Gregory Nutt
cf878648d4
Another update to a README.
2019-06-01 13:19:50 -06:00
Gregory Nutt
7a56e64121
Update a README
2019-06-01 13:03:09 -06:00
Gregory Nutt
c1bb142e18
Squashed commit of the following:
...
apps/graphics/tmw4nx and apps/graphics/slcd: This seems the last of the show stopper bugs. All seems functional.
apps/graphics/slcd: Correct some errors found in early texting. Now the Twm4Nx::CClock window comes up, but there are problems with the way that the segments are being displayed.
apps/graphicx/twm4nx: CClock is complete and compiles correctly. Crashes with a hardware when the clock is selected from the Main Menu, however.
2019-06-01 13:00:02 -06:00
Gregory Nutt
51c3d3a054
Squashed commit of the following:
...
apps/graphics/slcd: With these changes the CSLcd class now compiles
successfully. Still untested.
apps/graphics/slcd: Finish off rendering. Hook into configuration and build system.
apps/graphics/nxglyphs: Add images that will eventually be used for clock icons
apps/graphics/slcd: Completes all CLcd methods except for rendering to the window.
apps/graphics/slcd: Add beginning of SLCD class.
Add ASCII to SLCD character mapping.
apps/graphics/slcd: Represent segments as runs rather than trapezoids. Trapezoids will be synthesized later.
A little more SLCD logic
apps/graphics/slcd: Flesh out more trapezoids in the decomposition.
2019-05-31 20:44:02 -06:00
Gregory Nutt
9fd60f1908
apps/include/netutils/cJSON.h: Restore file that was accidentally removed with commit f730108adb
. The normal way to recover from errors like this is to revert the change, then reapply it without the error. But I could not do that in this cast because there were too many conflicts when try to revert the commit. Instead, this commit just restores the file, losing its history. This lost history on this file is not long and is duplicated in its entirety here:
...
Author: Pierre-Noel Bouteville <pnb990@gmail.com>
Date: Sun Dec 4 08:01:56 2016 -0600
Remove some garbage characters added by error.
commit f8d425f0ad
Author: Pierre-noel Bouteville <pn_bouteville@yahoo.fr>
Date: Tue Jul 12 16:27:14 2016 -0600
apps/netutils/cJSON: Eliminate some warnings
commit b9cf7acb1a
Author: Gregory Nutt <gnutt@nuttx.org>
Date: Sun Apr 13 16:24:28 2014 -0600
More trailing whilespace removal
commit 2a038d1bc0
Author: patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>
Date: Sat Oct 27 18:21:26 2012 +0000
Add port of cJSON from Darcy Gong
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5267 42af7a65-404d-4744-a932-0658087f49c3
2019-05-31 09:17:30 -06:00
Gregory Nutt
f937077b0e
apps/graphics/twm4nx/README.txt: Add an overview of how to create Twm4Nx applications.
2019-05-28 08:53:00 -06:00
Gregory Nutt
72f536866b
Trivial typo fix in README.
2019-05-27 07:23:59 -06:00
Gregory Nutt
af36a92874
Update a README file.
2019-05-26 14:01:34 -06:00
Gregory Nutt
41765ebe81
apps/graphics/twm4nx: Fix some errors found when enabling NX keyboard support. The most important being that the mouse and keyboard drivers need to be opened non-blocking.
2019-05-26 12:37:18 -06:00
Gregory Nutt
10ab7a56c9
apps/graphics/twm4nx: Fix a bug in placement of icons on the desktop. When many windows are iconfigied, a bug in the looping logic could cause an infinite loop.
2019-05-26 09:19:33 -06:00
Gregory Nutt
96d7679d6f
Update a README.
2019-05-25 16:17:19 -06:00
Gregory Nutt
a38c85dbaa
Fix a warning found in build testing.
2019-05-25 12:11:12 -06:00
Gregory Nutt
95a1a49c14
Update a README file.
2019-05-24 06:31:08 -06:00
Gregory Nutt
636e3e2278
Squashed commit of the following:
...
apps/graphics/twm4nx: Revise logic to detect clicks on the background image. The original implementation had some side effects.
apps/graphics/twm4nx: Remove some remaining, unused stuff from TWM that was never used. Menus need to close after the 'terminal' selection is made. Otherwise, the menu can become buried under a newly open menu and not easily recovered.
apps/graphics/twm4ndx: Add a 'critical' bit to the eventID. While resizing, all events will be ignore except those marked critical.
apps/graphics/twm4nx: CBackground now brings up the main menu if the background image is click. This makes the behavior the same across all of the background except when an icon is clicked.
2019-05-23 10:20:12 -06:00
Gregory Nutt
7409dd57bb
Fix a warning found in build testing.
2019-05-22 08:22:12 -06:00