public static SigModel getSigModel(final int modelId) {
        switch (modelId) {
            case CONFIGURATION_SERVER:
                return new ConfigurationServerModel(modelId);
            case CONFIGURATION_CLIENT:
                return new ConfigurationClientModel(modelId);
            case HEALTH_SERVER_MODEL:
                return new HealthServerModel(modelId);
            case HEALTH_CLIENT_MODEL:
                return new HealthClientModel(modelId);
            case GENERIC_ON_OFF_SERVER:
                return new GenericOnOffServerModel(modelId);
            case GENERIC_ON_OFF_CLIENT:
                return new GenericOnOffClientModel(modelId);
            case GENERIC_LEVEL_SERVER:
                return new GenericLevelServerModel(modelId);
            case GENERIC_LEVEL_CLIENT:
                return new GenericLevelClientModel(modelId);
            case GENERIC_DEFAULT_TRANSITION_TIME_SERVER:
                return new GenericDefaultTransitionTimeServer(modelId);
            case GENERIC_DEFAULT_TRANSITION_TIME_CLIENT:
                return new GenericDefaultTransitionTimeClient(modelId);
            case GENERIC_POWER_ON_OFF_SERVER:
                return new GenericPowerOnOffServer(modelId);
            case GENERIC_POWER_ON_OFF_SETUP_SERVER:
                return new GenericPowerOnOffSetupServer(modelId);
            case GENERIC_POWER_ON_OFF_CLIENT:
                return new GenericPowerOnOffClient(modelId);
            case GENERIC_POWER_LEVEL_SERVER:
                return new GenericPowerLevelServer(modelId);
            case GENERIC_POWER_LEVEL_SETUP_SERVER:
                return new GenericPowerLevelSetupServer(modelId);
            case GENERIC_POWER_LEVEL_CLIENT:
                return new GenericPowerLevelClient(modelId);
            case GENERIC_BATTERY_SERVER:
                return new GenericBatteryServer(modelId);
            case GENERIC_BATTERY_CLIENT:
                return new GenericBatteryClient(modelId);
            case GENERIC_LOCATION_SERVER:
                return new GenericLocationServer(modelId);
            case GENERIC_LOCATION_SETUP_SERVER:
                return new GenericLocationSetupServer(modelId);
            case GENERIC_LOCATION_CLIENT:
                return new GenericLocationClient(modelId);
            case GENERIC_ADMIN_PROPERTY_SERVER:
                return new GenericAdminPropertyServer(modelId);
            case GENERIC_MANUFACTURER_PROPERTY_SERVER:
                return new GenericManufacturerPropertyServer(modelId);
            case GENERIC_USER_PROPERTY_SERVER:
                return new GenericUserPropertyServer(modelId);
            case GENERIC_CLIENT_PROPERTY_SERVER:
                return new GenericClientPropertyServer(modelId);
            case GENERIC_PROPERTY_CLIENT:
                return new GenericPropertyClient(modelId);
            case SENSOR_SERVER:
                return new SensorServer(modelId);
            case SENSOR_SETUP_SERVER:
                return new SensorSetupServer(modelId);
            case SENSOR_CLIENT:
                return new SensorClient(modelId);
            case TIME_SERVER:
                return new TimeServer(modelId);
            case TIME_SETUP_SERVER:
                return new TimeSetupServer(modelId);
            case TIME_CLIENT:
                return new TimeClient(modelId);
            case SCENE_SERVER:
                return new SceneServer(modelId);
            case SCENE_SETUP_SERVER:
                return new SceneSetupServer(modelId);
            case SCENE_CLIENT:
                return new SceneClient(modelId);
            case SCHEDULER_SERVER:
                return new SchedulerServer(modelId);
            case SCHEDULER_SETUP_SERVER:
                return new SchedulerSetupServer(modelId);
            case SCHEDULER_CLIENT:
                return new SchedulerClient(modelId);
            case LIGHT_LIGHTNESS_SERVER:
                return new LightLightnessServer(modelId);
            case LIGHT_LIGHTNESS_SETUP_SERVER:
                return new LightLightnessSetupServer(modelId);
            case LIGHT_LIGHTNESS_CLIENT:
                return new LightLightnessClient(modelId);
            case LIGHT_CTL_SERVER:
                return new LightCtlServer(modelId);
            case LIGHT_CTL_SETUP_SERVER:
                return new LightCtlSetupServer(modelId);
            case LIGHT_CTL_CLIENT:
                return new LightCtlClient(modelId);
            case LIGHT_CTL_TEMPERATURE_SERVER:
                return new LightCtlTemperatureServer(modelId);
            case LIGHT_HSL_SERVER:
                return new LightHslServer(modelId);
            case LIGHT_HSL_SETUP_SERVER:
                return new LightHslSetupServer(modelId);
            case LIGHT_HSL_CLIENT:
                return new LightHslClient(modelId);
            case LIGHT_HSL_HUE_SERVER:
                return new LightHslHueServer(modelId);
            case LIGHT_HSL_SATURATION_SERVER:
                return new LightHslSaturationServer(modelId);
            case LIGHT_XYL_SERVER:
                return new LightXylServer(modelId);
            case LIGHT_XYL_SETUP_SERVER:
                return new LightXylSetupServer(modelId);
            case LIGHT_XYL_CLIENT:
                return new LightXylClient(modelId);
            case LIGHT_LC_SERVER:
                return new LightLcServer(modelId);
            case LIGHT_LC_SETUP_SERVER:
                return new LightLcSetupServer(modelId);
            case LIGHT_LC_CLIENT:
                return new LightLcClient(modelId);
            case REMOTE_PROVISIONING_SERVER:
                return new RemoteProvisioningServer(modelId);
            case REMOTE_PROVISIONING_CLIENT:
                return new RemoteProvisioningClient(modelId);
            case MESH_PRIVATE_BEACON_SERVER:
                return new MeshPrivateBeaconServer(modelId);
            case MESH_PRIVATE_BEACON_CLIENT:
                return new MeshPrivateBeaconClient(modelId);
            case ON_DEMAND_PRIVATE_PROXY_SERVER:
                return new OnDemandPrivateProxyServer(modelId);
            case ON_DEMAND_PRIVATE_PROXY_CLIENT:
                return new OnDemandPrivateProxyClient(modelId);
            case SAR_CONFIGURATION_SERVER:
                return new SarConfigurationServer(modelId);
            case SAR_CONFIGURATION_CLIENT:
                return new SarConfigurationClient(modelId);
            case OPCODES_AGGREGATOR_SERVER:
                return new OpcodesAggregatorServer(modelId);
            case OPCODES_AGGREGATOR_CLIENT:
                return new OpcodesAggregatorClient(modelId);
            case LARGE_COMPOSITION_DATA_SERVER:
                return new LargeCompositionDataServer(modelId);
            case LARGE_COMPOSITION_DATA_CLIENT:
                return new LargeCompositionDataClient(modelId);
            case SOLICITATION_PDU_RPL_CONFIGURATION_SERVER:
                return new SolicitationPduRplConfigurationServer(modelId);
            case SOLICITATION_PDU_RPL_CONFIGURATION_CLIENT:
                return new SolicitationPduRplConfigurationClient(modelId);
            case BLOB_TRANSFER_SERVER:
                return new BlobTransferServer(modelId);
            case BLOB_TRANSFER_CLIENT:
                return new BlobTransferClient(modelId);
            case FIRMWARE_UPDATE_SERVER:
                return new FirmwareUpdateServer(modelId);
            case FIRMWARE_UPDATE_CLIENT:
                return new FirmwareUpdateClient(modelId);
            case FIRMWARE_DISTRIBUTION_SERVER:
                return new FirmwareDistributionServer(modelId);
            case FIRMWARE_DISTRIBUTION_CLIENT:
                return new FirmwareDistributionClient(modelId);
            default:
                return new UnknownModel(modelId);
        }
    }
Returns the Bluetooth sig model based on the model id.

@param modelId bluetooth sig model id
@return SigModel
mesh/src/main/java/no/nordicsemi/android/mesh/models/SigModelParser.java