本文へスキップ

BS2_SetDebugExCallback

[Deprecated]

+ v2.5.0 Registers the callback function that gets called for debugging message.

Declaration​

#include "BS_API.h"

int BS2_SetDebugExCallback(CBDebugExPrint ptrCBDebugExPrint, uint32_t level, uint32_t module);

Parameter​

  • [In] ptrCBDebugExPrint : Callback function that is called for debugging message

  • [In] level : Debugging information level

    ValueDescription
    0x00000000None
    0x00000001Fatal
    0x00000002Error
    0x00000004Warning
    0x00000008Information
    0x00000010Trace
    0xFFFFFFFFAll
  • [In] module : Debugging module information

    ValueDescription
    0x00000000None
    0x00000001Keep alive
    0x00000002Socket Manager
    0x00000004Socket Handler
    0x00000008Device
    0x00000010Device Manager
    0x00000020Event Dispatcher
    0x00000040API
    0x00000080Misc
    0xFFFFFFFFAll

Return Value​

If successfully done, BS_SDK_SUCCESS will be returned.

If there is an error, the corresponding error code will be returned.

このページは役に立ちましたか?