Is it possible to increase the buffer size when using otCliOutputFormat

已查看 20 次
跳至第一个未读帖子

Michael Simpson

未读,
2021年8月11日 02:52:202021/8/11
收件人 openthread-users
I am losing the end of my debug lines
Thanks

Pengcheng Liu

未读,
2021年8月11日 06:40:322021/8/11
收件人 Michael Simpson、openthread-users
Hi,

OPENTHREAD_CONFIG_CLI_MAX_LINE_LENGTH:   The maximum size of the CLI line in bytes.
OPENTHREAD_CONFIG_CLI_UART_TX_BUFFER_SIZE: The maximum size of the UART transmission buffer.

More information regarding the Log could be found at "https://openthread.io/guides/build/logs"

Kind regards,
P

On Wed, Aug 11, 2021 at 7:52 AM Michael Simpson <michae...@gmail.com> wrote:
I am losing the end of my debug lines
Thanks

--
You received this message because you are subscribed to the Google Groups "openthread-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openthread-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/openthread-users/8185ae77-9a30-4bf0-81f5-ddcd48e9baf2n%40googlegroups.com.

Michael Simpson

未读,
2021年8月11日 23:22:512021/8/11
收件人 openthread-users
Hi Pencheng
Thanks for your reply.  Do I need to edit these values in cli_config.h or can I override them somehow?

Also is there a format for printing uint64_t and int64_t

Cheers
Michael

Pengcheng Liu

未读,
2021年8月12日 05:39:082021/8/12
收件人 Michael Simpson、openthread-users
Hi Michael,

I rewrite these macro values in the file pointed by "OPENTHREAD_CONFIG_FILE",  for instance "openthread-config-cc1352-ccs-ftd.h".
I print uint64_t using "%ld" or "%lu".  There are a few neat and tidy code snippets in "encoding.hpp" that you may be willing to refer to.

Kind regards,
P


回复全部
回复作者
转发
0 个新帖子