[][src]Crate nrfxlib_sys

Modules

ctypes

Structs

__IncompleteArrayField
nrf_addrinfo

@defgroup nrf_socket_dns BSD Socket Address Functions (DNS) @ingroup nrf_socket @{

nrf_gnss_data_frame_t
nrf_gnss_datetime_t

@defgroup nrf_socket_gnss_data_frame GNSS data frames @ingroup nrf_socket @brief GNSS Data frame formats. @{

nrf_gnss_pvt_data_frame_t
nrf_gnss_sv_t
nrf_ifreq

@brief Data type for network interface.

nrf_in6_addr

@brief IPv6 address.

nrf_in_addr

@brief IPv4 address structure.

nrf_pollfd

@defgroup nrf_poll_api Interface for polling for socket events. @ingroup nrf_socket @details Necessary data types, methods and defines to poll for events on one or more sockets.

nrf_sec_config_t

@brief Data type to combine all security configuration parameters.

nrf_sockaddr

@brief Generic socket address.

nrf_sockaddr_in

@brief Address record for IPv4 addresses.

nrf_sockaddr_in6

@brief Address record for IPv6 addresses.

nrf_timeval

@brief Structure specifying time interval.

Constants

NRF_AF_INET
NRF_AF_INET6
NRF_AF_LOCAL
NRF_AF_LTE
NRF_CONFIG_NMEA_GGA_MASK
NRF_CONFIG_NMEA_GLL_MASK
NRF_CONFIG_NMEA_GSA_MASK
NRF_CONFIG_NMEA_GSV_MASK
NRF_CONFIG_NMEA_RMC_MASK
NRF_EACCES
NRF_EADDRINUSE
NRF_EAFNOSUPPORT
NRF_EAGAIN
NRF_EALREADY
NRF_EBADF
NRF_ECANCELED
NRF_ECONNRESET
NRF_EFAULT
NRF_EHOSTDOWN
NRF_EINPROGRESS
NRF_EINVAL
NRF_EIO
NRF_EISCONN
NRF_EKEYEXPIRED
NRF_EKEYREJECTED
NRF_EKEYREVOKED
NRF_EMFILE
NRF_ENETDOWN
NRF_ENETRESET
NRF_ENETUNREACH
NRF_ENOBUFS
NRF_ENOENT
NRF_ENOEXEC
NRF_ENOKEY
NRF_ENOMEM
NRF_ENOPROTOOPT
NRF_ENOSPC
NRF_ENOTCONN
NRF_EOPNOTSUPP
NRF_EPERM
NRF_EPROTONOSUPPORT
N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ME
NRF_SO_PDN_AF
NRF_SO_RCVTIMEO
NRF_SO_SEC_PEER_VERIFY
NRF_SO_SEC_ROLE
NRF_SO_SEC_SESSION_CACHE
NRF_SO_SEC_TAG_LIST
NRF_SPROTO_DTLS1v2
NRF_SPROTO_TLS1v2
NRF_SPROTO_TLS1v3
nrf_key_mgnt_cred_type_t_NRF_KEY_MGMT_CRED_TYPE_CA_CHAIN
nrf_key_mgnt_cred_type_t_NRF_KEY_MGMT_CRED_TYPE_IDENTITY
nrf_key_mgnt_cred_type_t_NRF_KEY_MGMT_CRED_TYPE_PRIVATE_CERT
nrf_key_mgnt_cred_type_t_NRF_KEY_MGMT_CRED_TYPE_PSK
nrf_key_mgnt_cred_type_t_NRF_KEY_MGMT_CRED_TYPE_PUBLIC_CERT

Functions

bsd_init

@brief Method to initialize BSD library.

bsd_irrecoverable_error_handler

@brief Handler for irrecoverable BSD library errors.

bsd_os_application_irq_clear
bsd_os_application_irq_handler
bsd_os_application_irq_set
bsd_os_errno_set
bsd_os_init

@}

bsd_os_timedwait
bsd_os_trace_irq_clear
bsd_os_trace_irq_handler
bsd_os_trace_irq_set
bsd_os_trace_put
bsd_recoverable_error_handler

@brief Handler for recoverable BSD library errors.

bsd_shutdown

@brief Method to gracefully shutdown the BSD library.

nrf_accept

@brief Function for waiting for the next client to connect.

nrf_apn_class_read

@brief Read APN based on Class.

nrf_apn_class_update

@brief Update Class with new APN.

nrf_bind

@brief Function for binding a socket to an address and port.

nrf_close

@brief Function for closing a socket and freeing any resources held by it.

nrf_connect

@brief Function for connecting to an endpoint with a given address.

nrf_fcntl

@brief Function for controlling file descriptor options.

nrf_freeaddrinfo

@brief Function for freeing the memory allocated for the result of @ref nrf_getaddrinfo.

nrf_getaddrinfo

@brief Function to resolve the host name into IPv4 and/or IPv6 addresses.

nrf_getsockopt

@brief Function for getting socket options for a given socket.

nrf_inbuilt_key_delete

@brief Delete a credential from persistent storage.

nrf_inbuilt_key_exists

@brief Check if credential exists in persistent storage.

nrf_inbuilt_key_permission_set

@brief Set permission on a credential in persistent storage.

nrf_inbuilt_key_read

@brief Read back a credential from persistent storage.

nrf_inbuilt_key_write

@brief Provision new or update credential in persistent storage.

nrf_inet_ntop

@brief Function for converting an IP address to a human-readable string form.

nrf_inet_pton

@brief Function for converting a human-readable IP address to a form usable by the socket API.

nrf_listen

@brief Function to put the socket in listening mode for incoming connections.

nrf_poll

@brief Method to poll for events on one or more sockets.

nrf_read

@brief Function for reading data from a socket. See \ref nrf_recv() for details.

nrf_recv

@brief Function for receiving data on a socket.

nrf_recvfrom

@brief Function for receiving datagram on a socket.

nrf_select

@brief Function for waiting for read, write, or exception events on a socket.

nrf_send

@brief Function for sending data through a socket.

nrf_sendto

@brief Function for sending datagram through a socket.

nrf_setsockopt

@brief Function for setting socket options for a given socket.

nrf_socket

@brief Function for creating a socket.

nrf_write

@brief Function for writing data to a socket. See \ref nrf_send() for details.

Type Definitions

bool_
nrf_dfu_err_t

@brief DFU socket error.

nrf_dfu_fw_offset_t

@brief Defines the format to get/set offset for firmware download.

nrf_dfu_fw_version_t

@brief Defines the firmware version.

nrf_dfu_resources_t

@brief Defines the format for resources available for firmware upgrade, i.e. available flash size in bytes.

nrf_fd_set

@defgroup nrf_fd_set_api API for file descriptor set @ingroup nrf_socket @details File descriptor sets are used as input to the nrf_select() function for doing I/O multiplexing. The maximum number of descriptors contained in a set is defined by NRF_FD_SETSIZE.

nrf_gnss_data_format_t

@brief Defines which GNSS output format to use. @details 0 denotes RAW GPS data defined in nrf_gnss_raw_data_frame_t. 1 denotes NPEA formated data frames. Any other value returns an error.

nrf_gnss_elevation_mask_t

@brief Defines at which elevation the GPS should track a satellite. @details This option is used to make the GPS stop tracking GPSes on a certain elevation, because the information sent from the GPS gets more inaccurate as it gets closer to the horizon. Acceptable values are between 0 and 30 degrees.

nrf_gnss_fix_interval_t

@brief Defines the interval between each fix in seconds. @details The default interval is 1 second. 0 denotes a single fix.

nrf_gnss_fix_retry_t

@brief Defines how long (in seconds) the receiver should try to get a fix. @details The default retry wait time is 60 seconds before it gives up. 0 denotes an infinite limit.

nrf_gnss_nmea_data_frame_t
nrf_gnss_nmea_mask_t

@brief Defines if NMEA frames should be added.

nrf_gnss_system_t

@brief Defines which GNSS system to use. @details 0 denotes GPS. Currently, only GPS is supported and any other value returns an error.

nrf_in6_addr_t
nrf_in_addr_t

@brief IPv4 address.

nrf_in_port_t

@brief Socket port type.

nrf_key_mgnt_cred_type_t

@brief Enumeration values for credentials types available in the key management module.

nrf_pdn_af_list_t

@defgroup nrf_socketopt_pdn PDN socket option @ingroup nrf_socket @brief Data types defined to set and get socket options on a PDN socket. @{ @note the size of the list is provided in the optlen field.

nrf_pdn_class_t

@brief Defines the format for Address family for the PDN.

nrf_sa_family_t
nrf_sec_cipher_t

@brief Defines the cipher suite.

nrf_sec_peer_verify_t

@brief Defines peer verification options on the TLS socket.

nrf_sec_role_t

@brief Defines TLS role on the socket.

nrf_sec_session_cache_t

@brief Defines session cache option on the TLS socket.

nrf_sec_tag_t

@brief Defines the security tag to be used on the TLS socket.

nrf_sockaddr_in6_t
nrf_sockaddr_in_t
nrf_sockaddr_t
nrf_socket_family_t

@brief Socket families.

nrf_socklen_t

@brief Socket module size type.

Unions

nrf_gnss_data_frame_t__bindgen_ty_1