-
Notifications
You must be signed in to change notification settings - Fork 2k
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
shell: introduce txtsnd pseudomodule #6397
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ACK for the concept, I don't have a good enough overview of the existing examples/tests to judge whether some place that should provide txtsnd has been overlooked.
@@ -16,6 +16,7 @@ BOARD_INSUFFICIENT_MEMORY := airfy-beacon chronos msb-430 msb-430h nrf51dongle n | |||
# NOTE: 6LoWPAN will be included if IEEE802.15.4 devices are present | |||
USEMODULE += gnrc_netdev_default | |||
USEMODULE += auto_init_gnrc_netif | |||
USEMODULE += gnrc_txtsnd |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This example doesn't need that.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
But the README mentions it. Should I update the README then?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Well because typing help
at the moment includes that command appears (but that should be the case for any application that includes gnrc_netif
), so yes: please update README.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
True - I was a bit lazy and only used git grep
without looking at the context. Fixed.
Any test that registers |
Sidenote: |
I updated the mentioned tests. Regarding |
👍 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
This commit allows to enable/disable the txtsnd shell command. The command is used to send strings over L2 in GNRC. Until now the command was automatically enabled if GNRC and shell_commands were present, which may lead to confusion if no L2 packet handler is registered.
951ee26
to
df7927d
Compare
Squashed |
This commit allows to enable/disable the txtsnd shell command. The
command is used to send strings over L2 in GNRC. Until now the command
was automatically enabled if GNRC and shell_commands were present, which
may lead to confusion if no L2 packet handler is registered.
Fixes #5034.