Метод | Описание | |
---|---|---|
CloseComPort ( ) : void |
Close COM port
|
|
GetAPStatus ( APStatus &status ) : bool |
Get generic hardware status
|
|
GetComPortName ( ) : string |
Get COM port name from Windows system using friendly name
|
|
GetData ( |
Get SimpliciTI acc/ppt data (4 bytes)
|
|
GetID ( |
Get RF access point dummy ID - used by live check
|
|
GetSyncBufferStatus ( SyncStatus &status ) : bool |
Get sync buffer status from RF access point
|
|
OpenComPort ( String portName ) : bool |
Open COM port
|
|
ReadSyncBuffer ( byte &data ) : bool |
Read data bytes from sync buffer
|
|
ResetAP ( ) : bool |
Reset RF access point
|
|
SendSyncCommand ( byte data ) : bool |
Send command packet to watch
|
|
SendSyncCommand ( byte data, int rcvlength, int delay ) : bool |
Send command packet to watch, wait a given time, and receive a packet with a given length
|
|
StartSimpliciTI ( ) : bool |
Start SimpliciTI stack in acc/ppt mode
|
|
StartSyncMode ( ) : bool |
Start RF access point sync mode
|
|
StopSimpiliTI ( ) : bool |
Stop SimpliciTI stack
|
Метод | Описание | |
---|---|---|
CheckResponse ( |
||
DataReceivedHandler ( object sender, System.IO.Ports.SerialDataReceivedEventArgs e ) : void | ||
GetResponse ( int count ) : |
||
SendAndReceive ( |
||
SendPacket ( |
public GetAPStatus ( APStatus &status ) : bool | ||
status | APStatus | /// Returns one of the following values: /// HW_IDLE, HW_SIMPLICITI_STOPPED, HW_SIMPLICITI_TRYING_TO_LINK, HW_SIMPLICITI_LINKED, /// HW_BLUEROBIN_STOPPED, HW_BLUEROBIN_TRANSMITTING, HW_ERROR, HW_NO_ERROR, HW_NOT_CONNECTED /// |
Результат | bool |
public GetID ( |
||
ID | ID of the connected access point | |
Результат | bool |
public GetSyncBufferStatus ( SyncStatus &status ) : bool | ||
status | SyncStatus | |
Результат | bool |
public OpenComPort ( String portName ) : bool | ||
portName | String | "COMx" - May be automatically determined with |
Результат | bool |
public ReadSyncBuffer ( byte &data ) : bool | ||
data | byte | |
Результат | bool |
public SendSyncCommand ( byte data ) : bool | ||
data | byte | |
Результат | bool |
public SendSyncCommand ( byte data, int rcvlength, int delay ) : bool | ||
data | byte | |
rcvlength | int | |
delay | int | |
Результат | bool |