Xiang Xiao
6a26547dec
build: Move INCDIROPT to common place
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2020-05-18 15:37:24 -06:00
chao.an
7cb5bc3b76
wapi: fix nxstyle warning
...
Signed-off-by: chao.an <anchao@xiaomi.com>
2020-04-03 13:29:19 +01:00
chao.an
df1d0e73f8
wireless/wapi: add save_config/reconnect support
...
Signed-off-by: chao.an <anchao@xiaomi.com>
2020-04-03 13:29:19 +01:00
chao.an
6bafe90db4
wireless/wapi: independent scan and scan_results
...
add scan <ssid> support
Signed-off-by: chao.an <anchao@xiaomi.com>
2020-04-03 13:29:19 +01:00
YAMAMOTO Takashi
e7156be066
Change the defaults of stack size configs to DEFAULT_TASK_STACKSIZE
...
This commit changes only ones with the default 2048 and
leaves the others.
E.g. this leaves SYSTEM_RAMTEST_STACKSIZE, whose default is 1024.
I guess those need to be inspected one-by-one.
2020-03-27 02:43:11 -05:00
Xiang Xiao
1511403fdf
Revert "Don't generate .depend anymore"
...
This reverts commit cc5ad09caa
.
2020-03-22 23:09:40 -05:00
Xiang Xiao
cc5ad09caa
Don't generate .depend anymore
2020-03-22 18:15:21 +00:00
chao.an
52ad01f0bf
netutils: save wapi config to file system
...
save and reload the wapi config from file system
2020-02-26 16:11:46 +00:00
chao.an
ee615f0568
net/wapi: remove unnecessary cast
2020-02-26 16:11:39 +00:00
Xiang Xiao
d660492289
Run codespell -w against all files
...
and fix the wrong correction
2020-02-22 14:41:36 -06:00
Xiang Xiao
e0dcfa0c55
Remove extra whitespace from files ( #43 )
...
* Remove multiple newlines at the end of file
* Remove the white space from the end of line
2020-01-31 08:29:24 -06:00
chao.an
7612221df6
apps/wireless/wapi/scan: Add frequency/rssi printf
...
Scan print layout:
nsh> wapi scan wlan0
bssid / frequency / signal level / ssid
**:**:**:**:**:** 2437 -38 <ssid>
**:**:**:**:**:** 2427 -36 <ssid>
...
2020-01-22 07:53:02 -06:00
Xiang Xiao
6d22dd0013
Author: Gregory Nutt <gnutt@nuttx.org>
...
Run all .c and .h files in last PR through nxstyle and fix all complaints.
Author: Xiang Xiao <xiaoxiang@xiaomi.com>
Wapi improvement (#16 )
* wireless: add passphrase control
* wireless: add disconnect control
2020-01-16 12:21:45 -06:00
Gregory Nutt
64bc8f5b7f
Run all .c and .h files modified in last PR through nxstyle.
2019-12-31 10:57:34 -06:00
Xiang Xiao
49c997501a
Wapi simplify ( #1 )
...
apps/wireless/wapi: Simplify usage of command line. Remove duplicate extensions
2019-12-31 10:39:53 -06:00
Gregory Nutt
438777cd38
netutils/netlib/netlib_getroute.c: Add function to retrieve routing tables using netlink.
2019-11-10 12:36:34 -06:00
Xiang Xiao
7808eb62d2
apps/: In all Make.def files, append to CONFIGURED_APPS patch with the absolute path.
2019-10-17 11:33:59 -06:00
Gregory Nutt
3a23523147
Makefiles: This reverts part of commit cf0365ea9
. It restores 'conditional' inclusion of TOPDIR/Make.defs. Otherwise all make targets fail if the board has not been configured. That is okay most of the time, but not for things like clean and distclean which should not depend on being configured.
2019-10-15 09:25:48 +08:00
Xiang Xiao
e806097c70
Application.mk and main.c files: Change builtin's entry point from main to xxx_main by macro expansion. This change make the entry point fully compliant with POSIX/ANSI standard.
2019-10-06 06:14:56 -06:00
Xiang Xiao
cf0365ea92
Clean up Makefile under apps folder no functional changes.
2019-10-04 08:35:46 -06:00
Nathan Hartman
3a75edca20
Fix minor typo/copy-paste: 'will be use when'->'will be used when'
2019-08-23 11:59:28 -06:00
anchao
b5cfd93444
apps/: Modification to build system: Unified application compilation rules
2018-09-03 09:29:56 -06:00
anchao
220653f21c
Squashed commit of the following:
...
Author: anchao <anchao@pinecone.net>
apps/, most main() function: Correct CONFIG_BUILD_LOADABLE usage
Loadable apps/: Correct loadable symbol table generate
apps/system/ubloxmodem: Fix build break
apps/examples/ostest: start restart/waitpid/user test from main loop
apps/nshlib: Expand reboot and poweroff commands to include a second, optional mode argument
Author: Gregory Nutt <gnutt@nuttx.org>
An attempt to fix build issues. Does not work.
apps/examples/ostest: Fix some inappropriate renaming of static functions introduced with recent patches.
apps/builtin/exec_builtin.c: Fix a error introduced by recent comments. Found in build testing.
Author: anchao <anchao@pinecone.net>
apps/builtin/exec_builtin.c: Try posix_spawn if builtin apps do not have have an entry point.
apps/Application.mk: introduce MODULE config to simplify tristate(m)
apps/nsh: Change the nuttx shell module type to tristate
apps: Add loadable application support
script/mksymtab: Generate symbol table name by default
apps/builtin: Allow loadable applications can register with apps/builtin.
2018-08-23 11:06:15 -06:00
Gregory Nutt
2f982e9c77
Revert "Squashed commit of the following:"
...
This reverts commit 25b92edd9f
.
2018-08-22 12:06:32 -06:00
anchao
25b92edd9f
Squashed commit of the following:
...
apps/builtin/exec_builtin.c: Try posix_spawn if builtin apps do not have have an entry point.
apps/Application.mk: introduce MODULE config to simplify tristate(m)
apps/nsh: Change the nuttx shell module type to tristate
apps: Add loadable application support
script/mksymtab: Generate symbol table name by default
apps/builtin: Allow loadable applications can register with apps/builtin.
2018-08-22 09:30:38 -06:00
Gregory Nutt
e853fb45ce
apps/wireless/wapi: Remove dependency on CONFIG_EXPERIMENTAL from Kconfig
2018-06-17 10:55:16 -06:00
Gregory Nutt
7a8561728c
The last change added .PRECIOUS: $(BIN) to everyway Makefile in hopes the libapps.a will not be deleted on Control-C (unproven so far). However, $(BIN) may contain back slashes in some build platforms and that causes problems for make: It can't handle the backslashes in the .PRECIOUS dependency list. $(BIN) replaced with ../../libapp.a, where the number of ../ depends on the depth of the Makefile in the apps/ source tree.
2017-08-13 11:03:17 -06:00
Gregory Nutt
a66da34f18
All Makefiles: Add .PRECIOUS: apps/libapps.a to every Makefile. Hopefully this will end awkward problems when you Control-C out of a build and libapps.a is deleted.
2017-08-13 09:35:14 -06:00
Gregory Nutt
3563a05fcd
Remove dangling white space
2017-06-26 11:12:53 -06:00
Gregory Nutt
a8ab2f7505
Remove dangling whitespace
2017-06-15 10:51:25 -06:00
Simon Piriou
523d7645c4
wapi: add basic wapi_event_stream_extract implementation
2017-05-21 16:24:49 +02:00
Gregory Nutt
8380447e1a
Merge remote-tracking branch 'origin/master' into ieee802154
2017-05-08 14:31:54 -06:00
Gregory Nutt
0376019c35
WPA associate: NSH was not setting the algorithm parameter.
2017-05-08 13:28:08 -06:00
Gregory Nutt
6ec8e56f89
Merge remote-tracking branch 'origin/master' into ieee802154
2017-05-06 11:30:48 -06:00
Gregory Nutt
a0915850b9
wireless/wapi: wpa_driver_wext_associate() now accepts a configuration parameter that can be used to specify the wireless properties. nshlib: NSH now has configuration options to select the wireless properties. It builds the configuration structure and passes this to wpa_driver_wext_associate() so that it will setwork the network as configured.
2017-05-06 11:28:11 -06:00
Gregory Nutt
f12d857f0a
Move wireless/wext into wireless/wapi/src. Update some naming for better follow the NuttX coding style.
2017-05-06 09:40:09 -06:00
Gregory Nutt
0d1a7d1e18
Merge branch 'ieee802154' of https://bitbucket.org/nuttx/apps into ieee802154
2017-04-26 15:18:05 -06:00
Gregory Nutt
b9a552013f
wireless/wapi: Improve error reporting IOCTL failures.
2017-04-26 12:34:50 -06:00
Gregory Nutt
1c05e26ef6
apps/wireless/wapi: Correct an error in dependency generation.
2017-04-25 11:16:51 -06:00
Gregory Nutt
0e1fd20646
A little more iwpan logic.
2017-04-21 17:41:02 -06:00
Gregory Nutt
067d705b98
Minor clean of functino prototypes, iwpan help, spelling.
2017-04-21 13:43:01 -06:00
Gregory Nutt
575242ae13
wireless/ieee802154: Completes all radio character driver IO command wrappers
2017-04-21 09:36:19 -06:00
Gregory Nutt
58da85523d
wireless/wapi: Improve some output.
2017-04-12 07:09:37 -06:00
Gregory Nutt
d9a02dd742
apps/wireless/wapi: Consolidate some duplicate logic.
2017-04-11 16:34:50 -06:00
Gregory Nutt
568e932e80
apps/wireless/wapi: Some changes from initial debug.
2017-04-11 12:42:15 -06:00
Gregory Nutt
1a470c6480
wireless/wapi: Re-write of wapi tool UI.
2017-04-11 10:22:47 -06:00
Gregory Nutt
dae395cb8e
Beginning real design of wapi application based on Wapi sample code.
2017-04-10 18:50:50 -06:00
Gregory Nutt
2c53872a42
wireless/wapi: Fix a few more compilation problems.
2017-04-10 16:14:49 -06:00
Gregory Nutt
322ffe193b
wireless/wapi: Remove functionality that depends on the Linux procfs: This includes only 1) listing of available interfaces and 2) listing of all routes.
2017-04-10 16:02:17 -06:00
Gregory Nutt
2d73f735fe
Fix a little kruft left in ported wireless/wapi/Makefile
2017-04-10 15:34:56 -06:00