Announcements
IMPORTANT: Cypress Developer Community is transitioning on October 20th. To learn more and be prepared for this change, check out our latest announcement.
cancel
Showing results for 
Search instead for 
Did you mean: 

WICED Smart Bluetooth

Anonymous
Not applicable

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

0 Likes
1 Solution
VikramR_26
Employee

#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

http://community.broadcom.com/message/10315#10315

View solution in original post

1 Reply
VikramR_26
Employee

#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

http://community.broadcom.com/message/10315#10315

View solution in original post