code: def getSupportedProtocols(self):
          
          protocols = {}
          for td in self.TD:
              if td is not None:
                  strprotocol = "T=%d" % (td & 0x0F)
                  protocols[strprotocol] = True
          if not self.hasTD[0]:
              protocols['T=0'] = True
          return protocols
docs: Returns a dictionnary of supported protocols.