91av视频/亚洲h视频/操亚洲美女/外国一级黄色毛片 - 国产三级三级三级三级

  • 大小: 2.94MB
    文件類型: .zip
    金幣: 2
    下載: 0 次
    發布日期: 2023-09-11
  • 語言: C#
  • 標簽: BLE??TI??demo??keyfob??sensortag??

資源簡介

從這里下的,現在好像訪問不了了,共享一下。 http://www.orcs.sebsoft.com/index.php/79-vision/72-how-to-acquire-data-by-c-from-bluetooth-4-bluetooth-low-energy-ti-ble-keyfob-ti-sensor-tag

資源截圖

代碼片段和文件信息

/*******************************************************************************
Filename:???????CommManager.cs
Author:?????????$Author:?hphan?$
Revised:????????$Date:?2008-01-08?11:33:37?-0800?(Tue?08?Jan?2008)?$
Revision:???????$Revision:?16162?$

Copyright?(c)?2005-2010?by?Texas?Instruments?Incorporated?All?Rights?Reserved.
Permission?to?use?reproduce?copy?prepare?derivative?works
modify?distribute?perform?display?or?sell?this?software?and/or
its?documentation?for?any?purpose?is?prohibited?without?the?express
written?consent?of?Texas?Instruments?Incorporated.
********************************************************************************/
using?System;
using?System.Text;
using?System.Drawing;
using?System.IO.Ports;
using?System.Windows.Forms;

namespace?CommManager
{
????public?delegate?void?FP_ReceiveDataInd(Byte[]?data?uint?length);

????class?CommunicationManager
????{
????????#region?Enumerations
????????public?enum?TransmissionType?{?Text?Hex?}
????????private?enum?MessageType?{?Incoming?Outgoing?Normal?Warning?Error?};
????????#endregion

????????#region?Variables
????????//?COM?parameters
????????public?SerialPort?comPort?=?new?SerialPort();

????????private?const?string?ErrorStr?=?“Error“;

????????/*?Rx?data?handler?method?*/
????????private?FP_ReceiveDataInd?fp_rxDataInd;
????????public?FP_ReceiveDataInd?RxDataInd
????????{
????????????get?{?return?fp_rxDataInd;?}
????????????set?{?fp_rxDataInd?=?value;?}
????????}

????????/*?Misc?*/
????????private?Color[]?MessageColor?=?{?Color.Blue?Color.Green?Color.Black?Color.Orange?Color.Red?};
????????#endregion

????????#region?Properties
????????private?string?_baudRate?=?string.Empty;
????????public?string?BaudRate
????????{
????????????get?{?return?_baudRate;?}
????????????set?{?_baudRate?=?value;?}
????????}

????????private?string?_parity?=?string.Empty;
????????public?string?Parity
????????{
????????????get?{?return?_parity;?}
????????????set?{?_parity?=?value;?}
????????}

????????private?string?_stopBits?=?string.Empty;
????????public?string?StopBits
????????{
????????????get?{?return?_stopBits;?}
????????????set?{?_stopBits?=?value;?}
????????}

????????private?string?_dataBits?=?string.Empty;
????????public?string?DataBits
????????{
????????????get?{?return?_dataBits;?}
????????????set?{?_dataBits?=?value;?}
????????}

????????private?string?_portName?=?string.Empty;
????????public?string?PortName
????????{
????????????get?{?return?_portName;?}
????????????set?{?_portName?=?value;?}
????????}

????????private?TransmissionType?_transType;
????????public?TransmissionType?CurrentTransmissionType
????????{
????????????get?{?return?_transType;?}
????????????set?{?_transType?=?value;?}
????????}

????????private?Handshake?_handShake?=?Handshake.None;
????????public?Handshake?HandShake
????????{
????????????get?{?return?_handShake;?}
????????????set?{?_handShake?=?value;?}
??

?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????目錄???????????0??2013-06-21?23:06??BLETIDemo\
?????文件????????1512??2013-06-21?12:27??BLETIDemo\app.config
?????目錄???????????0??2013-03-28?22:37??BLETIDemo\bin\
?????目錄???????????0??2013-06-21?21:53??BLETIDemo\bin\Debug\
?????目錄???????????0??2013-06-21?21:53??BLETIDemo\bin\Debug\app.publish\
?????目錄???????????0??2013-06-21?21:53??BLETIDemo\bin\Debug\app.publish\Application?Files\
?????目錄???????????0??2013-06-21?21:53??BLETIDemo\bin\Debug\app.publish\Application?Files\BleTIDemo_1_0_0_9\
?????文件????????1512??2013-06-21?12:27??BLETIDemo\bin\Debug\app.publish\Application?Files\BleTIDemo_1_0_0_9\BleTIDemo.exe.config.deploy
?????文件??????584704??2013-06-21?21:53??BLETIDemo\bin\Debug\app.publish\Application?Files\BleTIDemo_1_0_0_9\BleTIDemo.exe.deploy
?????文件????????3887??2013-06-21?21:53??BLETIDemo\bin\Debug\app.publish\Application?Files\BleTIDemo_1_0_0_9\BleTIDemo.exe.manifest
?????文件???????84286??2013-06-21?21:43??BLETIDemo\bin\Debug\app.publish\Application?Files\BleTIDemo_1_0_0_9\stico.ico.deploy
?????文件????????2065??2013-06-21?21:53??BLETIDemo\bin\Debug\app.publish\BleTIDemo.application
?????文件????????9167??2013-06-21?21:53??BLETIDemo\bin\Debug\app.publish\publish.htm
?????文件??????428544??2013-06-21?21:53??BLETIDemo\bin\Debug\app.publish\setup.exe
?????文件??????263680??2012-09-25?19:03??BLETIDemo\bin\Debug\BleHealthDemo.exe
?????文件????????1520??2011-08-01?09:59??BLETIDemo\bin\Debug\BleHealthDemo.exe.config
?????文件??????437760??2012-09-25?19:03??BLETIDemo\bin\Debug\BleHealthDemo.pdb
?????文件???????11592??2012-09-25?19:03??BLETIDemo\bin\Debug\BleHealthDemo.vshost.exe
?????文件????????1520??2011-08-01?09:59??BLETIDemo\bin\Debug\BleHealthDemo.vshost.exe.config
?????文件????????2031??2013-06-24?13:57??BLETIDemo\bin\Debug\BleTIDemo.application
?????文件??????584704??2013-06-24?13:57??BLETIDemo\bin\Debug\BleTIDemo.exe
?????文件????????1512??2013-06-21?12:27??BLETIDemo\bin\Debug\BleTIDemo.exe.config
?????文件????????3888??2013-06-24?13:57??BLETIDemo\bin\Debug\BleTIDemo.exe.manifest
?????文件??????488960??2013-06-24?13:57??BLETIDemo\bin\Debug\BleTIDemo.pdb
?????文件????????2031??2013-06-24?13:57??BLETIDemo\bin\Debug\BleTIDemo.vshost.application
?????文件???????11592??2013-06-24?13:59??BLETIDemo\bin\Debug\BleTIDemo.vshost.exe
?????文件????????1512??2013-06-21?12:27??BLETIDemo\bin\Debug\BleTIDemo.vshost.exe.config
?????文件????????3888??2013-06-24?13:57??BLETIDemo\bin\Debug\BleTIDemo.vshost.exe.manifest
?????文件???????84286??2013-06-21?21:43??BLETIDemo\bin\Debug\stico.ico
?????目錄???????????0??2013-01-24?20:47??BLETIDemo\bin\Release\
?????文件????????1520??2011-08-01?09:59??BLETIDemo\bin\Release\BleHealthDemo.exe.config
............此處省略132個文件信息

評論

共有 條評論