(self, serial_number=None, is_research=False, verbose=False, force_epoc_mode=False,
                 force_old_crypto=False)
Performs decryption of packets received. Stores decrypted packets in a Queue for use.

        :param serial_number - The serial number to use for AES key generation.
        :param is_research - Is this a research edition headset? Also, EPOC+ uses this now.
Performs decryption of packets received. Stores decrypted packets in a Queue for use.
Performs decryption of packets received . Stores decrypted packets in a Queue for use .
def __init__(self, serial_number=None, is_research=False, verbose=False, force_epoc_mode=False,
                 force_old_crypto=False):
        """
        Performs decryption of packets received. Stores decrypted packets in a Queue for use.

        :param serial_number - The serial number to use for AES key generation.
        :param is_research - Is this a research edition headset? Also, EPOC+ uses this now.
        """
        # Where the encrypted data is Queued.
        self._encrypted_queue = Queue()
        # Where the decrypted data is Queued.
        self._decrypted_queue = Queue()
        self.force_epoc_mode = force_epoc_mode
        self.force_old_crypto = force_old_crypto
        # Running state.
        self.running = False
        self.verbose = verbose
        # Stop signal tells the loop to stop after processing remaining tasks.
        self._stop_signal = False
        # The emotiv serial number.
        self.serial_number = serial_number
        # EPOC+ and research edition may need to have this set to True
        # TODO: Add functions that check variance in data received. If extreme toggle is_research and check again.
        #  If extreme again raise exception and shutdown emokit.
        self.is_research = is_research
        self.lock = Lock()
        self.thread = Thread(target=self.run)
        self.thread.setDaemon(True)
def __init__ ( self , serial_number = None , is_research = False , verbose = False , force_epoc_mode = False , force_old_crypto = False ) : # Where the encrypted data is Queued. self . _encrypted_queue = Queue ( ) # Where the decrypted data is Queued. self . _decrypted_queue = Queue ( ) self . force_epoc_mode = force_epoc_mode self . force_old_crypto = force_old_crypto # Running state. self . running = False self . verbose = verbose # Stop signal tells the loop to stop after processing remaining tasks. self . _stop_signal = False # The emotiv serial number. self . serial_number = serial_number # EPOC+ and research edition may need to have this set to True # TODO: Add functions that check variance in data received. If extreme toggle is_research and check again. #  If extreme again raise exception and shutdown emokit. self . is_research = is_research self . lock = Lock ( ) self . thread = Thread ( target = self . run ) self . thread . setDaemon ( True )