Commit Graph

30117 Commits

Author SHA1 Message Date
Gregory Nutt
d280f8854e include/nuttx/net and net/: Move private prototype of netdev_foreach() from the public include/nuttx/net/net.h to the private net/netdev/ndetdev.h header file where it belongs. 2017-07-01 08:39:39 -06:00
Gregory Nutt
ae1771454a 6LoWPAN: TCP send logic was returning a failure in one case when, in fact, the send was successful. 2017-06-30 16:07:51 -06:00
Gregory Nutt
7de86f1ab4 This change backs out the 'misconception' fix of 76e6dba2e4 and reimplements it in a way that actually seems to work. 2017-06-30 12:39:00 -06:00
Gregory Nutt
e19c52ed6e 6LoWPAN fix compile issue in star hub configuration. 2017-06-30 10:13:31 -06:00
Gregory Nutt
76e6dba2e4 6LoWPAN: Fix a misconception about HC06 16-bit IPv6 address compression. 2017-06-30 10:08:44 -06:00
Gregory Nutt
af8c5c86f3 6LowPan: Change how the destination node address is handled in the start endpoint configuration. When the star endpoint sent the IPv6 destination address, the HC06 compression logic elided the address -- meaning that it could be reconstructed by the recipient based on the receiver's assigned short address. However, when intercepted by the hub, the uncompressed address does not know the short address of the recipient and instead uses the short address of the hub. This means two things: (1) it looks like the hub address is the destination address, and (2) the uncompressed UDP packet has a bad checksum. This change assures that the destination IPv6 address is not elided in the case of the star endpoint configuration. 2017-06-30 09:32:17 -06:00
Gregory Nutt
ad3ea72ff5 Update a README; refresh some configurations. 2017-06-29 10:55:01 -06:00
Gregory Nutt
6d8df90b79 Clicker2-STM32 + net/: Add configurations to support the endpoint and hub roles in a star topology. Fix various things that broke when IPv6 forwarding was enabled. 2017-06-29 08:16:46 -06:00
Gregory Nutt
a93f130002 6LoWPAN: Add configurable support for 6LoWPAN star topology. With this change, the endpoints which are the 'points' of the star will forward all traffic to the coordinator. The coordinator is assumed to be the 'hub' of the star. This function also implements IPv6 forwarding. That forwarding implementation is minimal, just enough to support the forwarding requirements of the star hub node. 2017-06-28 15:39:21 -06:00
Gregory Nutt
ca97725e55 net: Remove a semicolon that cause compile failure in certain configurations 2017-06-28 15:16:15 -06:00
Gregory Nutt
036bb345a1 net:/ Fix a backward logic in a conditional tested added yesterday. 2017-06-28 14:12:17 -06:00
Gregory Nutt
c3b14f98ea tools/: Remove dangling space at the end of lines. 2017-06-28 13:56:46 -06:00
Gregory Nutt
031fbfc6bc sched/: Remove dangling space at the end of lines. 2017-06-28 13:33:04 -06:00
Gregory Nutt
f87d5a3f81 net/: Remove dangling space at the end of lines. 2017-06-28 13:32:19 -06:00
Gregory Nutt
98d937104e mm/: Remove dangling space at the end of lines. 2017-06-28 13:31:21 -06:00
Gregory Nutt
28e9fe32b6 include/: Remove dangling space at the end of lines. 2017-06-28 13:30:08 -06:00
Gregory Nutt
a0956c9e5b graphics/: Remove dangling space at the end of lines. 2017-06-28 13:28:52 -06:00
Gregory Nutt
a469f0ef04 Documentation/: Remove dangling space at the end of lines. 2017-06-28 13:27:10 -06:00
Gregory Nutt
c67b807f43 configs/: Remove dangling spaces at the end of lines in *.c and *.h files. 2017-06-28 13:21:20 -06:00
Gregory Nutt
44545781e5 configs/: Remove dangline space at the end of lines in .txt files. 2017-06-28 13:18:41 -06:00
Gregory Nutt
1ed9793751 fs/: Remove dangling space at the end of lines. 2017-06-28 13:17:55 -06:00
Gregory Nutt
95e20afcd2 drivers/: Remove dangling space at the end of lines. 2017-06-28 13:17:17 -06:00
Gregory Nutt
1c5ec07414 arch/: Remove dangling space at the end of lines. 2017-06-28 13:16:48 -06:00
Gregory Nutt
56e8f480f5 Remove dangling whitespace at the end of some lines. 2017-06-28 10:39:54 -06:00
jlecoeur
80d0664647 Merged in jlecoeur/nuttx-fork/pr-arm-none-eabi-gcc7 (pull request #424)
Fix warning implicit-fallthrough with arm-none-eabi-gcc 7

Approved-by: Gregory Nutt <gnutt@nuttx.org>
2017-06-28 16:21:49 +00:00
Cristian Condurache
2ea054fead Merged in ccondurache/nuttx/fix_elf_arm_checkarch (pull request #422)
Fix ELF loader up_checkarch on ARM arch

Approved-by: Gregory Nutt <gnutt@nuttx.org>
2017-06-28 16:19:51 +00:00
Julien Lecoeur
f26e83d0a1 Fix -Werror=implicit-fallthrough on gcc7 2017-06-28 17:48:04 +02:00
Cristian Condurache
d4add14823 Fix ELF loader up_checkarch on ARM arch 2017-06-28 18:11:39 +03:00
Gregory Nutt
4db21f4d7e net/: IPv6 packet input, Improve checks that the packet is destined for us. There might be some odd things that can happen in certain forwarding scenarios. 2017-06-28 08:13:57 -06:00
Jussi Kivilinna
4eaa136850 smart: fix wrong freeing of device structure and use-after-free issues on error paths 2017-06-28 07:20:07 -06:00
Gregory Nutt
3b0c422743 net/sixlowpan: Change a wlerr to nerr 2017-06-27 17:01:23 -06:00
Gregory Nutt
130cf1af1d Merged ieee802154 into master 2017-06-27 16:50:54 -06:00
Anthony Merlino
367153adc9 ieee802154: Supports get request for coordinator address 2017-06-27 18:26:20 -04:00
Gregory Nutt
76644b6ead Update a README. 2017-06-27 09:53:55 -06:00
Gregory Nutt
70cefcf551 Clicker2-STM32: Add support for the Telnet client to the mrf24j40-6lowpan configuration. Useless at the moment because the NuttX telnet daemon does not yet support IPv6. 2017-06-27 07:44:41 -06:00
Gregory Nutt
492c53c3ff Update NSH documentation. 2017-06-26 17:58:29 -06:00
Gregory Nutt
8cb4636bb1 Update README 2017-06-26 11:54:43 -06:00
Gregory Nutt
25090e9c5a Merge branch 'beacon802154' 2017-06-26 11:25:29 -06:00
Gregory Nutt
4257672a18 Merge remote-tracking branch 'origin/master' into beacon802154 2017-06-26 11:04:49 -06:00
Gregory Nutt
1f81b14610 Beacon logic: Damage control. Looks like something went wrong with the PR merge. 2017-06-26 11:03:44 -06:00
Gregory Nutt
aa1708e7c0 6LoWPAN: Update README; fix duplicate and bad memcpy in loopback driver. 2017-06-26 10:53:57 -06:00
Gregory Nutt
233dfa4689 Merge branch 'master' of bitbucket.org:nuttx/nuttx 2017-06-26 10:50:54 -06:00
Gregory Nutt
91f342a267 Kconfig: Remove duplicate setting 2017-06-26 10:49:02 -06:00
Juha Niskanen
fc2deb118c STM32L4 serial: Allow configuring Rx DMA buffer size 2017-06-26 10:49:02 -06:00
Gregory Nutt
249ab6eb18 6LoWPAN: Eliminate a global variable. 2017-06-26 10:49:02 -06:00
Mateusz Szafoni
2b3867b357 Merged in raiden00/nuttx (pull request #420)
stm32_hrtim

Approved-by: Gregory Nutt <gnutt@nuttx.org>
2017-06-26 16:46:54 +00:00
raiden00pl
715d6fa9ff stm32f33xxx_rcc: cleanup + move hrtim clock source selection 2017-06-26 18:30:10 +02:00
raiden00pl
aead2b2afd stm32f33xxx_rcc.h: fix typo 2017-06-26 18:26:59 +02:00
Juha Niskanen
56eeb40958 STM32L4 serial: Allow configuring Rx DMA buffer size 2017-06-26 09:19:42 -06:00
Anthony Merlino
2069a90220 Merged in merlin17/nuttx/beacon802154 (pull request #419)
ieee80215: starts adding support for beacon-enabled networking

Approved-by: Gregory Nutt <gnutt@nuttx.org>
2017-06-26 00:18:46 +00:00