Home
last modified time | relevance | path

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

12

/nrf52832-nimble/packages/NimBLE-latest/nimble/host/
H A Dpkg.yml10 # http://www.apache.org/licenses/LICENSE-2.0
20 pkg.name: nimble/host
21 pkg.description: Host side of the nimble Bluetooth Smart stack.
25 - ble
26 - bluetooth
29 - "@apache-mynewt-core/kernel/os"
30 - "@apache-mynewt-core/sys/log/modlog"
31 - "@apache-mynewt-core/util/mem"
32 - nimble
35 - "@apache-mynewt-core/crypto/tinycrypt"
[all …]
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.
137 Whether the out-of-band pairing algorithm is advertised. (0/1)
145 Whether man-in-the-middle protection is advertised during
399 Whether to enable host-side flow control. This should only be
400 enabled in host-only setups (i.e., not combined-host-controller).
405 The interval, in milliseconds, that the host should provide
[all …]
/nrf52832-nimble/rt-thread/components/dfs/filesystems/nfs/rpc/
H A Dclnt.h2 * Copyright (c) 2006-2018, RT-Thread Development Team
4 * SPDX-License-Identifier: Apache-2.0
40 * clnt.h - Client side remote procedure call interface.
81 RPC_UNKNOWNHOST=13, /* unknown host name */
157 * client side rpc interface ops
175 ((*(rh)->cl_ops->cl_call)(rh, proc, xargs, argsp, xres, resp, secs))
177 ((*(rh)->cl_ops->cl_call)(rh, proc, xargs, argsp, xres, resp, secs))
184 #define CLNT_ABORT(rh) ((*(rh)->cl_ops->cl_abort)(rh))
185 #define clnt_abort(rh) ((*(rh)->cl_ops->cl_abort)(rh))
192 #define CLNT_GETERR(rh,errp) ((*(rh)->cl_ops->cl_geterr)(rh, errp))
[all …]
/nrf52832-nimble/packages/NimBLE-latest/docs/
H A Dindex.rst2 ----------------
4 Apache Mynewt offers the world's first fully open-source Bluetooth Low
10 countries. It uses a spread spectrum, frequency hopping, full-duplex
11 signal. BLE FHSS employs 40 2-MHz-wide channels to ensure greater
12 reliability over longer distances. It also features 0-dBm (1 mW) power
38 - LE Advertising Extensions
39 - 2Msym/s PHY for higher throughput
40 - Coded PHY for LE Long Range
41 - High Duty Cycle Non-Connectable Advertising
42 - Channel Selection Algorithm #2 to utilize channels in more efficient
[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.
76 * been acknowledged by the remote side. Use it to free corresponding resources.
108 * ERR_RST: the connection was reset by the remote host
113 * is connected to the remote side after initiating a connection attempt by
118 * @param err An unused error code, always ERR_OK currently ;-) TODO!
142 * @param arg user-supplied argument (tcp_pcb.callback_arg)
159 /* the accept callback for listen- and normal pcbs, if LWIP_CALLBACK_API */ \
163 /* ports are in host byte order */ \
174 /* ports are in host byte order */
187 /* the rest of the fields are in host byte order
[all …]
H A Dopt.h8 * Copyright (c) 2001-2004 Swedish Institute of Computer Science.
49 -----------------------------------------------
50 ---------- Platform specific locking ----------
51 -----------------------------------------------
55 * SYS_LIGHTWEIGHT_PROT==1: if you want inter-task protection for certain
96 ------------------------------------
97 ---------- Memory options ----------
98 ------------------------------------
101 * MEM_LIBC_MALLOC==1: Use malloc/free/realloc provided by your C-library
120 * 4 byte alignment -> #define MEM_ALIGNMENT 4
[all …]
/nrf52832-nimble/rt-thread/components/net/lwip-2.0.2/src/include/lwip/
H A Dtcp.h8 * Copyright (c) 2001-2004 Swedish Institute of Computer Science.
84 * been acknowledged by the remote side. Use it to free corresponding resources.
116 * ERR_RST: the connection was reset by the remote host
121 * is connected to the remote side after initiating a connection attempt by
126 * @param err An unused error code, always ERR_OK currently ;-) @todo!
135 #define RCV_WND_SCALE(pcb, wnd) (((wnd) >> (pcb)->rcv_scale))
136 #define SND_WND_SCALE(pcb, wnd) (((wnd) << (pcb)->snd_scale))
138 #define TCP_WND_MAX(pcb) ((tcpwnd_size_t)(((pcb)->flags & TF_WND_SCALE) ? TCP_WND : TCPWND16…
176 /* ports are in host byte order */ \
206 /* ports are in host byte order */
[all …]
/nrf52832-nimble/rt-thread/components/net/lwip-2.1.0/src/include/lwip/
H A Dtcp.h8 * Copyright (c) 2001-2004 Swedish Institute of Computer Science.
86 * been acknowledged by the remote side. Use it to free corresponding resources.
118 * ERR_RST: the connection was reset by the remote host
123 * is connected to the remote side after initiating a connection attempt by
128 * @param err An unused error code, always ERR_OK currently ;-) @todo!
137 #define RCV_WND_SCALE(pcb, wnd) (((wnd) >> (pcb)->rcv_scale))
138 #define SND_WND_SCALE(pcb, wnd) (((wnd) << (pcb)->snd_scale))
140 #define TCP_WND_MAX(pcb) ((tcpwnd_size_t)(((pcb)->flags & TF_WND_SCALE) ? TCP_WND : TCPWND16…
152 wnd = (tcpwnd_size_t)-1; \
218 /* ports are in host byte order */ \
[all …]
/nrf52832-nimble/rt-thread/components/net/lwip-1.4.1/src/core/
H A Dtcp.c12 * Copyright (c) 2001-2004 Swedish Institute of Computer Science.
59 /* From http://www.iana.org/assignments/port-numbers:
67 #define TCP_KEEP_DUR(pcb) ((pcb)->keep_cnt * (pcb)->keep_intvl)
68 #define TCP_KEEP_INTVL(pcb) ((pcb)->keep_intvl)
107 /** List of all TCP PCBs in TIME-WAIT state */
112 /** An array with all (non-temporary) PCB lists, mainly used for smaller code size */
121 /** Timer counter to handle calling slow-timer from tcp_tmr() */
154 * Closes the TX side of a connection held by the PCB.
174 if (rst_on_unacked_data && ((pcb->state == ESTABLISHED) || (pcb->state == CLOSE_WAIT))) { in tcp_close_shutdown()
175 if ((pcb->refused_data != NULL) || (pcb->rcv_wnd != TCP_WND)) { in tcp_close_shutdown()
[all …]
H A Dtcp_in.c7 * These functions are generally called in the order (ip_input() ->)
8 * tcp_input() -> * tcp_process() -> tcp_receive() (-> application).
13 * Copyright (c) 2001-2004 Swedish Institute of Computer Science.
88 * @param p received TCP segment to process (p->payload pointing to the IP header)
108 iphdr = (struct ip_hdr *)p->payload; in tcp_input()
109 tcphdr = (struct tcp_hdr *)((u8_t *)p->payload + IPH_HL(iphdr) * 4); in tcp_input()
116 if (pbuf_header(p, -((s16_t)(IPH_HL(iphdr) * 4))) || (p->tot_len < sizeof(struct tcp_hdr))) { in tcp_input()
118 …LWIP_DEBUGF(TCP_INPUT_DEBUG, ("tcp_input: short packet (%"U16_F" bytes) discarded\n", p->tot_len)); in tcp_input()
133 IP_PROTO_TCP, p->tot_len) != 0) { in tcp_input()
136 IP_PROTO_TCP, p->tot_len))); in tcp_input()
[all …]
/nrf52832-nimble/rt-thread/components/vmm/
H A Dvmm_context.c2 * COPYRIGHT (C) 2013-2014, Real-Thread Information Technology Ltd
5 * SPDX-License-Identifier: Apache-2.0
9 * 2013-11-04 Grissiom add comment
29 /* When loading RT-Thread, the IRQ on the guest should be disabled. */ in vmm_context_init()
30 _vmm_context->virq_status = 1; in vmm_context_init()
36 /* some RT-Thread code need to be called in the guest
38 * "super" domain mode to have access of both side. The code executed in super
47 domain->kernel, domain->user, domain->io, in vmm_context_init_domain()
48 domain->vmm, domain->vmm_share); in vmm_context_init_domain()
50 if (domain->kernel == domain->vmm || in vmm_context_init_domain()
[all …]
/nrf52832-nimble/rt-thread/components/net/lwip-2.1.0/src/core/
H A Dtcp_in.c7 * These functions are generally called in the order (ip_input() ->)
8 * tcp_input() -> * tcp_process() -> tcp_receive() (-> application).
13 * Copyright (c) 2001-2004 Swedish Institute of Computer Science.
114 * @param p received TCP segment to process (p->payload pointing to the TCP header)
138 tcphdr = (struct tcp_hdr *)p->payload;
145 if (p->len < TCP_HLEN) {
147 …LWIP_DEBUGF(TCP_INPUT_DEBUG, ("tcp_input: short packet (%"U16_F" bytes) discarded\n", p->tot_len));
162 u16_t chksum = ip_chksum_pseudo(p, IP_PROTO_TCP, p->tot_len,
174 /* sanity-check header length */
176 if ((hdrlen_bytes < TCP_HLEN) || (hdrlen_bytes > p->tot_len)) {
[all …]
H A Dtcp.c16 * --------------------
19 * identifier (i.e., a protocol control block - PCB) is created with the
21 * incoming connections or be explicitly connected to another host.
22 * - tcp_new()
23 * - tcp_bind()
24 * - tcp_listen() and tcp_listen_with_backlog()
25 * - tcp_accept()
26 * - tcp_connect()
29 * ----------------
32 * transmitted to the remote host, the application will be notified with a
[all …]
/nrf52832-nimble/rt-thread/components/net/lwip-2.0.2/src/core/
H A Dtcp.c17 * Copyright (c) 2001-2004 Swedish Institute of Computer Science.
70 /* From http://www.iana.org/assignments/port-numbers:
78 #define TCP_KEEP_DUR(pcb) ((pcb)->keep_cnt * (pcb)->keep_intvl)
79 #define TCP_KEEP_INTVL(pcb) ((pcb)->keep_intvl)
125 /** List of all TCP PCBs in TIME-WAIT state */
128 /** An array with all (non-temporary) PCB lists, mainly used for smaller code size */
134 /** Timer counter to handle calling slow-timer from tcp_tmr() */
170 * closed listener pcb from pcb->listener if matching.
176 for (pcb = list; pcb != NULL; pcb = pcb->next) { in tcp_remove_listener()
177 if (pcb->listener == lpcb) { in tcp_remove_listener()
[all …]
H A Dtcp_in.c7 * These functions are generally called in the order (ip_input() ->)
8 * tcp_input() -> * tcp_process() -> tcp_receive() (-> application).
13 * Copyright (c) 2001-2004 Swedish Institute of Computer Science.
98 * @param p received TCP segment to process (p->payload pointing to the TCP header)
120 tcphdr = (struct tcp_hdr *)p->payload;
127 if (p->len < TCP_HLEN) {
129 …LWIP_DEBUGF(TCP_INPUT_DEBUG, ("tcp_input: short packet (%"U16_F" bytes) discarded\n", p->tot_len));
144 u16_t chksum = ip_chksum_pseudo(p, IP_PROTO_TCP, p->tot_len,
156 /* sanity-check header length */
158 if ((hdrlen_bytes < TCP_HLEN) || (hdrlen_bytes > p->tot_len)) {
[all …]
/nrf52832-nimble/rt-thread/libcpu/ppc/ppc405/include/asm/
H A Dppc405.h1 /*----------------------------------------------------------------------------+
3 | This source code has been made available to you by IBM on an AS-IS
19 | LICENSED MATERIAL - PROGRAM PROPERTY OF I B M
20 +----------------------------------------------------------------------------*/
25 /* Define bits and masks for real-mode storage attribute control registers */
68 /* values for kiar register - indirect addressing of these regs */
102 /* values for ebccfga register - indirect addressing of these regs */
233 #define CPC0_PCI_HOST_CFG_EN 0x00000008 /* PCI host config Enable */
340 *-------------------------------------------------------------------------------
343 *-------------------------------------------------------------------------------
[all …]
/nrf52832-nimble/packages/NimBLE-latest/docs/btshell/
H A Dbtshell_api.rst2 -------------------
5 interface to the host-side of the BLE stack. "btshell" includes all the possible roles (Central/Per…
10 …ames. Thanks to support for tab completion commands names are more descriptive and self-explanatory
34 - Public address: None
35 - Random address: None
41 set addr_type=public addr=<device-address>
42 set addr_type=random addr=<device-address>
51 The address configuration can be viewed with the ``gatt-show-addr`` command, as follows:
55 gatt-show-addr
65 .. code-block:: none
[all …]
/nrf52832-nimble/rt-thread/components/net/lwip-2.0.2/src/api/
H A Dapi_lib.c7 * Thread-safe, to be called from non-TCPIP threads only.
25 * Copyright (c) 2001-2004 Swedish Institute of Computer Science.
98 apimsg->err = ERR_VAL; in netconn_apimsg()
102 apimsg->op_completed_sem = LWIP_NETCONN_THREAD_SEM_GET(); in netconn_apimsg()
107 return apimsg->err; in netconn_apimsg()
137 LWIP_ASSERT("freeing conn without freeing pcb", conn->pcb.tcp == NULL); in netconn_new_with_proto_and_callback()
138 LWIP_ASSERT("conn has no recvmbox", sys_mbox_valid(&conn->recvmbox)); in netconn_new_with_proto_and_callback()
140 LWIP_ASSERT("conn->acceptmbox shouldn't exist", !sys_mbox_valid(&conn->acceptmbox)); in netconn_new_with_proto_and_callback()
143 LWIP_ASSERT("conn has no op_completed", sys_sem_valid(&conn->op_completed)); in netconn_new_with_proto_and_callback()
144 sys_sem_free(&conn->op_completed); in netconn_new_with_proto_and_callback()
[all …]
/nrf52832-nimble/rt-thread/components/net/lwip-2.1.0/src/api/
H A Dapi_lib.c7 * Thread-safe, to be called from non-TCPIP threads only.
25 * Copyright (c) 2001-2004 Swedish Institute of Computer Science.
95 #define NETCONN_RECVMBOX_WAITABLE(conn) (sys_mbox_valid(&(conn)->recvmbox) && (((conn)->flags & NET…
96 #define NETCONN_ACCEPTMBOX_WAITABLE(conn) (sys_mbox_valid(&(conn)->acceptmbox) && (((conn)->flags &…
97 #define NETCONN_MBOX_WAITING_INC(conn) SYS_ARCH_INC(conn->mbox_threads_waiting, 1)
98 #define NETCONN_MBOX_WAITING_DEC(conn) SYS_ARCH_DEC(conn->mbox_threads_waiting, 1)
100 #define NETCONN_RECVMBOX_WAITABLE(conn) sys_mbox_valid(&(conn)->recvmbox)
101 #define NETCONN_ACCEPTMBOX_WAITABLE(conn) (sys_mbox_valid(&(conn)->acceptmbox) && (((conn)->flags &…
124 apimsg->err = ERR_VAL; in netconn_apimsg()
128 apimsg->op_completed_sem = LWIP_NETCONN_THREAD_SEM_GET(); in netconn_apimsg()
[all …]
/nrf52832-nimble/rt-thread/components/net/lwip-2.1.0/test/unit/api/
H A Dtest_sockets.c23 if (s->fd_used) { in test_sockets_get_used_count()
91 fail_unless(s == -1); in START_TEST()
130 addr4->sin_addr.s_addr = PP_HTONL(INADDR_LOOPBACK); in test_sockets_allfunctions_basic_domain()
136 addr6->sin6_addr = lo6; in test_sockets_allfunctions_basic_domain()
140 fail_unless(ret == -1); in test_sockets_allfunctions_basic_domain()
143 fail_unless(ret == -1); in test_sockets_allfunctions_basic_domain()
152 fail_unless(ret == -1); in test_sockets_allfunctions_basic_domain()
177 fail_unless(ret == -1); in test_sockets_allfunctions_basic_domain()
195 fail_unless(ret == -1); in test_sockets_allfunctions_basic_domain()
227 addr->sin6_family = AF_INET6; in test_sockets_init_loopback_addr()
[all …]
/nrf52832-nimble/rt-thread/components/net/lwip-1.4.1/src/netif/ppp/
H A Dppp_oe.c2 * ppp_oe.c - PPP Over Ethernet implementation for lwIP.
27 * 06-01-01 Marc Boucher <[email protected]>
35 /*-
156 MEMCPY(&sc->sc_dest, ethbroadcast.addr, sizeof(sc->sc_dest)); in pppoe_create()
158 sc->sc_pd = pd; in pppoe_create()
159 sc->sc_linkStatusCB = linkStatusCB; in pppoe_create()
160 sc->sc_ethif = ethif; in pppoe_create()
163 sc->next = pppoe_softc_list; in pppoe_create()
176 for (sc = pppoe_softc_list; sc != NULL; prev = sc, sc = sc->next) { in pppoe_destroy()
177 if (sc->sc_ethif == ifp) { in pppoe_destroy()
[all …]
/nrf52832-nimble/packages/NimBLE-latest/apps/btshell/src/
H A Dbtshell.c10 * http://www.apache.org/licenses/LICENSE-2.0
33 #include "host/ble_hs.h"
34 #include "host/ble_hs_adv.h"
35 #include "host/ble_uuid.h"
36 #include "host/ble_att.h"
37 #include "host/ble_gap.h"
38 #include "host/ble_gatt.h"
39 #include "host/ble_store.h"
40 #include "host/ble_sm.h"
153 msg, conn_handle, error->status, error->att_handle); in btshell_print_error()
[all …]
/nrf52832-nimble/rt-thread/components/net/uip/uip/
H A Duip.c13 * small 8-bit and 16-bit microcontrollers.
16 * with a very small code footprint and RAM requirements - the uIP
28 * Copyright (c) 2001-2003, Adam Dunkels.
74 * application. If the remote host has sent data to the application,
92 #include "uip-neighbor.h"
97 /*---------------------------------------------------------------------------*/
101 /* The IP address of this host. If it is defined to be fixed (by
155 urgent data (out-of-band data), if
211 #define TCP_OPT_NOOP 1 /* "No-operation" TCP option */
283 /*---------------------------------------------------------------------------*/
[all …]
/nrf52832-nimble/rt-thread/components/net/lwip-2.0.2/src/netif/ppp/
H A Dpppoe.c2 * pppoe.c - PPP Over Ethernet implementation for lwIP.
27 * 06-01-01 Marc Boucher <[email protected]>
35 /*-
193 sc->pcb = ppp; in pppoe_create()
194 sc->sc_ethif = ethif; in pppoe_create()
196 sc->next = pppoe_softc_list; in pppoe_create()
213 pbuf_header(p, -(s16_t)2); in pppoe_write()
219 MIB2_STATS_NETIF_INC(ppp->netif, ifoutdiscards); in pppoe_write()
224 pbuf_header(ph, -(s16_t)PPPOE_HEADERLEN); /* hide PPPoE header */ in pppoe_write()
227 tot_len = ph->tot_len; in pppoe_write()
[all …]
/nrf52832-nimble/rt-thread/components/net/lwip-2.1.0/src/netif/ppp/
H A Dpppoe.c2 * pppoe.c - PPP Over Ethernet implementation for lwIP.
27 * 06-01-01 Marc Boucher <[email protected]>
35 /*-
194 sc->pcb = ppp; in pppoe_create()
195 sc->sc_ethif = ethif; in pppoe_create()
197 sc->next = pppoe_softc_list; in pppoe_create()
220 MIB2_STATS_NETIF_INC(ppp->netif, ifoutdiscards); in pppoe_write()
228 tot_len = ph->tot_len; in pppoe_write()
234 MIB2_STATS_NETIF_INC(ppp->netif, ifoutdiscards); in pppoe_write()
238 MIB2_STATS_NETIF_ADD(ppp->netif, ifoutoctets, (u16_t)tot_len); in pppoe_write()
[all …]

12