def set_pdtch_downlink_coding_scheme(self, scheme): """ Sets PDTCH downlink coding scheme. :type scheme: str :param scheme: the PDTCH downlink coding scheme to set. Possible values: - "CS1" - "CS2" - "CS3" - "CS4" """ (err, msg) = W.SetPdtchDownlinkCodingScheme(self.get_root(), scheme) self.__error_check(err, msg)
def set_pdtch_coding_scheme(self, dl_coding_scheme, ul_coding_scheme): """ Sets the downlink and uplink coding scheme :type dl_coding_scheme: str :param dl_coding_scheme: the downlink coding scheme to set :type ul_coding_scheme: str :param ul_coding_scheme: the uplink coding scheme to set """ # Setting downlink coding scheme (err, msg) = W.SetPdtchDownlinkCodingScheme(self.get_root(), dl_coding_scheme) err_msg = "Cannot set DL coding scheme (%s)" % msg self.__error_check(err, msg, err_msg) # Setting uplink coding scheme (err, msg) = W.SetPdtchUplinkCodingScheme(self.get_root(), ul_coding_scheme) err_msg = "Cannot set UL coding scheme (%s)" % msg self.__error_check(err, msg, err_msg)