Commit Graph

68 Commits

Author SHA1 Message Date
Gregory Nutt
8c1446671c apps/nshlib: Add a new option CONFIG_NSH_NETLOCAL that will suppress some built in operations and will support manual configuration of a wireless network 2017-05-21 12:00:55 -06:00
Sebastien Lorquet
ea1025ead2 DHCPC: Remove hard-coded interface device. Now passed as a parameter to dhcpc_open(). 2017-05-19 15:31:22 -06:00
Sebastien Lorquet
297844b1ce Fix comments formatting 2017-05-19 17:50:26 +02:00
Sebastien Lorquet
aefddc3648 Second batch of changes (no problems) 2017-05-19 17:37:17 +02:00
Gregory Nutt
13911d9b17 Fix lots of occurrences of 'the the', 'the there', 'the these', 'the then', 'the they. 2017-05-11 13:40:03 -06:00
Gregory Nutt
5fbf2fd8d1 NSH wireless setup: Move call to nsh_associate(). It should be possible to associate with an AP when DHCPC is disabled. 2017-05-09 06:39: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
44ace8e1cc 6loWPAN: Replace some Rime address naming with more consistent short/exended address terminology 2017-05-04 08:21:12 -06:00
Simon Piriou
33027bd66e wireless/wext: Add drivers_wext from the WPA supplicant; Integrate into NSH 2017-05-02 09:43:48 -06:00
Gregory Nutt
a5c439777d nshlib/nsh_netinit.c: If IEEE802.11 selected use wlan0 instead of eth0 for network device name. 2017-05-02 08:26:21 -06:00
Gregory Nutt
c2bdd49421 netlib and NSH: Add logic to set the IEEE802.15.4 PAN ID. 2017-04-19 18:10:39 -06:00
Gregory Nutt
8369052a22 NSH library: Extend ifconfig to support 6loWPAN. Adapt to some changes in configuration variable usage. 2017-04-08 12:21:40 -06:00
Gregory Nutt
194c2d86a8 6loWPAN: Add network IOCTL support to set the node address 2017-04-06 16:00:41 -06:00
Gregory Nutt
eef0161dd4 examples/nettest: Trying to adapt to use for testing 6loWPAN. 2017-04-03 15:33:39 -06:00
Jussi Kivilinna
3e2743e826 nshlib: fix building when CONFIG_NET_USRSOCK enabled with other link-layer 2017-03-31 09:10:55 -06:00
Sebastien Lorquet
2cbad44f1d This is the Pokemon patch to change all includes fronm <apps/bla/bla.h> to "bla/bla.h" 2016-07-11 10:11:18 -06:00
Gregory Nutt
bb06f7368f Without lowsyslog() *llinfo() is not useful. Eliminate and replace with *info(). 2016-06-20 11:48:15 -06:00
Gregory Nutt
65899c99e6 apps/nshlib: Change some *err() message to *info() messages if what was a *dbg() message does not indicate and error condition. 2016-06-14 14:18:07 -06:00
Gregory Nutt
586b0aa7e0 Change names of *dbg() * *err() 2016-06-11 15:51:27 -06:00
Gregory Nutt
f4bae25e32 Rename *lldbg to *llerr 2016-06-11 14:55:13 -06:00
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
a9d57ca022 Merged in marten_svanfeldt/nuttx-apps-public/for_upstream/nsh_netinit (pull request #43)
Make NSH net-initialization be a configuration option
2016-06-09 09:25:27 -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
Marten Svanfeldt
33c6a6bb75 Make NSH net-initialization be a configuration option
Signed-off-by: Marten Svanfeldt <marten@intuitiveaerial.com>
2016-06-09 05:29:01 +02:00
Gregory Nutt
ce3a2dc0d4 NSH changes to work with the network local loopback device 2015-08-24 13:59:52 -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
effda16cf5 DNS: Remove some unused, non-functional DNS functions 2015-07-11 07:17:11 -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
905f881162 Enhancements to NSH ifconfig for case of multi-link operation, TUN device and local connections. From Max Neklyudov. 2015-05-19 12:26:20 -06:00
Gregory Nutt
c07a5b2775 Local sockets: Add poll support for Unix stream sockets. From Jussi Kivilinna. 2015-05-12 07:41:12 -06:00
Gregory Nutt
9fcd34f1c4 NSH initialization now calls boardctl(BOARDIOC_INIT) instead of board_app_initaliaze. Modify all configurations: Make sure that CONFIG_LIB_BOARDCTL=y appears wherever CONFIG_NSH_ARCHINIT=y appears. Remove support for CONFIG_NSH_ARCHMAC. It is not used and there are better ways to do that operation 2015-03-31 12:14:16 -06:00
Gregory Nutt
f5aac7178e Fix some time value changes; mostly changing greater than 1000000000 to greater than or equal to 1000000000. From Juha Niskanen 2015-02-20 07:07:36 -06:00
Gregory Nutt
1b9d7c1522 ICMPv6: Some initial bugfix from first tests of the ICMPv6 auto-configuration logic. so far so good but a lot more testing is needed 2015-02-03 16:19:08 -06:00
Gregory Nutt
6273eb0160 ICMPv6: This completes coding of the ICMPv6 auto-configuration feature. It is not yet functional 2015-02-03 15:40:56 -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
b7fa5a3359 Unix domain: A few fixes from early integration 2015-01-27 16:39:30 -06:00
Gregory Nutt
a4e66459d0 Various fixes to get Unix domain sockets to build on the simulator without Ethernet 2015-01-27 14:11:46 -06:00
Gregory Nutt
8fbc907aa2 apps/nshlib: Add logic to initialize IPv6 addresses, to display IPv6 addresses, and enough IPv6 ifconfig to allocation compilation (logic still not implemented) 2015-01-19 09:59:43 -06:00
Gregory Nutt
9bff050ad0 Update ChangeLog 2015-01-19 09:03:10 -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
f9074a02ad Network: Various fixes for clean compile with both Ethernet and SLIP 2014-11-15 13:52:39 -06:00
Gregory Nutt
4a3b3c2d46 Eliminate some nshlib warngings 2014-09-16 16:08:06 -06:00
Gregory Nutt
bf98b2bbac Change the way PHY interrupts work: disable automatically. Then we have to re-subscribe each time after the interrupt fires 2014-08-17 16:51:56 -06:00
Gregory Nutt
5be7dd2140 NSH net monitor: use a seamphore instead of boolean; use sem_timedwait instead of a boolean to communicate 2014-08-17 14:48:27 -06:00
Gregory Nutt
c18504f820 Minor corrections during integration of link status monitor 2014-08-17 11:26:02 -06:00
Gregory Nutt
5943cf2c2b Extend the NSH network initialization logic. There is now an option that will create a network monitor thread that will monitor the state of the link. When the link goes down, the code will attempt to gracefully put the Ethernet driver in a down state; When the link comes back, the code will attempt to bring the network back up. 2014-08-17 09:51:26 -06:00
Gregory Nutt
1fd7fea390 More of the PHY event notification logic change: Fix some compile errors when full feature is enabled; Add some missing ioctol logic 2014-08-16 15:04:09 -06:00