Yakun Xu
db1b980e57
[api] remove UART from in cli/ncp API ( #6243 )
...
This commit removes application library CLI/NCP dependency on platform
layer UART APIs. Instead, application layer provides callbacks sending
CLI/NCP data.
With this change, platforms with native support for formatted output
can simply implement the CLI output callback with something like
`vprintf()`.
2021-03-18 22:13:05 -07:00
Jonathan Hui
ef4f33cb22
[clang-tidy] readability-inconsistent-declaration-parameter-name ( #5796 )
2020-11-11 10:35:36 -08:00
Jonathan Hui
1326d64a64
[style] replace NULL with nullptr ( #5109 )
2020-06-17 22:44:54 -07:00
Jonathan Hui
d81d769e68
[style] advance C++ language standard to C++11 ( #5077 )
2020-06-16 13:02:53 -07:00
Jonathan Hui
c1f0856adb
[style] remove const from uint16_t function/method params ( #4901 )
2020-04-27 12:59:24 -07:00
Jonathan Hui
8eeb1e83eb
[cli] change aArgsLength type from int to uint8_t ( #4718 )
2020-03-23 00:12:09 -07:00
Jonathan Hui
a6a93d688d
[cli] change 'argc' -> 'aArgsLength', 'argv' -> 'aArgs' ( #4718 )
2020-03-23 00:12:09 -07:00
kangping
133ec09b80
[cli] return OT_ERROR_INVALID_ARGS for invalid arguments ( #4639 )
...
- Remove argument parsing failure from semantic of OT_ERROR_PARSE.
- Add OT_ERROR_INVALID_COMMAND to indicate invalid CLI command error.
- return OT_ERROR_INVALID_ARGS for invalid CLI arguments.
2020-03-19 10:51:42 -07:00
Jonathan Hui
3530fc5907
[fuzz] implement radio state transitions ( #4671 )
2020-03-11 11:43:43 -07:00
Jonathan Hui
afe57bf36d
[fuzz] implement transmit radio callbacks ( #4625 )
...
- otPlatRadioTxStarted
- otPlatRadioTxDone
2020-03-04 10:20:10 -08:00
Jonathan Hui
50a06f80a1
[fuzz] transition fuzz_platform to cpp ( #4625 )
2020-03-04 10:20:10 -08:00