Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OSX + SAMR21-xpro: shell cannot handle command inputs larger than 64 chars #5863

Closed
smlng opened this issue Sep 23, 2016 · 25 comments
Closed
Assignees
Labels
Area: network Area: Networking OS: Mac OS X Host OS: This PR/issue concerns usage of RIOT with Mac OS X as a host system Type: bug The issue reports a bug / The PR fixes a bug (including spelling errors)

Comments

@smlng
Copy link
Member

smlng commented Sep 23, 2016

Hi,

just ran into a curious problem, I used gnrc_networking example on two RIOT nodes, and run udp server start 1234. On the other node I run: udp send <addr> 1234 foobar.

Which works up to a string of length 23, afterwards the udp send ... command just blocks, and while I saw all previous transmissions in the sniffer and where dumped on the server side, 24B and above seem to be stuck at the sender.

Here some output:

2016-09-23 13:21:16,628 - INFO # RIOT network stack example application
2016-09-23 13:21:16,631 - INFO # All up, running the shell now
udp send fe80::1430:2488:724e:e2f0 1234 foobarfoobarfoobar
2016-09-23 13:21:27,889 - INFO # > udp send fe80::1430:2488:724e:e2f0 1234 foobarfoobarfoobar
2016-09-23 13:21:27,895 - INFO # Success: send 18 byte to [fe80::1430:2488:724e:e2f0]:1234
udp send fe80::1430:2488:724e:e2f0 1234 foobarfoobarfoobara
2016-09-23 13:21:30,441 - INFO # > udp send fe80::1430:2488:724e:e2f0 1234 foobarfoobarfoobara
2016-09-23 13:21:30,447 - INFO # Success: send 19 byte to [fe80::1430:2488:724e:e2f0]:1234
udp send fe80::1430:2488:724e:e2f0 1234 foobarfoobarfoobara
2016-09-23 13:21:31,965 - INFO # > udp send fe80::1430:2488:724e:e2f0 1234 foobarfoobarfoobara
2016-09-23 13:21:31,971 - INFO # Success: send 19 byte to [fe80::1430:2488:724e:e2f0]:1234
udp send fe80::1430:2488:724e:e2f0 1234 foobarfoobarfoobarab
2016-09-23 13:21:34,879 - INFO # > udp send fe80::1430:2488:724e:e2f0 1234 foobarfoobarfoobarab
2016-09-23 13:21:34,886 - INFO # Success: send 20 byte to [fe80::1430:2488:724e:e2f0]:1234
udp send fe80::1430:2488:724e:e2f0 1234 foobarfoobarfoobarabc
2016-09-23 13:21:36,220 - INFO # > udp send fe80::1430:2488:724e:e2f0 1234 foobarfoobarfoobarabc
2016-09-23 13:21:36,226 - INFO # Success: send 21 byte to [fe80::1430:2488:724e:e2f0]:1234
udp send fe80::1430:2488:724e:e2f0 1234 foobarfoobarfoobarabcd
2016-09-23 13:21:37,662 - INFO # > udp send fe80::1430:2488:724e:e2f0 1234 foobarfoobarfoobarabcd
2016-09-23 13:21:37,668 - INFO # Success: send 22 byte to [fe80::1430:2488:724e:e2f0]:1234
udp send fe80::1430:2488:724e:e2f0 1234 foobarfoobarfoobarabcde
2016-09-23 13:21:38,996 - INFO # > udp send fe80::1430:2488:724e:e2f0 1234 foobarfoobarfoobarabcde
2016-09-23 13:21:39,002 - INFO # Success: send 23 byte to [fe80::1430:2488:724e:e2f0]:1234
udp send fe80::1430:2488:724e:e2f0 1234 foobarfoobarfoobarabcdef
@smlng
Copy link
Member Author

smlng commented Sep 23, 2016

btw. latest master of RIOT it is!

@smlng smlng added Type: bug The issue reports a bug / The PR fixes a bug (including spelling errors) Area: network Area: Networking Impact: major The PR changes a significant part of the code base. It should be reviewed carefully labels Sep 23, 2016
@OlegHahm
Copy link
Member

OlegHahm commented Sep 23, 2016

My first guess would be that this limit is induced by the shell input buffer. Can you check this?

Nonsense.

@OlegHahm
Copy link
Member

Could not reproduce your problem on master, using native or iotlab-m3 everything seems to run smoothly.

@smlng
Copy link
Member Author

smlng commented Sep 23, 2016

mhm,

#define SHELL_DEFAULT_BUFSIZE   (128)

my command has 65 chars and is as follows, which is not working (one less is):

udp send fe80::1430:2488:724e:e2f0 1234 foobarfoobarfoobarabcdef

@smlng
Copy link
Member Author

smlng commented Sep 23, 2016

I'm testing on samr21-xpro.

@OlegHahm
Copy link
Member

Is also working for me:

2016-09-23 13:39:40,854 - INFO # > udp send fe80::1430:2488:724e:e2f0 1234 foobarfoobarfoobarfoobarfoobarfoobarfoobarfoobarfoobar
2016-09-23 13:39:40,860 - INFO # Success: send 54 byte to [fe80::1430:2488:724e:e2f0]:1234

@OlegHahm
Copy link
Member

Would be helpful if you could identify which thread is blocking your setup. Using make debug and call ps() should help for that.

@smlng
Copy link
Member Author

smlng commented Sep 23, 2016

I narrowed it down to OS X with gcc-arm-none-eabi-4_9-2015q2 and samr21-xpro, there is problem with more than 64 chars in the shell - pba-d-01-kw2x works.

On Linux with gcc-arm-none-eabi-5_2 everything works as expected.

@smlng smlng added OS: Mac OS X Host OS: This PR/issue concerns usage of RIOT with Mac OS X as a host system ugly and removed Impact: major The PR changes a significant part of the code base. It should be reviewed carefully Area: network Area: Networking labels Sep 23, 2016
@smlng
Copy link
Member Author

smlng commented Sep 26, 2016

I updated my toolchain to latest gcc-arm-none-eabi-5_4-2016q2, still the same issue:

  • on OS X and board samr21-xpro is the shell command exceeds 64 chars the command handling fails
  • on OS X and board pba-d-01-kw2x, with same toolchain, everything works as expected 64+ no problem
  • on Linux and board samr21-xpro with same toolchain (v5.4) everything works, too

Might be related to the UART/serial connection of the samr21-xpro under OS X. However, the issue persists.

@miri64 miri64 added this to the Release 2016.10 milestone Oct 18, 2016
@miri64 miri64 changed the title gnrc_networking: cannot send udp packets > 23B gnrc_networking: cannot send udp packets > 23B on samr21-xpro with OSX Oct 18, 2016
@kYc0o
Copy link
Contributor

kYc0o commented Oct 18, 2016

I experienced the same issue while testing txtsnd on a default RIOT example on OS X too. I'd say then that this is a OS X related problem. I don't have much time now so I don't promise to work on this soon.

For info my test was between a iotlab-m3 and a z1.

@kYc0o
Copy link
Contributor

kYc0o commented Oct 19, 2016

@smlng Can you also check your python version? Since make term actually launches pyterm maybe this is more related to the Python version rather than Mac OS X.

@smlng
Copy link
Member Author

smlng commented Oct 19, 2016

@kYc0o, I have python 2.7.12 install via brew. Just tested again against current master, and the issue persist. However, its not about sending packets or any other networking stuff; its the shell command input and parsing. It somehow has a problem with lines longer than 64 chars - I'll adapt the issue title accordingly.

Btw. the issue is only with BOARD=samr21-xpro and OSX, another board such as pba-d-01-kw2x works fine under OSX. And the samr21-xpro works fine under Linux. And further, I use gcc-arm-none-eabi-5_4 on OSX and Linux.

@smlng smlng changed the title gnrc_networking: cannot send udp packets > 23B on samr21-xpro with OSX OSX + SAMR21-xpro: shell cannot handle command inputs larger than 64 chars Oct 19, 2016
@Yonezawa-T2
Copy link
Contributor

Yonezawa-T2 commented Oct 20, 2016

[del]
Maybe we should check returned value from _native_write in uart_write:

_native_write(tty_fds[uart], data, len);

Man write(2) says: “When using non-blocking I/O on objects, such as sockets, that are subject to flow control, write() and writev() may write fewer bytes than requested; the return value must be noted, and the remainder of the operation should be retried when possible.”
[/del]

@miri64
Copy link
Member

miri64 commented Oct 20, 2016

I thought this issue was about

a) a limited reading of input chars
b) compiling am image for samr21 on OSX

How would checking the return value of write() on native help in that case? ;)

@Yonezawa-T2
Copy link
Contributor

I misunderstood that macOS native RIOT is communicating to a board via UART.

@kYc0o
Copy link
Contributor

kYc0o commented Oct 20, 2016

Ok let me make a test on those boards and I'll give feedback soon.

@kYc0o
Copy link
Contributor

kYc0o commented Nov 10, 2016

Strange... but I can confirm that samr21-xpro shell (default example) only allows 64 bytes, while pba-d-01-kw2x allows 128 and when exceeded sends an error (shell: command not found).

@smlng
Copy link
Member Author

smlng commented Nov 10, 2016

The 128 bytes is expected as this is the shell buffer size, see 1. The 64 bytes/chars on the samr21-xpro is strange, because it only persists on macOS/OSX with any gcc version I checked (4.9, 5.2, and 5.4). Using the same gcc version on a Linux machine with samr21-xpro does not show this behavior.

miri64 added a commit that referenced this issue Nov 11, 2016
RIOT-2016.10 - Release Notes
============================
RIOT is a real-time multi-threading operating system that supports a range of
devices that are typically found in the Internet of Things: 8-bit
microcontrollers, 16-bit microcontrollers and light-weight 32-bit processors.

RIOT is based on the following design principles: energy-efficiency, real-time
capabilities, small memory footprint, modularity, and uniform API access,
independent of the underlying hardware (this API offers partial POSIX
compliance).

RIOT is developed by an international open source community which is
independent of specific vendors (e.g. similarly to the Linux community) and is
licensed with a non-viral copyleft license (LGPLv2.1), which allows indirect
business models around the free open-source software platform provided by
RIOT.

About this release:
===================
This release provides a lot of new features as well as it  fixes several major
bugs. Among these new features are the new simplified network socket API
called sock, the GNRC specific CoAP implementation gcoap and several new
packages: TinyDTLS, the Aversive++ microcontroller library for robotics, the
u8g2 graphic library, and nanocoap.
Using the new sock API an implementation of the Simple Time Network Protocol
(SNTP) was also introduced, allowing for time synchronization between nodes.
New platforms include the Arduino Uno, the Arduino Duemilanove, the Arduino
Zero, SODAQ Autonomo, and the Zolertia remote (rev. B).
The most significant bug fix was done in native which led to a significantly
more robust handling of ISRs and now allows for at least 1,000 native
instances running stably on one machine.

About 263 pull requests with about 398 commits have been merged since the last
release and about 42 issues have been solved. 37 people contributed with code
in 100 days. 1006 files have been touched with 166500 insertions and 26926
deletions.

Notations used below:
=====================
+ means new feature/item
* means modified feature/item
- means removed feature/item

New features and changes
========================
General
-------
* Verbose behavior for assert() macro

Core
----
+ MPU support for Cortex-M

API changes
-----------
+ Socket-like sock API (replacing conn)
* netdev2: Add Testmodes and CCA modes
* IEEE 802.15.4: clean-up Intra-PAN behavior
* IEEE 802.15.4: centralize default values
* gnrc_pktbuf: allow for 0-sized snips
+ gnrc_netapi: mbox and arbitrary callback support

System libraries
----------------
No new features or changes

Networking
----------
+ Provide sock-port for GNRC
+ gcoap: a GNRC-based CoAP implementation
+ Simple Network Time Protocol (RFC 5905, section 14)
+ Priority Queue for packet snips
+ IPv4 header definitions

Packages
--------
+ nanocoap: CoAP header parser/builder
+ TinyDTLS: DTLS library
+ tiny-asn1: asn.1/der decoder
+ Aversive++ microcontroller programming library
+ u8g2 graphic library

Platforms
---------
+ Support for stm32f2xx MCU family
+ Low power modes for samd21 CPUs
+ More Arduino-based platforms:
    + Arduino Uno
    + Arduino Duemilanove
    + Arduino Zero
+ More boards of ST's Nucleo platforms:
    + ST Nucleo F030 board support
    + ST Nucleo F070 board support
    + ST Nucleo F446 board support
+ SODAQ Automono
+ Zolertia remote rev. B

Drivers
-------
+ W5100 Ethernet device
+ Atmel IO1 Xplained extension
+ LPD8808 LED strips
* at86rf2xx: provide capability to access the RND_VALUE random value register

Build System
------------
+ static-tests build target for easy local execution of CI's static tests

Other
-----
+ Provide Arduino API to Nucleo boards
+ Packer configuration file to build vagrant boxes
+ CC2650STK Debugger Support
+ ethos: add Ethos over TCP support

Fixed Issues from the last release
==================================
 #534:  native debugging on osx fails
 #2071: native: *long* overdue fixes
 #3341: netdev2_tap crashes when hammered
 #5007: gnrc icmpv6: Ping reply goes out the wrong interface
 #5432: native: valgrind fails

Known Issues
============
Networking related issues
-------------------------
 #3075: nhdp: unnecessary microsecond precision: NHDP works with timer values
       of microsecond precision which is not required. Changing to lower
       precision would save some memory.
 #4048: potential racey memory leak: According to the packet buffer stats,
       flood-pinging a multicast destination may lead to a memory leak due to
       a race condition. However, it seems to be a rare case and a completely
       filled up packet buffer was not observed.
 #4388: POSIX sockets: open socket is bound to a specific thread: This was an
       inherit problem of the conn API under GNRC. Since the POSIX sockets are
       still based on conn for this release, this issue persists
 #4527: gnrc_ipv6: Multicast is not forwarded if routing node listens to the
       address (might still be fixable for release, see #5729, #5230: gnrc
       ipv6: multicast packets are not dispatched to the upper layers)
 #5016: gnrc_rpl: Rejoining RPL instance as root after reboot messes up routing
 #5055: cpuid: multiple radios will get same EUI-64 Nodes with multiple
       interfaces might get the same EUI-64 for them since they are generated
       from the same CPU ID.
 #5656: Possible Weakness with locking in the GNRC network stack: For some
       operations mutexes to the network interfaces need to get unlocked in
       the current implementation to not get deadlocked. Recursive mutexes as
       provided in #5731 might help to solve this problem.
 #5748: gnrc: nodes crashing with too small packet buffer: A packet buffer of
       size ~512 B might lead to crashes. The issue describes this for several
       hundret nodes, but agressive flooding with just two nodes was also
       shown to lead to this problem.
 #5858: gnrc: 6lo: potential problem with reassembly of fragments: If one frame
       gets lost the reassembly state machine might get out of sync

 ### NDP is not working properly
 #4499: handle of l2src_len in gnrc_ndp_rtr_sol_handle: Reception of a router
       solicitation might lead to invalid zero-length link-layer addresses in
       neighbor cache.
 #5005: ndp: router advertisement sent with global address: Under some
       circumstances a router might send RAs with GUAs. While they are ignored
       on receive (as RFC 4861 specifies), RAs should have link-local
       addresses and not even be send out this way.
 #5122: NDP: global unicast address on non-6LBR nodes disappears after a while:
       Several issues (also see #5760) lead to a global unicast address
       effectively being banned from the network (disappears from neighbor
       cache, is not added again)
 #5467: ipv6 address vanishes when ARO (wrongly) indicates DUP caused by
       outdated ncache at router
 #5539: Border Router: packet not forwarded from ethos to interface 6
 #5790: ND: Lost of Global IPV6 on node after sending lot of UDP frame from BR

Timer related issues
--------------------
 #4841: xtimer: timer already in the list: Under some conditions an xtimer can
       end up twice in the internal list of the xtimer module
 #4902: xtimer: xtimer_set: xtimer_set does not handle integer overflows well
 #5338: xtimer: xtimer_now() not ISR safe for non-32-bit platforms.
 #5928: xtimer: usage in board_init() crashes: some boards use the xtimer in
       there board_init() function. The xtimer is however first initialized in
       the auto_init module which is executed after board_init()
 #6052: tests: xtimer_drift gets stuck: xtimer_drift application freezes after
       ~30-200 seconds

native related issues
---------------------
 #495:  native not float safe: When the FPU is used when an asynchronous context
       switch occurs, either the stack gets corrupted or a floating point
       exception occurs.
 #2175: ubjson: valgind registers "Invalid write of size 4" in unittests
 #4590: pkg: building relic with clang fails.
 #5796: native: tlsf: early malloc will lead to a crash: TLSF needs pools to be
       initialized (which is currently expected to be done in an application).
       If a malloc is needed before an application's main started (e.g. driver
       initialization) the node can crash, since no pool is allocated yet.

other platform related issues
-----------------------------
 #1891: newlib-nano: Printf formatting does not work properly for some numberic
       types: PRI[uxdi]64, PRI[uxdi]8 and float are not parsed in newlib-nano
 #2006: cpu/nrf51822: timer callback may be fired too early
 #2143: unittests: tests-core doesn't compile for all platforms: GCC build-ins
       were used in the unittests which are not available with msp430-gcc
 #2300: qemu unittest fails because of a page fault
 #4512: pkg: tests: RELIC unittests fail on iotlab-m3
 #4522: avsextrem: linker sometimes doesn't find `bl_init_clks()`
 #4560: make: clang is more pedantic than gcc oonf_api is not building with
       clang. (Partly solved by #4593)
 #4694: drivers/lm75a: does not build
 #4737: cortex-m: Hard fault after a thread exits (under some circumstances)
 #4822: kw2xrf: packet loss when packets get fragmented
 #4876: at86rf2xx: Simultaneous use of different transceiver types is not
       supported
 #4954: chronos: compiling with -O0 breaks
 #4866: not all GPIO driver implementations are thread safe: Due to non-atomic
       operations in the drivers some pin configurations might get lost.
 #5009: RIOT is saw-toothing in energy consumption (even when idling)
 #5103: xtimer: weird behavior of tests/xtimer_drift: xtimer_drift randomly
       jumps a few seconds on nrf52
 #5361: cpu/cc26x0: timer broken
 #5405: Eratic timings on iotlab-m3 with compression context activated
 #5460: cpu/samd21: i2c timing with compiler optimization
 #5486: at86rf2xx: lost interrupts
 #5489: cpu/lpc11u34: ADC broken
 #5603: atmega boards second UART issue
 #5678: at86rf2xx: failed assertion in _isr
 #5719: cc2538: rf driver doesn't handle large packets
 #5799: kw2x: 15.4 duplicate transmits
 #5944: msp430: ipv6_hdr unittests fail
 #5848: arduino: Race condition in sys/arduino/Makefile.include
 #5954: nRF52 uart_write get stuck
 #6018: nRF52 gnrc 6lowpan ble memory leak

other issues
------------
 #1263: TLSF implementation contains (a) read-before-write error(s).
 #3256: make: Setting constants on compile time doesn't really set them
       everywhere
 #3366: periph/i2c: handle NACK
 #4488: Making the newlib thread-safe: When calling puts/printf after
       thread_create(), the CPU hangs for DMA enabled uart drivers.
 #4866: periph: GPIO drivers are not thread safe
 #5128: make: buildtest breaks when exporting FEATURES_PROVIDED var
 #5207: make: buildest fails with board dependent application Makefiles
 #5390: pkg: OpenWSN does not compile: This package still uses deprecated
       modules and was not tested for a long time.
 #5520: tests/periph_uart not working
 #5561: C++11 extensions in header files
 #5776: make: Predefining CFLAGS are parsed weirdly
 #5863: OSX +  SAMR21-xpro: shell cannot handle command inputs larger than 64
       chars
 #5962: Makefile: UNDEF variable is not working as documented
 #6022: pkg: build order issue

Special Thanks
==============
We like to give our special thanks to all the companies that provided us with
their hardware for porting and testing, namely the people from (in
alphabeticalorder): Atmel, Freescale, Imagination Technologies, Limifrog,
Nordic, OpenMote, Phytec, SiLabs, UDOO,and Zolertia; and also companies that
directly sponsored development time: Cisco Systems, Eistec, Ell-i, Enigeering
Spirit, Nordic, FreshTemp LLC, OTAkeys and Phytec.

More information
================
http://www.riot-os.org

Mailing lists
-------------
* RIOT OS kernel developers list
  devel@riot-os.org (http://lists.riot-os.org/mailman/listinfo/devel)
* RIOT OS users list
  users@riot-os.org (http://lists.riot-os.org/mailman/listinfo/users)
* RIOT commits
  commits@riot-os.org (http://lists.riot-os.org/mailman/listinfo/commits)
* Github notifications
  notifications@riot-os.org (http://lists.riot-os.org/mailman/listinfo/notifications)

IRC
---
* Join the RIOT IRC channel at: irc.freenode.net, #riot-os

License
=======
* Most of the code developed by the RIOT community is licensed under the GNU
  Lesser General Public License (LGPL) version 2.1 as published by the Free
  Software Foundation.
* Some external sources are published under a separate, LGPL compatible
  license (e.g. some files developed by SICS).

All code files contain licensing information.
@kaspar030 kaspar030 removed this from the Release 2017.04 milestone Apr 25, 2017
@smlng
Copy link
Member Author

smlng commented Jan 29, 2018

still persist on macOS 10.13.3 with latest arm-none-eabi-gcc version 7.2 on samr21-xpro

@smlng
Copy link
Member Author

smlng commented Jan 29, 2018

its work for pba-d-01-kw2x, same compiler

@stale
Copy link

stale bot commented Aug 10, 2019

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. If you want me to ignore this issue, please mark it with the "State: don't stale" label. Thank you for your contributions.

@stale stale bot added the State: stale State: The issue / PR has no activity for >185 days label Aug 10, 2019
@stale stale bot closed this as completed Sep 10, 2019
@aabadie aabadie reopened this Sep 21, 2019
@stale stale bot removed the State: stale State: The issue / PR has no activity for >185 days label Sep 21, 2019
@miri64
Copy link
Member

miri64 commented Jul 1, 2020

Is this still the case, now that the shell saw a larger overhaul with #13197? @fjmolinas, can you please test?

@miri64 miri64 added this to the Release 2020.07 milestone Jul 1, 2020
@fjmolinas
Copy link
Contributor

I don't have a samr21-xpro with me today, but I'll test tomorrow, this might have been realated (and therefore fixed) by #13195

@fjmolinas fjmolinas self-assigned this Jul 2, 2020
@aabadie
Copy link
Contributor

aabadie commented May 20, 2021

I don't have a samr21-xpro with me today, but I'll test tomorrow, this might have been realated (and therefore fixed) by #13195

Were you able to test this @fjmolinas ? I'm under the same impression.

@fjmolinas
Copy link
Contributor

Tested on OSX, it does not get stuck anymore, so fixed by #13195

> help
2021-05-21 11:17:41,756 #  help
2021-05-21 11:17:41,759 # Command              Description
2021-05-21 11:17:41,763 # ---------------------------------------
2021-05-21 11:17:41,768 # udp                  send data over UDP and listen on UDP ports
2021-05-21 11:17:41,772 # reboot               Reboot the node
2021-05-21 11:17:41,776 # version              Prints current RIOT_VERSION
2021-05-21 11:17:41,781 # pm                   interact with layered PM subsystem
2021-05-21 11:17:41,787 # ps                   Prints information about running threads.
2021-05-21 11:17:41,790 # ping6                Ping via ICMPv6
2021-05-21 11:17:41,793 # ping                 Alias for ping6
2021-05-21 11:17:41,797 # random_init          initializes the PRNG
2021-05-21 11:17:41,802 # random_get           returns 32 bit of pseudo randomness
2021-05-21 11:17:41,807 # nib                  Configure neighbor information base
2021-05-21 11:17:41,812 # ifconfig             Configure network interfaces
2021-05-21 11:17:41,819 # rpl                  rpl configuration tool ('rpl help' for more information)
2021-05-21 11:17:41,824 # 6ctx                 6LoWPAN context configuration tool
> reboot
2021-05-21 11:17:43,292 #  reboot
2021-05-21 11:17:43,357 # main(): This is RIOT! (Version: 2021.04-devel-1301-g958db-pr_edhoc_c)
2021-05-21 11:17:43,360 # RIOT network stack example application
2021-05-21 11:17:43,363 # All up, running the shell now
udp send fe80::1430:2488:724e:e2f0 1234 foobarfoobarfoobar
2021-05-21 11:18:01,093 #  udp send fe80::1430:2488:724e:e2f0 1234 foobarfoobarfoobar
2021-05-21 11:18:01,100 # Success: sent 18 byte(s) to [fe80::1430:2488:724e:e2f0]:1234
> udp send fe80::1430:2488:724e:e2f0 1234 foobarfoobarfoobarabcdef
help
2021-05-21 11:18:28,597 #  udp send fe80::1430:2488:724e:e2f0 1234 foobarfoobarfoobarabcdef�dp send fe80::1430:2488:724e:e2f0 1234 foobarfoobarfoobarabcdef�dp send fe80::1430:2488:724e:e2f0 1234 foobarfoobarfoobarabcdef�dp send fe80::1430:2488:724e:e2f0 1234 foobarfoobarfoobarabcdef�dp send fe80::1430:2488:724e:e2f0 1234 foobarfoobarfoobarabcdef�dp send fe80::1430:2488:724e:e2f0 1234 foobarfoobarfoobarabcdef�dp send fe80::1430:2488:724e:e2f0 1234 foobarfoobarfoobarabcdef�elp
2021-05-21 11:18:28,600 # shell: maximum line length exceeded
> 2021-05-21 11:18:28,748 #  help
2021-05-21 11:18:28,752 # Command              Description
2021-05-21 11:18:28,754 # ---------------------------------------
2021-05-21 11:18:28,760 # udp                  send data over UDP and listen on UDP ports
2021-05-21 11:18:28,763 # reboot               Reboot the node
2021-05-21 11:18:28,768 # version              Prints current RIOT_VERSION
2021-05-21 11:18:28,773 # pm                   interact with layered PM subsystem
2021-05-21 11:18:28,778 # ps                   Prints information about running threads.
2021-05-21 11:18:28,782 # ping6                Ping via ICMPv6
2021-05-21 11:18:28,785 # ping                 Alias for ping6
2021-05-21 11:18:28,789 # random_init          initializes the PRNG
2021-05-21 11:18:28,794 # random_get           returns 32 bit of pseudo randomness
2021-05-21 11:18:28,799 # nib                  Configure neighbor information base
2021-05-21 11:18:28,804 # ifconfig             Configure network interfaces
2021-05-21 11:18:28,811 # rpl                  rpl configuration tool ('rpl help' for more information)
2021-05-21 11:18:28,816 # 6ctx                 6LoWPAN context configuration tool
> 2021-05-21 11:18:28,884 #  help
2021-05-21 11:18:28,887 # Command              Description
2021-05-21 11:18:28,890 # ---------------------------------------
2021-05-21 11:18:28,897 # udp                  send data over UDP and listen on UDP ports
2021-05-21 11:18:28,899 # reboot               Reboot the node
2021-05-21 11:18:28,904 # version              Prints current RIOT_VERSION
2021-05-21 11:18:28,909 # pm                   interact with layered PM subsystem
2021-05-21 11:18:28,914 # ps                   Prints information about running threads.
2021-05-21 11:18:28,918 # ping6                Ping via ICMPv6
2021-05-21 11:18:28,921 # ping                 Alias for ping6
2021-05-21 11:18:28,925 # random_init          initializes the PRNG
2021-05-21 11:18:28,930 # random_get           returns 32 bit of pseudo randomness
2021-05-21 11:18:28,935 # nib                  Configure neighbor information base
2021-05-21 11:18:28,940 # ifconfig             Configure network interfaces
2021-05-21 11:18:28,947 # rpl                  rpl configuration tool ('rpl help' for more information)
2021-05-21 11:18:28,952 # 6ctx                 6LoWPAN context configuration tool
> hlep
2021-05-21 11:18:30,084 #  hlep
2021-05-21 11:18:30,087 # shell: command not found: hlep
> udp send fe80::1430:2488:724e:e2f0 1234 foobarfoobarfoobarabcdef
help
2021-05-21 11:18:40,332 #  udp send fe80::1430:2488:724e:e2f0 1234 foobarfoobarfoobarabcdef�dp send fe80::1430:2488:724e:e2f0 1234 foobarfoobarfoobarabcdef�elp
2021-05-21 11:18:40,335 # shell: maximum line length exceeded
> udp send fe80::1430:2488:724e:e2f0 1234 foobarfoobarfoobarabcdef\n
help
2021-05-21 11:18:48,677 #  udp send fe80::1430:2488:724e:e2f0 1234 foobarfoobarfoobarabcdef�udp send fe80::1430:2488:724e:e2f0 1234 foobarfoobarfoobarabcdef�help
2021-05-21 11:18:48,680 # shell: maximum line length exceeded
> 

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: network Area: Networking OS: Mac OS X Host OS: This PR/issue concerns usage of RIOT with Mac OS X as a host system Type: bug The issue reports a bug / The PR fixes a bug (including spelling errors)
Projects
None yet
Development

No branches or pull requests