HI all:
我在使用TI的basic_ble例程时,在demo工程里有log输出打印功能。但在使用simple_central例程时,该部分并没有在工程中使用,我该如何将basic_ble里的log打印功能适配到simple_central等其他工程中呢?是否有相关的文档和教程。
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
HI all:
我在使用TI的basic_ble例程时,在demo工程里有log输出打印功能。但在使用simple_central例程时,该部分并没有在工程中使用,我该如何将basic_ble里的log打印功能适配到simple_central等其他工程中呢?是否有相关的文档和教程。
这个属于软件层面的实现,直接调用了display.h文件,api函数,您这边去调用就可以了.
可能我的表达不准确,我想使用的是basic_demo里的这个log,不是disply
开始时需要解决几个问题:
1. 您使用什么 SDK?
2.当你说记录输出时,你指的是basic_ble中的MenuModule_printf吗?如果是这样,简单的项目使用Display driver。您还可以使用日志驱动程序或ITM 日志记录。
您可能正在寻找包含“DebugP.h”的内容,我相信TI-RTOS的这一部分可以帮助到您。
我在上一篇消息中包含的链接是其他日志记录方法,例如 https://dev.ti.com/tirex/content/simplelink_cc13xx_cc26xx_sdk_7_10_01_24/docs/tiutils/html/group__ti__log__LOG.html 或 https://dev.ti。 com/tirex/content/simplelink_cc13xx_cc26xx_sdk_7_10_01_24/docs/drivers/doxygen/html/_i_t_m_8h.html。我们在 BLE 团队中使用这些并支持它。我建议您在您的项目中使用这些驱动程序。