RFID.RFIDInterface.LakeChabotReader.MacReadOemData C# (CSharp) Method

MacReadOemData() public method

public MacReadOemData ( ushort address, uint &Data ) : rfid.Constants.Result
address ushort
Data uint
return rfid.Constants.Result
        public rfid.Constants.Result MacReadOemData(ushort address, ref uint Data)
        {
            return LakeChabotReader.MANAGED_ACCESS.API_MacReadOemData(address, ref Data);
        }

Usage Example

        public ConfigureAntenna( LakeChabotReader reader )
        {
            if ( null == reader )
            {
                throw new ArgumentNullException( "reader", "Null reader passed to ConfigureAntenna CTOR()" );
            }

            if ( reader.Mode != rfidReader.OperationMode.BoundToReader )
            {
                throw new ArgumentOutOfRangeException( "reader", "Unbound reader passed to ConfigureAntenna()" );
            }

            InitializeComponent( );

            //applyAtStartupCheckBox.Checked = !String.IsNullOrEmpty( RFID_Explorer.Properties.Settings.Default.antennaSettings );

            this.reader = reader;
            this.timer = new Timer( );
            this.timer.Interval = 5000;
            this.timer.Tick += new EventHandler( timer_Tick );

            //clark not sure. Wait firmware support this function.
            #if (LBT)
            //RfPowerThreshold  Clark 2011.2.10 Cpoied from R1000 Tracer
            UInt32 oem_Data = 0;
            reader.MacReadOemData
                (
                    (ushort)enumOEM_ADDR.ENUM_OEM_ADDR_RF_REVPWR_THRESHOLD,//0x000000AE,
                    ref oem_Data
                );

            numericUpDownRfPowerThreshold.Value = oem_Data;
            #endif
        }
All Usage Examples Of RFID.RFIDInterface.LakeChabotReader::MacReadOemData