ComPort for Android USB Serial 1.0 » Developer.Team - Developers Paradise!

ComPort for Android USB Serial 1.0

ComPort for Android USB Serial 1.0
ComPort for Android USB Serial 1.0 | 1 Mb


Delphi serial communication library for USB serial devices for Android.

Features

Uses UsbSerial library
Suports CP210x, CDC, FTDI, PL2303 and CH34x devices
No special root access privileges needed
Available for Delphi XE6-XE8
Source code included in full version
Royalty free distribution in applications

API


JUsbSerialInterface_UsbReadCallback = interface(IJavaInstance)
procedure onReceivedData(dаta: TJavaArray);
end;

JUsbSerialInterfaceClass = interface(IJavaClass)
property DATA_BITS_5: Integer read;
property DATA_BITS_6: Integer read;
property DATA_BITS_7: Integer read;
property DATA_BITS_8: Integer read;
property FLOW_CONTROL_DSR_DTR: Integer read;
property FLOW_CONTROL_OFF: Integer read;
property FLOW_CONTROL_RTS_CTS: Integer read;
property FLOW_CONTROL_XON_XOFF: Integer read;
property PARITY_EVEN: Integer read;
property PARITY_MARK: Integer read;
property PARITY_NONE: Integer read;
property PARITY_ODD: Integer read;
property PARITY_SPACE: Integer read;
property STOP_BITS_1: Integer read;
property STOP_BITS_15: Integer read;
property STOP_BITS_2: Integer read;
end;

JUsbSerialInterface = interface(IJavaInstance)
procedure close;
function open: Boolean;
function &read(dаta: JUsbSerialInterface_UsbReadCallback): Integer;
procedure setBaudRate(BaudRate: Integer);
procedure setDataBits(DataBits: Integer);
procedure setFlowControl(FlowControl: Integer);
procedure setParity(Parity: Integer);
procedure setStopBits(StopBits: Integer);
procedure &write(dаta: TJavaArray);
end;



[/b]

[b] Only for V.I.P
Warning! You are not allowed to view this text.