基于RFID的RSSI测距


这是基于impinj官方提供的软件改的程序,压缩包里面的Template_WinForms文件夹里的程序可实现基于RSSI的实时测距功能的实现。
资源截图
代码片段和文件信息

// Copyright (c) 2010 Impinj Inc. All rights reserved.

//
// Example1 -- Query Features
//
// Connect to a Speedway reader and report its model name
// version information and the status of each antenna port.
//

using System;
using System.Collections.Generic;
using System.Text;
using Impinj.OctaneSdk;


namespace Example1_QueryFeatures
{
    class Ex1_QueryFeatures
    {
        /// 
        /// Static entry point for the example.
        /// 

        /// Space delimited command line arguments.
        static void Main(string[] args)
        {
            bool isInteractive = false;

            string readerName = null;

            if (args.Length == 0)
            {
                isInteractive = true;
                Console.Write(“Example 1 Reader => “);
                readerName = Console.ReadLine();
            }
            else
            {
                readerName = args[0];
            }

            Example example = new Example();
            example.Run(readerName);

            if (isInteractive)
            {
                Console.Write(“Done => “);
                Console.ReadLine();
            }
        }
    }

    class Example
    {
        public SpeedwayReader Reader = new SpeedwayReader();

        public void Run(string readerName)
        {
            try
            {
                // Change the level of logging detail. The default is Error.
                Reader.LogLevel = LogLevel.Error;

                // Attach to events
                Reader.Logging += new EventHandler(LoggingHandler);

                // Connect to the reader. The name is the host name
                // or IP address.
                Reader.Connect(readerName);

                // Clear the reader of any RFID operation and configuration.
                Reader.ClearSettings();

                // Query the features of the reader. This includes model
                // name version information subregion transmit powers
                // frequencies sensitivities modes etc.
                FeatureSet featureSet = Reader.QueryFeatureSet();

                Console.WriteLine(“Model              {0}“ featureSet.ModelName);
                Console.WriteLine(“Software Version   {0}“ featureSet.SoftwareVersion);
                Console.WriteLine(“Firmware Version   {0}“ featureSet.FirmwareVersion);
                Console.WriteLine(“PCBA Version       {0}“ featureSet.PcbaVersion);
                Console.WriteLine(“FPGA Version       {0}“ featureSet.FpgaVersion);
                Console.WriteLine(“Regulator Region   {0}“ featureSet.Subregion);

                // Query the status of the reader. This includes the
                // connection state of each antenna the state of each
                // general purpose input (GPI) the state of the RFID
                // op

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

     文件       2732  2018-07-07 11:25  更改程序后的OctaneSdk.vsOctaneSdkDesignTimeBuild.dtbcache

    ..A..H.    235520  2018-07-22 11:13  更改程序后的OctaneSdk.vsOctaneSdkv15.suo

     文件          0  2018-04-27 21:57  更改程序后的OctaneSdk.vsOctaneSdkv15Serversqlite3db.lock

     文件    1273856  2018-07-17 09:47  更改程序后的OctaneSdk.vsOctaneSdkv15Serversqlite3storage.ide

     文件      32768  2018-07-18 20:36  更改程序后的OctaneSdk.vsOctaneSdkv15Serversqlite3storage.ide-shm

     文件    3193032  2018-07-22 11:13  更改程序后的OctaneSdk.vsOctaneSdkv15Serversqlite3storage.ide-wal

     文件       6459  2010-12-17 14:42  更改程序后的OctaneSdkBackupExample1_QueryFeaturesEx1_QueryFeatures.cs

     文件       2948  2010-12-17 14:42  更改程序后的OctaneSdkBackupExample1_QueryFeaturesExample1_QueryFeatures.csproj

     文件       1478  2010-12-17 14:42  更改程序后的OctaneSdkBackupExample1_QueryFeaturesPropertiesAssemblyInfo.cs

     文件       5251  2010-12-17 14:42  更改程序后的OctaneSdkBackupExample2_QueryTagsEx2_QueryTags.cs

     文件       2936  2010-12-17 14:42  更改程序后的OctaneSdkBackupExample2_QueryTagsExample2_QueryTags.csproj

     文件       1470  2010-12-17 14:42  更改程序后的OctaneSdkBackupExample2_QueryTagsPropertiesAssemblyInfo.cs

     文件       6466  2010-12-17 14:42  更改程序后的OctaneSdkBackupExample3A_AsyncTagsEx3A_AsyncTags.cs

     文件       2939  2010-12-17 14:42  更改程序后的OctaneSdkBackupExample3A_AsyncTagsExample3A_AsyncTags.csproj

     文件       1472  2010-12-17 14:42  更改程序后的OctaneSdkBackupExample3A_AsyncTagsPropertiesAssemblyInfo.cs

     文件       8456  2010-12-17 14:42  更改程序后的OctaneSdkBackupExample3_AsyncTagsEx3_AsyncTags.cs

     文件       2935  2010-12-17 14:42  更改程序后的OctaneSdkBackupExample3_AsyncTagsExample3_AsyncTags.csproj

     文件       1465  2010-12-17 14:42  更改程序后的OctaneSdkBackupExample3_AsyncTagsPropertiesAssemblyInfo.cs

     文件       8059  2010-12-17 14:42  更改程序后的OctaneSdkBackupExample4_GPIOEx4_GPIO.cs

     文件       2921  2010-12-17 14:42  更改程序后的OctaneSdkBackupExample4_GPIOExample4_GPIO.csproj

     文件       1460  2010-12-17 14:42  更改程序后的OctaneSdkBackupExample4_GPIOPropertiesAssemblyInfo.cs

     文件       7358  2010-12-17 14:42  更改程序后的OctaneSdkBackupExample5_SettingsFilesEx5_SettingsFiles.cs

     文件       2948  2010-12-17 14:42  更改程序后的OctaneSdkBackupExample5_SettingsFilesExample5_SettingsFiles.csproj

     文件       1478  2010-12-17 14:42  更改程序后的OctaneSdkBackupExample5_SettingsFilesPropertiesAssemblyInfo.cs

     文件      11086  2010-12-17 14:42  更改程序后的OctaneSdkBackupExample6_DisconnectedOpsEx6_DisconnectedOps.cs

     文件       2954  2010-12-17 14:42  更改程序后的OctaneSdkBackupExample6_DisconnectedOpsExample6_DisconnectedOps.csproj

     文件       1482  2010-12-17 14:42  更改程序后的OctaneSdkBackupExample6_DisconnectedOpsPropertiesAssemblyInfo.cs

     文件       5102  2010-12-17 14:42  更改程序后的OctaneSdkBackupExample7_WriteTagsEx7_WriteTags.cs

     文件       2936  2010-12-17 14:42  更改程序后的OctaneSdkBackupExample7_WriteTagsExample7_WriteTags.csproj

     文件       1470  2010-12-17 14:42  更改程序后的OctaneSdkBackupExample7_WriteTagsPropertiesAssemblyInfo.cs

............此处省略622个文件信息

版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容, 请发送邮件举报,一经查实,本站将立刻删除。

发表评论

评论列表(条)