- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I'm using mybeacon application, I found that my 92073X kit's HCI port always output content like this, how can I disable it?
Best Regards,
Ren Kai
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
#include "sparcommon.h" OR
define below macro in your app:
#define BLE_APP_DISABLE_TRACING() do{ \
extern UINT8 bleapp_trace_enable; \
extern UINT32 blecm_enabledFeatures; \
bleapp_trace_enable = 0; \
blecm_enabledFeatures &= ~(0x04); \
}while(0)
Then use this macro:
APPLICATION_INIT()
{
bleapp_set_cfg(NULL, 0, NULL, (void *)&mybeacon_puart_cfg, NULL, mybeacon_create);
BLE_APP_DISABLE_TRACING();
}
HTH
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
#include "sparcommon.h" OR
define below macro in your app:
#define BLE_APP_DISABLE_TRACING() do{ \
extern UINT8 bleapp_trace_enable; \
extern UINT32 blecm_enabledFeatures; \
bleapp_trace_enable = 0; \
blecm_enabledFeatures &= ~(0x04); \
}while(0)
Then use this macro:
APPLICATION_INIT()
{
bleapp_set_cfg(NULL, 0, NULL, (void *)&mybeacon_puart_cfg, NULL, mybeacon_create);
BLE_APP_DISABLE_TRACING();
}
HTH