Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/cepr/android-serialport-api
/ functions
Functions
121 in github.com/cepr/android-serialport-api
⨍
Functions
121
◇
Types & classes
25
↓ 73 callers
Function
LogMsg
Generic log function with log level control. Uses the same log levels of the syslog(3) system call */
android-sercd/project/jni/unix.c:837
↓ 26 callers
Function
AddToBuffer
Add a byte to a buffer. */
android-sercd/project/jni/sercd.c:346
↓ 18 callers
Function
SendTelnetOption
android-sercd/project/jni/sercd.c:615
↓ 14 callers
Function
SendCPCByteCommand
android-sercd/project/jni/sercd.c:682
↓ 13 callers
Function
DropConnection
android-sercd/project/jni/unix.c:964
↓ 8 callers
Function
ChangeState
android-sercd/project/jni/android.c:55
↓ 6 callers
Function
UnixLogPortSettings
android-sercd/project/jni/unix.c:189
↓ 5 callers
Function
BufferHasRoomFor
Check if there's room for a number of additional bytes */
android-sercd/project/jni/sercd.c:332
↓ 5 callers
Function
HandleIACCommand
android-sercd/project/jni/sercd.c:939
↓ 4 callers
Function
BufferRoomLeft
Return how much room is left */
android-sercd/project/jni/sercd.c:324
↓ 4 callers
Function
EscWriteChar
android-sercd/project/jni/sercd.c:453
↓ 4 callers
Function
IOResultError
Check and act upon read/write result. Uses errno. Returns true on error. */
android-sercd/project/jni/sercd.c:1102
↓ 3 callers
Method
ChangeState
This method is called from libsercd.so @param newstate New sercd state.
android-sercd/project/src/gnu/sercd/SercdService.java:99
↓ 3 callers
Method
DisplayError
(int resourceId)
android-serialport-api/project/src/android_serialport_api/sample/SerialPortActivity.java:61
↓ 3 callers
Function
InitBuffer
Initialize a buffer for operation */
android-sercd/project/jni/sercd.c:307
↓ 3 callers
Method
close
()
android-serialport-api/project/src/android_serialport_api/SerialPort.java:81
↓ 3 callers
Method
getOutputStream
()
android-serialport-api/project/src/android_serialport_api/SerialPort.java:75
↓ 2 callers
Function
BufferLength
Return the length of the data in the buffer */
android-sercd/project/jni/sercd.c:317
↓ 2 callers
Function
BufferPopBytes
Remove the number of read bytes specified */
android-sercd/project/jni/sercd.c:378
↓ 2 callers
Function
ClosePort
android-sercd/project/jni/unix.c:780
↓ 2 callers
Function
GetBufferString
Get string from buffer, without removing it. Returns the length of the string. */
android-sercd/project/jni/sercd.c:366
↓ 2 callers
Function
GetPortFlowControl
Retrieves the flow control status, including DTR and RTS status, from PortFd */
android-sercd/project/jni/unix.c:250
↓ 2 callers
Function
HDBLockFile
Try to lock the file given in LockFile as pid LockPid using the classical HDB (ASCII) file locking scheme */
android-sercd/project/jni/unix.c:599
↓ 2 callers
Function
InitTelnetStateMachine
initialize Telnet State Machine */
android-sercd/project/jni/sercd.c:255
↓ 2 callers
Function
IsBufferEmpty
Check if the buffer is empty */
android-sercd/project/jni/sercd.c:339
↓ 2 callers
Function
SendTelnetInitialOptions
android-sercd/project/jni/sercd.c:627
↓ 2 callers
Function
SetBreak
android-sercd/project/jni/unix.c:570
↓ 2 callers
Function
SetSocketOptions
Setup sockets for low latency and automatic keepalive; doesn't * check if anything fails because failure doesn't prevent correct * functioning but o
android-sercd/project/jni/sercd.c:273
↓ 2 callers
Function
Termios2TncomDataSize
Convert termios data size to tncom size */
android-sercd/project/jni/unix.c:124
↓ 2 callers
Function
Termios2TncomInFlow
Convert termios input flow control to tncom flow */
android-sercd/project/jni/unix.c:179
↓ 2 callers
Function
Termios2TncomOutFlow
Convert termios output flow control to tncom flow */
android-sercd/project/jni/unix.c:168
↓ 2 callers
Function
Termios2TncomParity
Convert termios parity to tncom parity */
android-sercd/project/jni/unix.c:145
↓ 2 callers
Function
Termios2TncomSpeed
Convert termios speed to tncom speed */
android-sercd/project/jni/unix.c:67
↓ 2 callers
Function
Termios2TncomStopSize
Convert termios stop size to tncom size */
android-sercd/project/jni/unix.c:158
↓ 2 callers
Method
getDevices
()
android-serialport-api/project/src/android_serialport_api/SerialPortFinder.java:38
↓ 2 callers
Method
getDevices
()
android-sercd/project/src/android/serialport/SerialPortFinder.java:38
↓ 2 callers
Method
getDrivers
()
android-serialport-api/project/src/android_serialport_api/SerialPortFinder.java:62
↓ 2 callers
Method
getDrivers
()
android-sercd/project/src/android/serialport/SerialPortFinder.java:62
↓ 2 callers
Method
getName
()
android-serialport-api/project/src/android_serialport_api/SerialPortFinder.java:53
↓ 2 callers
Method
getName
()
android-sercd/project/src/android/serialport/SerialPortFinder.java:53
↓ 1 callers
Function
ConvertToJava
android-sercd/project/jni/android.c:28
↓ 1 callers
Function
EscRedirectChar
android-sercd/project/jni/sercd.c:472
↓ 1 callers
Function
ExitFunction
Function executed when the program exits */
android-sercd/project/jni/sercd.c:386
↓ 1 callers
Function
GetModemState
Return the status of the modem control lines (DCD, CTS, DSR, RNG) */
android-sercd/project/jni/unix.c:298
↓ 1 callers
Function
GetPortDataSize
Retrieves the data size from PortFd */
android-sercd/project/jni/unix.c:219
↓ 1 callers
Function
GetPortParity
Retrieves the parity settings from PortFd */
android-sercd/project/jni/unix.c:229
↓ 1 callers
Function
GetPortSpeed
Retrieves the port speed from PortFd */
android-sercd/project/jni/unix.c:209
↓ 1 callers
Function
GetPortStopSize
Retrieves the stop bits size from PortFd */
android-sercd/project/jni/unix.c:239
↓ 1 callers
Function
HDBUnlockFile
Remove the lock file created with HDBLockFile */
android-sercd/project/jni/unix.c:707
↓ 1 callers
Function
HandleCPCCommand
android-sercd/project/jni/sercd.c:697
↓ 1 callers
Function
LogPortSettings
android-sercd/project/jni/sercd.c:1120
↓ 1 callers
Function
ModemStateNotified
android-sercd/project/jni/unix.c:1009
↓ 1 callers
Function
NewListener
android-sercd/project/jni/unix.c:952
↓ 1 callers
Function
PlatformInit
android-sercd/project/jni/unix.c:815
↓ 1 callers
Function
ReadFromDev
android-sercd/project/jni/unix.c:991
↓ 1 callers
Function
ReadFromNet
android-sercd/project/jni/unix.c:1003
↓ 1 callers
Function
SendBaudRate
android-sercd/project/jni/sercd.c:660
↓ 1 callers
Function
SendSignature
android-sercd/project/jni/sercd.c:438
↓ 1 callers
Function
SendStr
Send a string to SockFd performing IAC escaping Max buffer fill: 2*len(Str) */
android-sercd/project/jni/sercd.c:646
↓ 1 callers
Function
SercdSelect
android-sercd/project/jni/unix.c:875
↓ 1 callers
Function
SetFlush
android-sercd/project/jni/unix.c:578
↓ 1 callers
Function
SetPortDataSize
Set the serial port data size */
android-sercd/project/jni/unix.c:327
↓ 1 callers
Function
SetPortFlowControl
Set the port flow control and DTR and RTS status */
android-sercd/project/jni/unix.c:416
↓ 1 callers
Function
SetPortParity
Set the serial port parity */
android-sercd/project/jni/unix.c:359
↓ 1 callers
Function
SetPortSpeed
Set the serial port speed */
android-sercd/project/jni/unix.c:493
↓ 1 callers
Function
SetPortStopSize
Set the serial port stop bits size */
android-sercd/project/jni/unix.c:388
↓ 1 callers
Method
Start
(Context ctxt, String serialport, String netinterface, int port)
android-sercd/project/src/gnu/sercd/SercdService.java:17
↓ 1 callers
Method
Stop
(Context ctxt)
android-sercd/project/src/gnu/sercd/SercdService.java:25
↓ 1 callers
Function
Usage
android-sercd/project/jni/sercd.c:1209
↓ 1 callers
Function
WriteToDev
android-sercd/project/jni/unix.c:985
↓ 1 callers
Function
WriteToNet
android-sercd/project/jni/unix.c:997
↓ 1 callers
Method
closeSerialPort
()
android-serialport-api/project/src/android_serialport_api/sample/Application.java:51
↓ 1 callers
Method
exit
()
android-sercd/project/src/gnu/sercd/SercdService.java:144
↓ 1 callers
Method
feedNetworkInterfacesList
()
android-sercd/project/src/gnu/sercd/Sercd.java:122
↓ 1 callers
Method
feedSerialPortList
()
android-sercd/project/src/gnu/sercd/Sercd.java:116
↓ 1 callers
Method
getAllDevices
()
android-serialport-api/project/src/android_serialport_api/SerialPortFinder.java:82
↓ 1 callers
Method
getAllDevices
()
android-sercd/project/src/android/serialport/SerialPortFinder.java:79
↓ 1 callers
Method
getAllDevicesPath
()
android-serialport-api/project/src/android_serialport_api/SerialPortFinder.java:103
↓ 1 callers
Method
getAllDevicesPath
()
android-sercd/project/src/android/serialport/SerialPortFinder.java:100
↓ 1 callers
Function
getBaudrate
android-serialport-api/project/jni/SerialPort.c:33
↓ 1 callers
Method
getInputStream
()
android-serialport-api/project/src/android_serialport_api/SerialPort.java:71
↓ 1 callers
Method
getSerialPort
()
android-serialport-api/project/src/android_serialport_api/sample/Application.java:33
↓ 1 callers
Method
main
(String serialport, String netinterface, int port)
android-sercd/project/src/gnu/sercd/SercdService.java:143
↓ 1 callers
Method
onDataReceived
(final byte[] buffer, final int size)
android-serialport-api/project/src/android_serialport_api/sample/SerialPortActivity.java:94
↓ 1 callers
Method
open
(String path, int baudrate, int flags)
android-serialport-api/project/src/android_serialport_api/SerialPort.java:80
Function
BreakFunction
Function called on break signal */ Unimplemented yet */
android-sercd/project/jni/sercd.c:402
Method
Driver
(String name, String root)
android-serialport-api/project/src/android_serialport_api/SerialPortFinder.java:31
Method
Driver
(String name, String root)
android-sercd/project/src/android/serialport/SerialPortFinder.java:31
Function
GetFromBuffer
Get a byte from a buffer */
android-sercd/project/jni/sercd.c:356
Function
Java_android_1serialport_1api_SerialPort_close
android-serialport-api/project/jni/SerialPort.c:152
Function
Java_android_1serialport_1api_SerialPort_open
android-serialport-api/project/jni/SerialPort.c:76
Function
Java_gnu_sercd_SercdService_exit
android-sercd/project/jni/sercd.c:1656
Method
SerialPort
(File device, int baudrate, int flags)
android-serialport-api/project/src/android_serialport_api/SerialPort.java:40
Function
SignalFunction
Function called on many signals */
android-sercd/project/jni/unix.c:803
Method
onBind
(Intent intent)
android-sercd/project/src/gnu/sercd/SercdService.java:30
Method
onClick
(View v)
android-serialport-api/project/src/android_serialport_api/sample/MainMenu.java:36
Method
onClick
(DialogInterface dialog, int which)
android-serialport-api/project/src/android_serialport_api/sample/SerialPortActivity.java:66
Method
onCreate
Called when the activity is first created.
android-serialport-api/project/src/android_serialport_api/sample/MainMenu.java:29
Method
onCreate
(Bundle savedInstanceState)
android-serialport-api/project/src/android_serialport_api/sample/LoopbackActivity.java:83
Method
onCreate
(Bundle savedInstanceState)
android-serialport-api/project/src/android_serialport_api/sample/SerialPortActivity.java:73
next →
1–100 of 121, ranked by callers