Home
last modified time | relevance | path

Searched +full:host +full:- +full:only (Results 1 – 25 of 256) sorted by relevance

1234567891011

/nrf52832-nimble/packages/NimBLE-latest/nimble/transport/emspi/
H A Dsyscfg.yml9 # http://www.apache.org/licenses/LICENSE-2.0
21 description: 'Indicates that the emspi host HCI transport is present.'
24 # XXX: This package only builds with the apollo2 MCU.
25 # MCU-dependencies need to be removed.
26 - MCU_APOLLO2
28 # This is a host-only transport.
29 - BLE_HOST
32 description: 'Number of high-priority event buffers.'
36 description: 'Number of low-priority event buffers.'
57 only HCI, this number should be equal to the number of mbufs in
[all …]
/nrf52832-nimble/packages/NimBLE-latest/nimble/host/include/host/
H A Dble_hs.h10 * http://www.apache.org/licenses/LICENSE-2.0
24 * @brief Bluetooth Host
25 * @defgroup bt_host Bluetooth Host
31 #include "host/ble_att.h"
32 #include "host/ble_eddystone.h"
33 #include "host/ble_gap.h"
34 #include "host/ble_gatt.h"
35 #include "host/ble_hs_adv.h"
36 #include "host/ble_hs_id.h"
37 #include "host/ble_hs_hci.h"
[all …]
H A Dble_hs_hci.h10 * http://www.apache.org/licenses/LICENSE-2.0
24 * @brief Bluetooth Host HCI utils
25 * @defgroup bt_host_hci Bluetooth Host HCI utils
40 * as little-endian, such that:
41 * map[0] & 0x01 --> Channel 0.
42 * map[0] & 0x02 --> Channel 1.
44 * map[1] & 0x01 --> Channel 8.
46 * As there are 37 channels, only the first 37 bits get written.
58 * A BLE host HCI return code if the controller
60 * A BLE host core return code on unexpected
[all …]
/nrf52832-nimble/packages/NimBLE-latest/nimble/host/
H A Dsyscfg.yml9 # http://www.apache.org/licenses/LICENSE-2.0
21 description: 'Indicates that a BLE host is present.'
26 Causes the BLE host to automatically start during system
37 host simulates incoming acks. Only recommended for test code
42 Specifies whether the host can depend on the kernel being present.
43 This should only be disabled for unit tests running in the
137 Whether the out-of-band pairing algorithm is advertised. (0/1)
145 Whether man-in-the-middle protection is advertised during
174 allows to decrypt air traffic easily and thus should be only used
399 Whether to enable host-side flow control. This should only be
[all …]
/nrf52832-nimble/rt-thread/components/net/uip/doc/
H A Duip-doc.txt8 using the TCP/IP protocol suite even on small 8-bit
9 micro-controllers. Despite being small and simple, uIP do not require
10 their peers to have complex, full-size stacks, but can communicate
11 with peers running a similarly light-weight stack. The code size is on
18 \sa \ref uipopt "Compile-time configuration options"
19 \sa \ref uipconffunc "Run-time configuration functions"
31 used for web page transfers, e-mail transmissions, file transfers, and
32 peer-to-peer networking over the Internet. For embedded systems, being
35 with full TCP/IP support will be first-class network citizens, thus
40 small 8 or 16-bit systems. Code size of a few hundred kilobytes and
[all …]
/nrf52832-nimble/rt-thread/components/net/lwip-1.4.1/doc/
H A Drawapi.txt7 * low-level "core" / "callback" or "raw" API.
8 * higher-level "sequential" API.
9 * BSD-style socket API.
13 model of execution is based on the blocking open-read-write-close
27 lwIP started targeting single-threaded environments. When adding multi-
28 threading support, instead of making the core thread-safe, another
30 (also known as the "tcpip_thread"). The raw API may only be used from
31 this thread! Application threads using the sequential- or socket API
35 other threads or an ISR is very limited! Only functions
36 from these API header files are thread-safe:
[all …]
/nrf52832-nimble/rt-thread/components/net/lwip-2.0.2/doc/
H A Drawapi.txt7 * low-level "core" / "callback" or "raw" API.
8 * higher-level "sequential" API.
9 * BSD-style socket API.
11 The raw API (sometimes called native API) is an event-driven API designed
12 to be used without an operating system that implements zero-copy send and
14 the various protocols. It is the only API available when running lwIP
19 model of execution is based on the blocking open-read-write-close
33 lwIP started targeting single-threaded environments. When adding multi-
34 threading support, instead of making the core thread-safe, another
37 environment, raw API functions MUST only be called from the core thread
[all …]
/nrf52832-nimble/packages/NimBLE-latest/docs/ble_hs/
H A Dble_att.rst1 NimBLE Host ATT Client Reference
2 --------------------------------
7 The Attribute Protocol (ATT) is a mid-level protocol that all BLE devices use to exchange data. Dat…
9 must support both the client and server functionality of the ATT protocol. The only devices which d…
13 higher level GATT profile, which sits directly above ATT in the host. NimBLE exposes the few bits o…
15 host exposes to the application.
21 :content-only:
/nrf52832-nimble/rt-thread/components/drivers/sdio/
H A Dmmc.c2 * Copyright (c) 2006-2018, RT-Thread Development Team
4 * SPDX-License-Identifier: Apache-2.0
8 * 2015-06-15 hichard first version
52 const rt_uint32_t __mask = (__size < 32 ? 1 << __size : 0) - 1; in GET_BITS()
53 const rt_int32_t __off = 3 - ((start) / 32); in GET_BITS()
59 __res |= resp[__off-1] << ((32 - __shft) % 32); in GET_BITS()
65 * Given a 128-bit response, decode to our card CSD structure.
70 struct rt_mmcsd_csd *csd = &card->csd; in mmcsd_parse_csd()
71 rt_uint32_t *resp = card->resp_csd; in mmcsd_parse_csd()
74 * We only understand CSD structure v1.1 and v1.2. in mmcsd_parse_csd()
[all …]
/nrf52832-nimble/rt-thread/components/net/lwip-2.0.2/src/core/
H A Ddns.c3 * DNS - host name to IP address resolver.
8 * Implements a DNS host name to IP address resolver.
10 * The lwIP DNS resolver functions are used to lookup a host name and
15 * The lwIP version of the resolver also adds a non-blocking version of
23 * Once a hostname has been resolved (or found to be non-existent),
28 * However, only "One-Shot Multicast DNS Queries" are supported (RFC 6762
34 * @see @ref netconn_common for thread-safe access.
43 * uIP version Copyright (c) 2002-2003, Adam Dunkels.
71 /*-----------------------------------------------------------------------------
72 * RFC 1035 - Domain names - implementation and specification
[all …]
/nrf52832-nimble/packages/NimBLE-latest/nimble/include/nimble/
H A Dble_hci_trans.h10 * http://www.apache.org/licenses/LICENSE-2.0
36 * Controller-to-host event buffers. Events have one of two priorities:
37 * o Low-priority (BLE_HCI_TRANS_BUF_EVT_LO)
38 * o High-priority (BLE_HCI_TRANS_BUF_EVT_HI)
40 * Low-priority event buffers are only used for advertising reports. If there
41 * are no free low-priority event buffers, then an incoming advertising report
44 * High-priority event buffers are for everything except advertising reports.
45 * If there are no free high-priority event buffers, a request to allocate one
46 * will try to allocate a low-priority buffer instead.
49 * low-priority events only.
[all …]
/nrf52832-nimble/rt-thread/components/net/lwip-2.1.0/src/core/
H A Ddns.c3 * DNS - host name to IP address resolver.
8 * Implements a DNS host name to IP address resolver.
10 * The lwIP DNS resolver functions are used to lookup a host name and
15 * The lwIP version of the resolver also adds a non-blocking version of
23 * Once a hostname has been resolved (or found to be non-existent),
28 * However, only "One-Shot Multicast DNS Queries" are supported (RFC 6762
36 * @see @ref netconn_common for thread-safe access.
45 * uIP version Copyright (c) 2002-2003, Adam Dunkels.
73 /*-----------------------------------------------------------------------------
74 * RFC 1035 - Domain names - implementation and specification
[all …]
/nrf52832-nimble/rt-thread/components/net/uip/doc/html/
H A Dmain.html1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2 <html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
7 <!-- Generated by Doxygen 1.4.6 -->
19-bit micro-controllers. Despite being small and simple, uIP do not require their peers to have com…
22 <a class="el" href="a00153.html">Compile-time configuration options</a> <p>
23 <a class="el" href="a00144.html">Run-time configuration functions</a> <p>
29-mail transmissions, file transfers, and peer-to-peer networking over the Internet. For embedded s…
30 …es both in terms of code size and memory usage to be useful in small 8 or 16-bit systems. Code siz…
31 …mplementation is designed to have only the absolute minimal set of features needed for a full TCP/…
32-scale TCP/IP implementation running on a workstation-class machine. Under this assumption, it is …
[all …]
/nrf52832-nimble/rt-thread/components/net/lwip-1.4.1/src/api/
H A Dnetdb.c77 * for the host with name name.
78 * Due to dns_gethostbyname limitations, only one address is returned.
82 * for the host with name name
96 /* query host IP address */ in lwip_gethostbyname()
121 LWIP_DEBUGF(DNS_DEBUG, ("hostent.h_aliases[%i]-> == %p\n", idx, s_hostent.h_aliases[idx])); in lwip_gethostbyname()
122 LWIP_DEBUGF(DNS_DEBUG, ("hostent.h_aliases[%i]-> == %s\n", idx, s_hostent.h_aliases[idx])); in lwip_gethostbyname()
132 …LWIP_DEBUGF(DNS_DEBUG, ("hostent.h_addr_list[%i]-> == %s\n", idx, ip_ntoa((ip_addr_t*)s_hostent.h_… in lwip_gethostbyname()
138 /* this function should return the "per-thread" hostent after copy from s_hostent */ in lwip_gethostbyname()
146 * Thread-safe variant of lwip_gethostbyname: instead of using a static
151 * @param ret pre-allocated struct where to store the result
[all …]
/nrf52832-nimble/rt-thread/components/net/lwip-2.1.0/src/api/
H A Dnetdb.c79 * for the host with name name.
80 * Due to dns_gethostbyname limitations, only one address is returned.
84 * for the host with name name
99 /* query host IP address */ in lwip_gethostbyname()
132 …LWIP_DEBUGF(DNS_DEBUG, ("hostent.h_addr_list[%i]-> == %s\n", idx, ipaddr_ntoa((ip_addr_t *)s_hoste… in lwip_gethostbyname()
138 /* this function should return the "per-thread" hostent after copy from s_hostent */ in lwip_gethostbyname()
146 * Thread-safe variant of lwip_gethostbyname: instead of using a static
151 * @param ret pre-allocated struct where to store the result
152 * @param buf pre-allocated buffer where to store additional data
158 * @return 0 on success, non-zero on error, additional error information
[all …]
/nrf52832-nimble/rt-thread/components/net/lwip-2.0.2/src/api/
H A Dnetdb.c79 * for the host with name name.
80 * Due to dns_gethostbyname limitations, only one address is returned.
84 * for the host with name name
99 /* query host IP address */ in lwip_gethostbyname()
132 …LWIP_DEBUGF(DNS_DEBUG, ("hostent.h_addr_list[%i]-> == %s\n", idx, ipaddr_ntoa((ip_addr_t*)s_hosten… in lwip_gethostbyname()
138 /* this function should return the "per-thread" hostent after copy from s_hostent */ in lwip_gethostbyname()
146 * Thread-safe variant of lwip_gethostbyname: instead of using a static
151 * @param ret pre-allocated struct where to store the result
152 * @param buf pre-allocated buffer where to store additional data
158 * @return 0 on success, non-zero on error, additional error information
[all …]
/nrf52832-nimble/packages/NimBLE-latest/nimble/controller/include/controller/
H A Dble_ll_conn.h10 * http://www.apache.org/licenses/LICENSE-2.0
145 * req_pref_tx_phy: tx phy sent in a phy request (may be different than host)
146 * req_pref_rx_phy: rx phy sent in a phy request (may be different than host)
147 * host_pref_tx_phys: bitmask of preferred transmit PHYs sent by host
148 * host_pref_rx_phys: bitmask of preferred receive PHYs sent by host
166 #define CONN_CUR_TX_PHY_MASK(csm) (1 << ((csm)->phy_data.cur_tx_phy - 1))
167 #define CONN_CUR_RX_PHY_MASK(csm) (1 << ((csm)->phy_data.cur_rx_phy - 1))
229 only use the MD bit now */
250 uint32_t crcinit; /* only low 24 bits used */
267 uint32_t last_anchor_point; /* Slave only */
[all …]
/nrf52832-nimble/rt-thread/components/net/lwip-2.0.2/src/include/lwip/
H A Dip4_addr.h7 * Copyright (c) 2001-2004 Swedish Institute of Computer Science.
55 /** ip4_addr_t uses a struct for convenience only, so that the same defines can
89 On subnets, host and network parts are found according to
110 #define IP_CLASSD_NSHIFT 28 /* net and host fields, but */
119 /** Set an IP address given by the four byte-parts */
120 #define IP4_ADDR(ipaddr, a,b,c,d) (ipaddr)->addr = PP_HTONL(LWIP_MAKEU32(a,b,c,d))
122 /** MEMCPY-like copying of IP addresses where addresses are known to be
123 * 16-bit-aligned if the port is correctly configured (so a port could define
124 * this to copying 2 u16_t's) - no NULL-pointer-checking needed. */
129 /** Copy IP address - faster than ip4_addr_set: no NULL check */
[all …]
/nrf52832-nimble/rt-thread/components/net/lwip-1.4.1/src/include/ipv4/lwip/
H A Dip_addr.h2 * Copyright (c) 2001-2004 Swedish Institute of Computer Science.
62 /** ip_addr_t uses a struct for convenience only, so that the same defines can
106 On subnets, host and network parts are found according to
127 #define IP_CLASSD_NSHIFT 28 /* net and host fields, but */
138 /** Set an IP address given by the four byte-parts */
140 (ipaddr)->addr = ((u32_t)((a) & 0xff) << 24) | \
145 /** Set an IP address given by the four byte-parts.
146 Little-endian version that prevents the use of htonl. */
148 (ipaddr)->addr = ((u32_t)((d) & 0xff) << 24) | \
154 /** MEMCPY-like copying of IP addresses where addresses are known to be
[all …]
/nrf52832-nimble/rt-thread/components/net/lwip-2.1.0/src/include/lwip/
H A Dip4_addr.h7 * Copyright (c) 2001-2004 Swedish Institute of Computer Science.
55 /** ip4_addr_t uses a struct for convenience only, so that the same defines can
73 On subnets, host and network parts are found according to
94 #define IP_CLASSD_NSHIFT 28 /* net and host fields, but */
103 /** Set an IP address given by the four byte-parts */
104 #define IP4_ADDR(ipaddr, a,b,c,d) (ipaddr)->addr = PP_HTONL(LWIP_MAKEU32(a,b,c,d))
106 /** Copy IP address - faster than ip4_addr_set: no NULL check */
109 #define ip4_addr_set(dest, src) ((dest)->addr = \
111 (src)->addr))
113 #define ip4_addr_set_zero(ipaddr) ((ipaddr)->addr = 0)
[all …]
/nrf52832-nimble/rt-thread/components/net/lwip-1.4.1/src/include/lwip/
H A Dtcp.h2 * Copyright (c) 2001-2004 Swedish Institute of Computer Science.
57 * Only return ERR_ABRT if you have called tcp_abort from within the
69 * Only return ERR_ABRT if you have called tcp_abort from within the
83 * Only return ERR_ABRT if you have called tcp_abort from within the
95 * Only return ERR_ABRT if you have called tcp_abort from within the
108 * ERR_RST: the connection was reset by the remote host
118 * @param err An unused error code, always ERR_OK currently ;-) TODO!
119 * Only return ERR_ABRT if you have called tcp_abort from within the
142 * @param arg user-supplied argument (tcp_pcb.callback_arg)
159 /* the accept callback for listen- and normal pcbs, if LWIP_CALLBACK_API */ \
[all …]
/nrf52832-nimble/nordic/nrfx/drivers/include/
H A Dnrfx_usbd.h2 * Copyright (c) 2016 - 2018, Nordic Semiconductor ASA
138 NRFX_USBD_EVT_WUREQ, /**< Wakeup request - the USBD peripheral is ready to generate
141 NRFX_USBD_EVT_EPTRANSFER, /**< For Rx (OUT: Host->Device):
145 * For Tx (IN: Device->Host):
160 …NRFX_USBD_EP_WAITING, /**< Data received, no buffer prepared already - waiting for configured tra…
166 * When this error is reported - data is left inside endpoint buffer.
237 NRFX_USBD_TRANSFER_ZLP_FLAG = 1U << 0, //!< Add a zero-length packet.
244 * It is used by internal built-in feeders and consumers.
292 * TX (Device->Host) endpoint transfer.
295 * - The size of the transfer provided by this function is limited to a single endpoint buffer.
[all …]
/nrf52832-nimble/packages/NimBLE-latest/nimble/transport/emspi/src/
H A Dble_hci_emspi.c10 * http://www.apache.org/licenses/LICENSE-2.0
146 /* Wait for controller to indicate ready-to-receive. */ in ble_hci_emspi_initiate_write()
249 len -= bytes_txed; in ble_hci_emspi_tx()
331 pkt->type = BLE_HCI_EMSPI_PKT_ACL; in ble_hci_emspi_acl_tx()
332 pkt->data = om; in ble_hci_emspi_acl_tx()
359 pkt->type = pkt_type; in ble_hci_emspi_cmdevt_tx()
360 pkt->data = cmd_buf; in ble_hci_emspi_cmdevt_tx()
419 rc = ble_hci_emspi_tx(cur->om_data, cur->om_len); in ble_hci_emspi_tx_acl()
454 return -1; in ble_hci_emspi_tx_pkt()
457 switch (pkt->type) { in ble_hci_emspi_tx_pkt()
[all …]
/nrf52832-nimble/rt-thread/components/net/uip/uip/
H A Duip.h20 * Copyright (c) 2001-2003, Adam Dunkels.
70 /*---------------------------------------------------------------------------*/
80 * The uIP configuration functions are used for setting run-time
85 * Set the IP address of this host.
87 * The IP address is represented as a 4-byte array where the first
88 * octet of the IP address is put in the first member of the 4-byte
109 * Get the IP address of this host.
111 * The IP address is represented as a 4-byte array where the first
112 * octet of the IP address is put in the first member of the 4-byte
240 if(BUF->type == HTONS(UIP_ETHTYPE_IP)) {
[all …]
/nrf52832-nimble/packages/NimBLE-latest/nimble/controller/
H A Dsyscfg.yml9 # http://www.apache.org/licenses/LICENSE-2.0
83 number of completed packets event to the host. Rate is in os time
100 response. Prevents sending duplicate events to host.
128 data length update procedure. The host can always tell
159 to do this. If set to 1, the scheduler will only schedule connections at
179 always have available for the host to use. Decreasing this
180 value may cause host delays if the host needs lots of random
187 The settling time of the high-frequency oscillator. This is
197 # These feature definitions are used to inform a host or other controller
235 size of tx/rx pdu's used in a connection. This option has only
[all …]

1234567891011