Commit Graph

3068 Commits

Author SHA1 Message Date
Anthony Merlino
c9bd210960 Squashed commit of the following:
Merged in merlin17/apps/i8sak-sock (pull request #108)

    i8sak: Fixes mistake where socket was accidentally bound to endpoint address
    i8sak: Fixes bad logic that bound outbound port to the destination address
    i8sak: Adds sniffer port option and a few other get/set parameters

    Merged in merlin17/apps/i8sak-sock (pull request #106)

    i8sak: Endpoint address is updated whenever 802.15.4 addressing information is updated
    wireless/ieee802154/i8sak: Converts PF_INETX to PF_INET6 and SOCK_IWPAN to SOCK_DGRAM
    wireless/ieee802154/i8sak: Catches case where arguments are included,  but the interface was never set
    wireless/ieee802154/i8sak: Endpoint IP address is now updated whenever 802.15.4 addressing info changes
    wireless/ieee802154/i8sak: Routes all error output to stderr rather than stdout

    Merged in merlin17/apps/i8sak-sock (pull request #104)

    i8sak: Fixes socket version of sniffer logic. socket logic for sniffer now works
    i8sak: Fixes socket version of sniffer logic. socket logic for sniffer now works

    Merged in merlin17/apps/i8sak-sock (pull request #103)

    wireless/ieee802154/i8sak: Adds socket interface support. You can now use both socket or char driver to control the MAC layer

    * wireless/ieee802154: Removes useless wpanlistener folder with build files
    * wireless/ieee802154/libmac: Merges some files together and adds some missing sixlowpan functionality
    * wireless/ieee802154/i8sak: Starts adding support for both character driver and socket
    * Removes unneccessary Kconfig statement
    * ieee802154: Adds function prototypes missed on previous commit
    * wireless/ieee802154/libmac: Fixes sixlowpan_resetreq
    * wireless/ieee802154/libmac: Small fixes and removes enableevents helper
    * apps/ieee802154/i8sak: Moves wpanlistener functionality into i8sak directly
    * apps/ieee802154/i8sak: Major restructuring to allow both char driver and socket control

        Also changes Kconfig options and certain args held previously by i8sak. This is to bring it closer to a real CLI tool rather than a development tool. For instance, no longer does the app change the addressing of the device automatically. This is because you probably don't want i8sak overwriting the extended address after board bring-up.  Additionally, the endpoint logic has been simplified.  There is only ever one active endpoint now.

    * wireless/ieee802154/i8sak: Non-functional clean-up.
    * i8sak: Removes chan and coordinfo commands and introduces generic get/set commands
    * i8sak: startpan now requires PAN ID argument
    * i8sak: Adds ability to set endpoint address using set command
    * i8sak: Minor fixes and cleanup
    * i8sak: Adds addrmode setting to i8sak. exposed via get/set calls
    * i8sak: Clean up poll logic and allow polling address mode to be based off endpoint address setting.
    * i8sak: Trivial
    * i8sak: Adds get/set hook for endpoint address mode (destination address mode)
    * i8sak:  Changes default address modes to short.
    * i8sak: Fixes build erros associated with enabling 6LoWPAN support
    * i8sak: Adds socket version of get/set implementation.  Simplifies some logic as well.
    * wireless/ieee802154/i8sak: Removes unused files
    * wireless/ieee802154/libmac: Fixes sixlowpan_assocresp.  resp was not being copied into the ioctl argument.

    Approved-by: Gregory Nutt <gnutt@nuttx.org>
2017-09-15 08:16:47 -06:00
Gregory Nutt
8beab59e0d Trivial changes from review of last PR. 2017-09-14 15:04:43 -06:00
Florian Olbrich
bbade5522d Merged in floxx/apps (pull request #107)
Added a simple reader example for the LIS3DSH acceleration sensor on STM32F4Discovery

* Added a simple reader example for the LIS3DSH acceleration sensor as
    found on STM32F4Discovery.

* Edited lis3dsh_reader_main.c to obey nuttx coding standard.

Approved-by: Gregory Nutt <gnutt@nuttx.org>
2017-09-14 20:59:05 +00:00
Gregory Nutt
cb13b7ed1b examples/fb: Extend test to include 1-bpp monochrome. 2017-09-13 10:58:29 -06:00
Gregory Nutt
0fd8ade4b5 Rename CONFIG_AUDIO_DEVICES to CONFIG_DRIVERS_AUDIO to conform better to the evolving configuration naming standard. 2017-09-12 14:11:17 -06:00
Gregory Nutt
0cb9810844 examples/fb: Flesh out the framebuffer driver test. 2017-09-12 11:10:16 -06:00
Gregory Nutt
8ac1952d4c examples/fb: Add a simple test for the framebuffer character driver. This initial commit just verfies some interfaces and initialization logic. Still need to add to graphics update logic. 2017-09-12 09:51:47 -06:00
Masayuki Ishikawa
fcf26f6bd7 Merged in masayuki2009/nuttx.apps/lc823450 (pull request #105)
examples/adc: Fix g_adcstate.count initialization.

Approved-by: Gregory Nutt <gnutt@nuttx.org>
2017-09-11 13:15:12 +00:00
Masayuki Ishikawa
98fb74b82c examples/adc: Fix g_adcstate.count initialization. 2017-09-11 14:01:09 +09:00
Gregory Nutt
928443e385 examples/ostest: sem_open() now returns SEM_FAILED in the event of a failure. 2017-09-08 10:15:46 -06:00
Gregory Nutt
b071ec9227 Update Changelog in prep for 7.22 release. 2017-09-05 14:37:31 -06:00
Gregory Nutt
cdf0528933 examples/dac: Lets use printf instead of _info in application code. 2017-09-01 07:39:39 -06:00
Juha Niskanen
7ca1d83275 Merged in juniskane/apps_upstream/examples_dac_pr (pull request #102)
examples: add DAC example

Approved-by: Gregory Nutt <gnutt@nuttx.org>
2017-09-01 13:35:37 +00:00
Juha Niskanen
318350d289 examples: add DAC example 2017-09-01 11:22:39 +03:00
Masayuki Ishikawa
25237eafe0 apps/examples/nsh: Remove APPNAME, PRIORITY, and STACKSIZE settings from Makefile to avoid showing nsh in Builtin Apps. 2017-08-26 06:18:03 -06:00
EunBong Song
d0f74f5346 dhcpd: Prevent buffer overflow in dhcpd_addoption. offset represents distance from start of option buffer. So this should be changed current option pointer minus start of buffer. 2017-08-25 06:50:37 -06:00
Gregory Nutt
7fa2bd1a23 examples/: Correct naming of some configuration variables. 2017-08-24 13:37:36 -06:00
Gregory Nutt
3367bde8fe NSH: Add conditions so that ifconfig and ifup will not be disabled if we are using only PF_IEEE802154 2017-08-21 09:32:07 -06:00
Gregory Nutt
e1b0821eb1 If only PF_IEEE802154 socket family is enabled, then must use SOCK_DGRAM. 2017-08-21 07:14:33 -06:00
Gregory Nutt
7c26ee7611 Remove a warning of unused local variable. 2017-08-20 11:15:26 -06:00
Gregory Nutt
41ce937ed0 Changes to netlib and nsh so that you build build with PF_IEEE802154 enabled and 6LoWPAN disabled. 2017-08-20 09:09:47 -06:00
Gregory Nutt
6cbf2b9130 Squashed commit of the following:
commit 6fbbca4ce308f5d8130d795342c7639555a7e5bf
Author: Gregory Nutt <gnutt@nuttx.org>
Date:   Sat Aug 19 08:46:27 2017 -0600

    apps/examples/pf_ieee802154:  Add PANID to command line options; Cannot bind to address zero... There is no counterpart to INADDR_ANY for these radios (not now at least).

commit 354111108a88f549248537e79dbf79998f458ded
Author: Gregory Nutt <gnutt@nuttx.org>
Date:   Fri Aug 18 17:47:10 2017 -0600

    PF_IEEE802154:  A few bugfixes

commit f1bb947609ed5e9e8816234653d6c8ee24585079
Author: Gregory Nutt <gnutt@nuttx.org>
Date:   Fri Aug 18 15:17:32 2017 -0600

    Add file missed in last commit

commit 9a73930e864db83609b5cc0d7c940d8efeaade66
Merge: 315b888f c433e07a
Author: Gregory Nutt <gnutt@nuttx.org>
Date:   Fri Aug 18 12:08:03 2017 -0600

    Merge remote-tracking branch 'origin/master' into pf_ieee802154

commit 315b888f4e72523d90b526edc5a82fb97678ff7e
Author: Gregory Nutt <gnutt@nuttx.org>
Date:   Fri Aug 18 12:06:51 2017 -0600

    examples/pf_ieee802154:  Add for testing PF_IEEE802154 sockets.
2017-08-19 08:47:35 -06:00
Gregory Nutt
c433e07a27 netutils/netlib: Add a help to decode short addresses. 2017-08-18 12:07:41 -06:00
Gregory Nutt
767b29335c Eliminate some warnings found in build testing. 2017-08-13 12:25:22 -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
929a86efde netutils/ftpc: Fix warning about free() being implicitly defined 2017-08-12 17:03:18 -06:00
Gregory Nutt
15eb6dd518 netutils/thttpd: Fix a malformed if condition detected by GCC 6.x.x 2017-08-12 16:55:51 -06:00
Gregory Nutt
0bc7bce916 Eliminate warning about an unused global variable. 2017-08-12 16:40:09 -06:00
Gregory Nutt
4477cbcbd1 Fix some misplaced semicolons as found in build testing. 2017-08-12 14:27:48 -06:00
Gregory Nutt
45eb06c3c2 apps/examples/nximage: Remove unused global variable. 2017-08-12 12:48:38 -06:00
Gregory Nutt
4e5a2ad18c Application.mk: Add the .PRECIOUS target to prevent libapps.a from being deleted when the make is interrupted. 2017-08-12 12:21:37 -06:00
Gregory Nutt
a063227e58 Eliminate a warning about unused static data. 2017-08-12 12:15:21 -06:00
Gregory Nutt
970e98a902 Additional changes associated with last commit. 2017-08-12 12:11:22 -06:00
Gregory Nutt
90ebda9120 Eliminate another warning about an unused function 2017-08-12 12:09:01 -06:00
Gregory Nutt
99593b6ed9 apps/netutils/tftpc depends on CONFIG_NET_IPv4 2017-08-12 11:36:19 -06:00
Gregory Nutt
1cdf4ad8d1 Fix a warning found in build testing 2017-08-12 11:14:30 -06:00
Gregory Nutt
7a7c7ee93a Update README and fix some conditional compilation from the last commit. 2017-08-11 15:56:53 -06:00
Gregory Nutt
5dcf5620e3 NSH Library: Add a route command that will dump the content of routing table. 2017-08-11 15:33:26 -06:00
Gregory Nutt
1e23b30afe more issues with last change: netmask must be in network order. 2017-08-10 16:08:09 -06:00
Gregory Nutt
654d526a69 NSH addroute/delroute: Fix an indexing problem introduced with previous commit. 2017-08-10 11:40:12 -06:00
Gregory Nutt
52e4da1e41 NSH addroute and delroute: All expression of the netmask in IPv4 CIDR or IPv6 slash notation. This really reduces the pain of using the commands, especially for IPv6. 2017-08-10 10:30:20 -06:00
Gregory Nutt
f58768db3d NSH library: Update addroute and delroute command. The would support either IPv4 or IPv6, but not both. 2017-08-10 09:15:44 -06:00
Gregory Nutt
4ee084ab24 Remove references to obsoleted CONFIG_NETDEV_MULTINIC and CONFIG_NETDEV_MULILINK. 2017-08-08 18:37:00 -06:00
Gregory Nutt
69b004790d Update .gitignore 2017-08-08 11:12:19 -06:00
Gregory Nutt
444922ea93 apps/examples/udp: Enable testing with the broadcast address. 2017-08-08 08:16:47 -06:00
Gregory Nutt
ea95f710db netutils/netlib: Eliminate a warning 2017-08-05 09:27:11 -06:00
Gregory Nutt
0c34ebb72f Typo: USE_NOFITY_POLL -> USE_NOTIFY_POLL 2017-08-02 17:32:27 -06:00
Gregory Nutt
3b8c97747d netutils/netlib: Fix netlib_nodaddrconv() so that its return type is the same as other address conversion functions. NSH: Correct parsing of ifconfig so that you can specify the HW address without specifying the IP address. 2017-08-02 14:30:34 -06:00
Gregory Nutt
d6050d70a2 NSH library: Extend ifconfig command so that it can set variable length packet radio addresss. 2017-08-02 13:13:19 -06:00