Exemple #1
0
 def set_pdtch_uplink_coding_scheme(self, scheme):
     """
     Sets the PDTCH uplink coding scheme.
     :type scheme: str
     :param scheme: the PDTCH uplink coding scheme to set. Possible values:
         - "CS1"
         - "CS2"
         - "CS3"
         - "CS4"
     """
     (err, msg) = W.SetPdtchUplinkCodingScheme(self.get_root(), scheme)
     self.__error_check(err, msg)
Exemple #2
0
    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)