/nrf52832-nimble/packages/NimBLE-latest/nimble/host/test/src/ |
H A D | ble_hs_hci_test.c | 8 * with the License. You may obtain a copy of the License at 10 * http://www.apache.org/licenses/LICENSE-2.0 14 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 59 params[2] = -8; in TEST_CASE() 65 TEST_ASSERT(rssi == -8); in TEST_CASE() 76 ble_hs_test_util_hci_ack_set_params(opcode, 0, params, sizeof params - 1); in TEST_CASE() 102 /* The controller has room for five 20-byte payloads (+ 4-byte header). */ in TEST_CASE() 109 /* Ensure the ATT doesn't truncate our data packets. */ in TEST_CASE() 112 /* Send two 3-byte data packets. */ in TEST_CASE() 126 /* Receive a number-of-completed-packets event. Ensure available buffer in TEST_CASE() [all …]
|
/nrf52832-nimble/packages/NimBLE-latest/nimble/host/src/ |
H A D | ble_hs_flow.c | 8 * with the License. You may obtain a copy of the License at 10 * http://www.apache.org/licenses/LICENSE-2.0 14 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 30 * The number of freed buffers since the most-recent 31 * number-of-completed-packets event was sent. This is used to determine if an 36 /** Periodically sends number-of-completed-packets events. */ 56 /* For each connection with completed packets, send a separate in ble_hs_flow_tx_num_comp_pkts() 57 * host-number-of-completed-packets command. in ble_hs_flow_tx_num_comp_pkts() 63 if (conn->bhc_completed_pkts > 0) { in ble_hs_flow_tx_num_comp_pkts() 68 entry.conn_handle = conn->bhc_handle; in ble_hs_flow_tx_num_comp_pkts() [all …]
|
H A D | ble_hs_dbg.c | 8 * with the License. You may obtain a copy of the License at 10 * http://www.apache.org/licenses/LICENSE-2.0 14 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 93 advlen -= imax; in ble_hs_dbg_le_event_disp() 155 struct hci_le_subev_direct_adv_rpt_param *params = data->params; in ble_hs_dbg_le_event_disp() 158 len < sizeof(*data) + data->num_reports * sizeof(*params)) { in ble_hs_dbg_le_event_disp() 165 "num=0x%02x ", len, data->num_reports); in ble_hs_dbg_le_event_disp() 167 for (i = 0; i < data->num_reports; i++) { in ble_hs_dbg_le_event_disp() 168 BLE_HS_LOG(DEBUG, "[%d]={evttype=0x%02x}\n", i, params->evt_type); in ble_hs_dbg_le_event_disp() 179 BLE_HS_LOG(DEBUG, "Corrupted LE Read Local P-256 Public Key " in ble_hs_dbg_le_event_disp() [all …]
|
H A D | ble_hs_hci_cmd.c | 8 * with the License. You may obtain a copy of the License at 10 * http://www.apache.org/licenses/LICENSE-2.0 14 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 164 if ((adv->adv_itvl_min > adv->adv_itvl_max) || in ble_hs_hci_cmd_body_le_set_adv_params() 165 (adv->own_addr_type > BLE_HCI_ADV_OWN_ADDR_MAX) || in ble_hs_hci_cmd_body_le_set_adv_params() 166 (adv->peer_addr_type > BLE_HCI_ADV_PEER_ADDR_MAX) || in ble_hs_hci_cmd_body_le_set_adv_params() 167 (adv->adv_filter_policy > BLE_HCI_ADV_FILT_MAX) || in ble_hs_hci_cmd_body_le_set_adv_params() 168 (adv->adv_type > BLE_HCI_ADV_TYPE_MAX) || in ble_hs_hci_cmd_body_le_set_adv_params() 169 (adv->adv_channel_map == 0) || in ble_hs_hci_cmd_body_le_set_adv_params() 170 ((adv->adv_channel_map & 0xF8) != 0)) { in ble_hs_hci_cmd_body_le_set_adv_params() [all …]
|
/nrf52832-nimble/rt-thread/components/net/lwip-1.4.1/src/netif/ |
H A D | slipif.c | 8 * Copyright (c) 2001-2004 Swedish Institute of Computer Science. 14 * 1. Redistributions of source code must retain the above copyright 15 * notice, this list of conditions and the following disclaimer. 17 * notice, this list of conditions and the following disclaimer in the 19 * 3. Neither the name of the Institute nor the names of its contributors 25 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 28 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 29 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 30 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 32 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF [all …]
|
/nrf52832-nimble/packages/NimBLE-latest/nimble/host/ |
H A D | syscfg.yml | 7 # with the License. You may obtain a copy of the License at 9 # http://www.apache.org/licenses/LICENSE-2.0 13 # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 60 This value should be a power of 2. 81 Size of internal buffer for console output. Any line exceeding this 88 The number of L2CAP channels to allocate. The default value allows 93 The maximum number of concurrent L2CAP signal procedures. 97 Whether to collapse incoming L2CAP fragments into a minimal set of 104 Expiry time for incoming data packets (ms). If this much time 106 terminated. A value of 0 means no timeout. [all …]
|
/nrf52832-nimble/rt-thread/components/net/lwip-2.0.2/src/netif/ |
H A D | slipif.c | 8 * Copyright (c) 2001-2004 Swedish Institute of Computer Science. 14 * 1. Redistributions of source code must retain the above copyright 15 * notice, this list of conditions and the following disclaimer. 17 * notice, this list of conditions and the following disclaimer in the 19 * 3. Neither the name of the Institute nor the names of its contributors 25 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 28 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 29 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 30 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 32 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF [all …]
|
/nrf52832-nimble/rt-thread/components/net/lwip-2.1.0/src/netif/ |
H A D | slipif.c | 8 * Copyright (c) 2001-2004 Swedish Institute of Computer Science. 14 * 1. Redistributions of source code must retain the above copyright 15 * notice, this list of conditions and the following disclaimer. 17 * notice, this list of conditions and the following disclaimer in the 19 * 3. Neither the name of the Institute nor the names of its contributors 25 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 28 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 29 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 30 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 32 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF [all …]
|
/nrf52832-nimble/packages/NimBLE-latest/nimble/controller/src/ |
H A D | ble_ll_conn_hci.c | 8 * with the License. You may obtain a copy of the License at 10 * http://www.apache.org/licenses/LICENSE-2.0 14 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 38 * Used to limit the rate at which we send the number of completed packets 63 * @return int 0: success -1: failure 76 rc = -1; in ble_ll_init_alloc_conn_comp_ev() 157 put_le16(evbuf + 4, connsm->conn_handle); in ble_ll_conn_comp_event_send() 159 evbuf[6] = connsm->conn_role - 1; in ble_ll_conn_comp_event_send() 160 peer_addr_type = connsm->peer_addr_type; in ble_ll_conn_comp_event_send() 165 if (connsm->conn_role == BLE_LL_CONN_ROLE_MASTER) { in ble_ll_conn_comp_event_send() [all …]
|
H A D | ble_ll.c | 8 * with the License. You may obtain a copy of the License at 10 * http://www.apache.org/licenses/LICENSE-2.0 14 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 54 * 2) Need to figure out what to do with packets that we hand up that did 56 * packets I think. Need to figure out what to do with this. 59 * start of a frame. Need to look at the various states to see if this is the 247 * - Preamble, Access Address, CI, TERM1 (always coded as S=8) 248 * - PDU, CRC, TERM2 (coded as S=2 or S=8) 258 * Counts the number of advertising PDU's received, by type. For advertising 259 * PDU's that contain a destination address, we still count these packets even [all …]
|
H A D | ble_ll_conn.c | 8 * with the License. You may obtain a copy of the License at 10 * http://www.apache.org/licenses/LICENSE-2.0 14 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 52 * -> This is true. There are a couple things to do 62 * 2) Make sure we check incoming data packets for size and all that. You 66 * and master. We should just set this to the end of the connection event. 68 * to be scheduled prior to the start of the event to account for the time it 72 * connection to extend past the end of the allocated connection end 87 * purely slave. We can make a union of them. 91 * of connection events I am probably fine. Checking at end that the next [all …]
|
H A D | ble_ll_scan.c | 8 * with the License. You may obtain a copy of the License at 10 * http://www.apache.org/licenses/LICENSE-2.0 14 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 46 * 1) I think I can guarantee that we dont process things out of order if 51 * a list of advertisers to which I sent a scan request and have yet to 55 /* Dont allow more than 255 of these entries */ 139 /* Contains list of advertisers that we have heard scan responses from */ 172 if (!scansm->scan_enabled || scansm->cur_aux_data) { in ble_ll_aux_scan_cb() 173 ble_ll_scan_aux_data_unref(sch->cb_arg); in ble_ll_aux_scan_cb() 179 ble_ll_scan_aux_data_unref(sch->cb_arg); in ble_ll_aux_scan_cb() [all …]
|
/nrf52832-nimble/packages/NimBLE-latest/nimble/controller/ |
H A D | syscfg.yml | 7 # with the License. You may obtain a copy of the License at 9 # http://www.apache.org/licenses/LICENSE-2.0 13 # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 42 description: 'The priority of the LL task' 46 # Sleep clock accuracy (sca). This is the amount of drift in the system 50 # than have a piece of code calculate this value, the developer must set 51 # this value based on the value of the SCA using the following table: 69 description: 'The system clock accuracy of the device.' 83 number of completed packets event to the host. Rate is in os time 92 # Configuration items for the number of duplicate advertisers and the [all …]
|
/nrf52832-nimble/packages/NimBLE-latest/nimble/include/nimble/ |
H A D | hci_common.h | 8 * with the License. You may obtain a copy of the License at 10 * http://www.apache.org/licenses/LICENSE-2.0 14 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 33 * -> Opcode group field & Opcode command field (2) 34 * -> Parameter Length (1) 35 * Length of all the parameters (does not include any part of the hci 60 * Number of LE commands. NOTE: this is really just used to size the array 61 * containing the lengths of the LE commands. 65 /* List of OCF for Link Control commands (OGF=0x01) */ 69 /* List of OCF for Controller and Baseband commands (OGF=0x03) */ [all …]
|
/nrf52832-nimble/rt-thread/components/net/lwip-2.0.2/src/include/netif/ppp/ |
H A D | ppp.h | 2 * ppp.h - Network Point to Point Protocol header file. 12 * for any of the authorized uses. 16 * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. 19 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 21 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 22 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 23 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 28 * 03-01-01 Marc Boucher <[email protected]> 30 * 97-11-05 Guy Lancaster <[email protected]>, Global Election Systems Inc. 50 /* Disable non-working or rarely used PPP feature, so rarely that we don't want to bloat ppp_opts.h… [all …]
|
/nrf52832-nimble/rt-thread/components/net/lwip-2.1.0/src/include/netif/ppp/ |
H A D | ppp.h | 2 * ppp.h - Network Point to Point Protocol header file. 12 * for any of the authorized uses. 16 * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. 19 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 21 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 22 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 23 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 28 * 03-01-01 Marc Boucher <[email protected]> 30 * 97-11-05 Guy Lancaster <[email protected]>, Global Election Systems Inc. 54 /* Disable non-working or rarely used PPP feature, so rarely that we don't want to bloat ppp_opts.h… [all …]
|
/nrf52832-nimble/packages/NimBLE-latest/nimble/controller/include/controller/ |
H A D | ble_ll.h | 8 * with the License. You may obtain a copy of the License at 10 * http://www.apache.org/licenses/LICENSE-2.0 14 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 66 * should be a note in there that the converted usecs to ticks value of this 68 * value of settle time should be 31 usecs. I would suspect all settling times 98 * per controller although there may be many instances of the link layer state 109 /* Number of ACL data packets supported */ 132 /* Packet receive queue (and event). Holds received packets from PHY */ 143 /* Number of completed packets event */ 242 #define BLE_LL_CONN_CLEAR_FEATURE(connsm, feature) (connsm->conn_features &= ~(feature)) [all …]
|
/nrf52832-nimble/rt-thread/components/net/lwip-1.4.1/src/core/ |
H A D | dns.c | 3 * DNS - host name to IP address resolver. 14 * uIP version Copyright (c) 2002-2003, Adam Dunkels. 20 * 1. Redistributions of source code must retain the above copyright 21 * notice, this list of conditions and the following disclaimer. 23 * notice, this list of conditions and the following disclaimer in the 25 * 3. The name of the author may not be used to endorse or promote 31 * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 34 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE 35 * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 36 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, [all …]
|
/nrf52832-nimble/rt-thread/components/net/lwip-2.0.2/src/core/ |
H A D | dns.c | 3 * DNS - host name to IP address resolver. 11 * map it to a numerical IP address. It maintains a list of resolved 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 29 * chapter 5.1), this is not a fully compliant implementation of continuous 34 * @see @ref netconn_common for thread-safe access. 43 * uIP version Copyright (c) 2002-2003, Adam Dunkels. 49 * 1. Redistributions of source code must retain the above copyright 50 * notice, this list of conditions and the following disclaimer. [all …]
|
/nrf52832-nimble/rt-thread/components/net/lwip-2.1.0/src/core/ |
H A D | dns.c | 3 * DNS - host name to IP address resolver. 11 * map it to a numerical IP address. It maintains a list of resolved 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 29 * chapter 5.1), this is not a fully compliant implementation of continuous 36 * @see @ref netconn_common for thread-safe access. 45 * uIP version Copyright (c) 2002-2003, Adam Dunkels. 51 * 1. Redistributions of source code must retain the above copyright 52 * notice, this list of conditions and the following disclaimer. [all …]
|
/nrf52832-nimble/rt-thread/components/net/lwip-2.1.0/ |
H A D | CHANGELOG | 7 * [Enter new changes just after this line - do not remove this line] 9 (STABLE-2.1.0): 13 2018-06-17: Simon Goldschmidt 16 2018-04-23: Dirk Ziegelmeier 19 2018-03-04: Ray Abram 22 2018-02-23: Benjamin Aigner 23 * 6lowpan: add 6lowpan-over-BLE netif (based on existing 6lowpan netif) 25 2018-02-22: Simon Goldschmidt 28 2018-02-16: Simon Goldschmidt 31 2018-02-01: Simon Goldschmidt [all …]
|
/nrf52832-nimble/rt-thread/components/net/lwip-2.0.2/ |
H A D | CHANGELOG | 5 * [Enter new changes just after this line - do not remove this line] 7 (STABLE-2.0.2) 11 2017-02-10: Dirk Ziegelmeier 18 2017-03-08 21 2017-03-08: Joel Cunningham 24 2017-03-01: Simon Goldschmidt 25 * httpd: LWIP_HTTPD_POST_MANUAL_WND: fixed double-free when httpd_post_data_recved 28 2017-02-28: David van Moolenbroek/Simon Goldschmidt 31 2017-02-17: Simon Goldschmidt 34 2017-02-16: Simon Goldschmidt [all …]
|
/nrf52832-nimble/rt-thread/components/net/lwip-1.4.1/src/netif/ppp/ |
H A D | ppp.c | 2 * ppp.c - Network Point to Point Protocol program file. 12 * for any of the authorized uses. 16 * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. 19 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 21 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 22 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 23 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 28 * 03-01-01 Marc Boucher <[email protected]> 30 * 97-11-05 Guy Lancaster <[email protected]>, Global Election Systems Inc. 35 * ppp_defs.h - PPP definitions. [all …]
|
/nrf52832-nimble/rt-thread/components/net/lwip-2.1.0/src/apps/mdns/ |
H A D | mdns.c | 8 * RFC 6762 - Multicast DNS\n 9 * RFC 6763 - DNS-Based Service Discovery\n 14 * ------------------------- 16 * - Tiebreaking for simultaneous probing 17 * - Sending goodbye messages (zero ttl) - shutdown, DHCP lease about to expire, DHCP turned off... 18 * - Checking that source address of unicast requests are on the same network 19 * - Limiting multicast responses to 1 per second per resource record 20 * - Fragmenting replies if required 21 * - Handling multi-packet known answers 22 * - Individual known answer detection for all local IPv6 addresses [all …]
|
/nrf52832-nimble/rt-thread/ |
H A D | ChangeLog.md | 1 # RT-Thread v4.0.0 Change Log 6 * Add support for 64-bit processors; 7 * When the thread is running on CPU, the state of this thread is changed to RUNNING stat instead of… 14 * Fix the `fd_is_open()` issue: when the sub-path is the same in different mounted filesystem. 15 * Change the critical lock/unlock to dfs_lock/unlock in `getcwd()` function of DFS (the critical lo… 16 * Rewrite `list_thread/list_*` implementation of finsh cmd to avoid multi-core competition case; 27 * Fix the length issue of `ulog_strcpy`, which should be not exceed `ULOG_LINE_BUF_SIZE`; 28 * Add the macro definition of hexadecimal log output to ulog; (HubretXie) 29 * Add uTest component. The uTest is a unit test framework on RT-Thread, and can also be used for au… 37 * Add QSPI support in SFUD (based on the QSPI peripheral of stm32); SFUD is upgraded to version 1.1… [all …]
|