BSL430.NET  1.3.4
Public Member Functions | Static Public Attributes | Properties | Private Member Functions | Private Attributes | Static Private Attributes | List of all members
BSL430_NET.Comm.CommSerial Class Reference
Inheritance diagram for BSL430_NET.Comm.CommSerial:
BSL430_NET.Main.Core BSL430_NET.Main.IDevice BSL430_NET.Main.ICommable BSL430_NET.Main.IDevice BSL430_NET.Main.ICommable

Public Member Functions

 CommSerial (BSL430NET root=null, Bsl430NetDevice device=null)
 
override void CommOpen (Bsl430NetDevice device)
 
override void CommSet (BaudRate baud_rate)
 
override void CommDtr (bool val, bool ignore_err=false)
 
override void CommRts (bool val, bool ignore_err=false)
 
override void CommClrBuff ()
 
override void CommClose (bool ignore_err)
 
override Status CommXfer (out byte[] msg_rx, byte[] msg_tx, int rx_size)
 
override Status Scan< Serial_Device > (out List< Serial_Device > device_list, ScanOptions scan_opt=ScanOptions.None)
 
override Bsl430NetDevice CommGetDefaultDevice ()
 
- Public Member Functions inherited from BSL430_NET.Main.Core
abstract Status Scan< Tdev > (out List< Tdev > device_list, ScanOptions scan_opt=ScanOptions.None)
 
BaudRate GetBaudRate ()
 
InvokeMechanism GetInvoke ()
 
MCU GetMCU ()
 
 Core (BSL430NET _root, Mode _mode)
 
StatusEx Erase (Bsl430NetDevice device)
 
StatusEx Download (Bsl430NetDevice device, byte[] password, int addr_start, int data_size, out List< byte > data)
 
StatusEx Upload (Bsl430NetDevice device, string firmware_path, byte[] password)
 
Status ChangeBaudRate (BaudRate _baud)
 
Status SetInvoke (InvokeMechanism _invoke)
 
Status SetMCU (MCU _mcu)
 
void Dispose ()
 

Static Public Attributes

const int TIMEOUT_READ = 5000
 
const int TIMEOUT_WRITE = 5000
 
const string DEVICE_PREFIX = "COM"
 

Properties

override Bsl430NetDevice DefaultDevice = null [get, set]
 
- Properties inherited from BSL430_NET.Main.Core
abstract Bsl430NetDevice DefaultDevice [get, set]
 
- Properties inherited from BSL430_NET.Main.IDevice
Bsl430NetDevice DefaultDevice [get, set]
 

Private Member Functions

int SerialCheckLibrary ()
 

Private Attributes

readonly Dictionary< string, Serial_Devicedevices = new Dictionary<string, Serial_Device>()
 
SerialPortStream serial
 

Static Private Attributes

const int DELAY_READ = 10
 

Additional Inherited Members

- Package Types inherited from BSL430_NET.Main.Core
enum  Command {
  BaudRate, BSLVersion, MassErase, CRC,
  Password, Upload, Download, LoadPC
}
 

The documentation for this class was generated from the following file: