Lift Control API > BS2_SetFloorLevel
Configures a floor level.
#include "BS_API.h" int BS2_SetFloorLevel(void* context, uint32_t deviceId, BS2FloorLevel* floorLevels, uint32_t floorLevelCount);
context
: ContextdeviceId
: Device IDfloorLevels
: List of floor levels to be storedfloorLevelCount
: Number of floor levels
If successfully done, BS_SDK_SUCCESS
will be returned.
If there is an error, the corresponding error code will be returned.