1 Reply Latest reply on Mar 23, 2015 11:42 PM by VikramR_26

    How can I disable trace output in "mybeacon" application?

      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

       

       

        • 1. Re: How can I disable trace output in "mybeacon" application?
          VikramR_26

          #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