This is an old revision of the document!


FIXME This page is not fully translated, yet. Please help completing the translation.
(remove this paragraph once the translation is finished)

Configuration API > BS2_ResetConfigExceptNetInfo


[+ V2.6.0] Initializes the setting information of the device. (Excluding network settings)

Declaration

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

Paramter

  • [In] context : Context
  • [In] deviceId : Device ID
  • [In] includingDB : Weather to delete access group, level, schedule, holiday group, door, zone information

Return Value

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