Skip to main content

BS2_ClearLog

Deletes all logs.

id values(refer to BS2Event, BS2EventBlob) which are internally managed after calling functions are not initialized or changed.

Newly generated log id will be +1 to the previous id value.

id can be increased up to 0xFFFFFFFF(maximum value of uint32_t) and then it will be increased from 0 again.

Declaration​

#include "BS_API.h"
int BS2_ClearLog(void* context, uint32_t deviceId);

Parameter​

  • [In] context : Context

  • [In] deviceId : Device ID

Return Value​

If successfully done, BS_SDK_SUCCESS will be returned.

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

See Also​

BS2_GetLog

BS2_GetFilteredLog

Was this page helpful?