mirror of
https://github.com/espressif/openthread.git
synced 2026-08-19 08:59:52 +00:00
[cli] update 'README_UDP.md' (#6265)
This commit updates the `README_UDP.md` to use a bullet list for possible `type` options in `send` command.
This commit is contained in:
@@ -152,8 +152,10 @@ Send a few bytes over UDP.
|
||||
|
||||
- ip: the IPv6 destination address.
|
||||
- port: the UDP destination port.
|
||||
- type: the type of the message: _ `-t`: text payload in the `value`, same as without specifying the type. _ `-s`: autogenerated payload with specified length indicated in the `value`.
|
||||
\* `-x`: binary data in hexadecimal representation in the `value`.
|
||||
- type: the type of the message:
|
||||
- `-t`: text payload in the `value`, same as without specifying the type.
|
||||
- `-s`: autogenerated payload with specified length indicated in the `value`.
|
||||
- `-x`: binary data in hexadecimal representation in the `value`.
|
||||
|
||||
```bash
|
||||
> udp send fdde:ad00:beef:0:bb1:ebd6:ad10:f33 1234 -t hello
|
||||
@@ -182,7 +184,10 @@ Done
|
||||
|
||||
Send a few bytes over UDP.
|
||||
|
||||
- type: the type of the message: _ `-t`: text payload in the `value`, same as without specifying the type. _ `-s`: autogenerated payload with specified length indicated in the `value`. \* `-x`: binary data in hexadecimal representation in the `value`.
|
||||
- type: the type of the message:
|
||||
- `-t`: text payload in the `value`, same as without specifying the type.
|
||||
- `-s`: autogenerated payload with specified length indicated in the `value`.
|
||||
- `-x`: binary data in hexadecimal representation in the `value`.
|
||||
|
||||
```bash
|
||||
> udp send -t hello
|
||||
|
||||
Reference in New Issue
Block a user