Skip to content

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

@smlng

Description

@smlng

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

Metadata

Metadata

Labels

Area: networkArea: NetworkingOS: Mac OS XHost OS: This PR/issue concerns usage of RIOT with Mac OS X as a host systemType: bugThe issue reports a bug / The PR fixes a bug (including spelling errors)

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions