Lift Control API > BS2_SetFloorLevel


Configures a floor level.

Declaration

#include "BS_API.h"
 
int BS2_SetFloorLevel(void* context, uint32_t deviceId, BS2FloorLevel* floorLevels, uint32_t floorLevelCount);

Parameter

  • [In] context : Context
  • [In] deviceId : Device ID
  • [In] floorLevels : List of floor levels to be stored
  • [In] floorLevelCount : Number of floor levels

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