3 Replies Latest reply on Aug 6, 2014 12:12 AM by StBa_721356

    ble_traceprintf available in SDK1.x but not in SDK2.x

    MiTo_1583836

      This question is for the BT stack developer(s) at Broadcom.

       

      I have noticed the following in bleapp.h SDK2.x

       

      extern void ble_trace0 (const char *p_str);

      extern void ble_trace1 (const char *fmt_str, UINT32 p1);

      extern void ble_trace2 (const char *fmt_str, UINT32 p1, UINT32 p2);

      extern void ble_trace3 (const char *fmt_str, UINT32 p1, UINT32 p2, UINT32 p3);

      extern void ble_trace4 (const char *fmt_str, UINT32 p1, UINT32 p2, UINT32 p3, UINT32 p4);

      extern void ble_trace5 (const char *fmt_str, UINT32 p1, UINT32 p2, UINT32 p3, UINT32 p4, UINT32 p5);

      extern void ble_trace6 (const char *fmt_str, UINT32 p1, UINT32 p2, UINT32 p3, UINT32 p4, UINT32 p5, UINT32 p6);

      extern void ble_tracen (char *p_str, UINT16 len);

      // extern void ble_traceprintf(const char* fmt_str, ...);

       

      I am not clear why the ble_traceprintf has been commented out moving to SDK2.x. This is braking the backward compatibility between the two versions of the APIs. This requires rework of the code being ported from SDK1.x to SDK2.x

       

      Comments on this are welcome,

      Thanks