fviard / sllurp

Python client for LLRP-based RFID readers. Private fork.
GNU General Public License v3.0
7 stars 3 forks source link

Support for multiple readers in v2 #24

Open HanYangZhao opened 2 years ago

HanYangZhao commented 2 years ago

Hi,

I was looking at the code for enabling specific antennas readers and noticed the following in llrp.py

class LLRPReaderConfig(object):
    def __init__(self, config_dict=None):
        self.duration = None
        self.tari = 0
        self.session = 2
        self.mode_identifier = None
        self.tag_population = 4
        self.report_every_n_tags = None
        self.report_timeout_ms = 0
        self.antennas = [1] 

Does that mean the software is hard-coded to only use the antenna #1? Any reason why it's hard-coded?

Thanks