Appendix A
241
SWRU455A – February 2017 – Revised March 2017
Copyright © 2017, Texas Instruments Incorporated
Host APIs
Table A-1. Host APIs (continued)
API
Silo
Description
sl_Bind
Socket
Assigns an address to a socket
sl_Close
Socket
Closes an endpoint socket. If the socket is connected, it
gracefully closes the socket.
sl_Connect
Socket
Initiates a connection on a socket
sl_Select
Socket
Monitors set of sockets activities
sl_Send
Socket
Writes a data buffer to a socket. Used especially in stream
sockets.
sl_SendTo
Socket
Writes a data buffer to a socket. Used especially in datagram
sockets.
sl_Recv
Socket
Reads a data buffer from a socket. Used especially in stream
sockets.
sl_RecvFrom
Socket
Reads a data buffer from a socket. Used especially in
datagram sockets.
sl_GetSockOpt
Socket
Retrieves a socket options
sl_SetSockOpt
Socket
Sets a socket options
sl_NetAppStart
NetApp
Starts network applications (bitmask)
sl_NetAppStop
NetApp
Stops network applications (bitmask)
sl_NetAppDnsGetHostByName
NetApp
Retrieves the IP address of a host on the network
sl_NetAppDnsGetHostByService
NetApp
Retrieves service attributes like IP address, port and text
according to service name
sl_NetAppGetServiceList
NetApp
Retrieves the cached services of the peer
sl_NetAppMDNSUnRegisterService
NetApp
Unregisters mDNS service
sl_NetAppMDNSRegisterService
NetApp
Registers a new mDNS service
sl_NetAppPingStart
NetApp
Sends ICMP ECHO_REQUEST to a host on the network
sl_NetAppSet
NetApp
Sets configuration for a network application
sl_NetAppGet
NetApp
Retrieves configuration for a network application
sl_NetCfgSet
NetCfg
Sets the network configuration of the device
sl_NetCfgGet
NetCfg
Retrieves the network configuration of the device
sl_NetUtilSet
NetUtil
Sets configurations of a network utility
sl_NetUtilGet
NetUtil
Retrieves configurations of a network utility
sl_NetUtilCmd
NetUtil
Activates a network utility-related command
sl_FsOpen
FS
Opens a file for read or write
sl_FsClose
FS
Closes a file
sl_FsRead
FS
Reads a block of data from a file
sl_FsWrite
FS
Writes a block of data to a file
sl_FsGetInfo
FS
Retrieves information of a file
sl_FsDel
FS
Deletes specific file from the file system
sl_FsCtl
FS
Controls various file system operations
sl_FsProgram
FS
Enables to format and configure the device with preprepared
configuration
sl_FsGetFileList
FS
Retrieves the list of stored files and their basic attributes