/nrf52832-nimble/packages/NimBLE-latest/porting/nimble/include/hal/ |
H A D | hal_timer.h | 10 * http://www.apache.org/licenses/LICENSE-2.0 73 * Un-initialize a HW timer. 75 * @param timer_num The number of the HW timer to un-initialize 86 * @return 0 on success, non-zero error code on failure 117 * @return 0 on success, non-zero error code on failure 130 * @return 0 on success, non-zero error code on failure. 141 * @return 0 on success, non-zero error code on failure. 153 * @return 0 on success, non-zero error code on failure.
|
/nrf52832-nimble/rt-thread/components/net/lwip-2.1.0/src/apps/snmp/ |
H A D | snmp_mib2_system.c | 57 /* --- system .1.3.6.1.2.1.1 ----------------------------------------------------- */ 59 /** mib-2.system.sysDescr */ 64 /** mib-2.system.sysContact */ 72 /** mib-2.system.sysName */ 80 /** mib-2.system.sysLocation */ 92 * @param str if non-NULL then copy str pointer 93 * @param len points to string length, excluding zero terminator 108 * @param ocstr if non-NULL then copy str pointer 109 * @param ocstrlen points to string length, excluding zero terminator. 110 * if set to NULL it is assumed that ocstr is NULL-terminated. [all …]
|
H A D | snmp_msg.h | 34 * Martin Hentschel <info@cl-soft.de> 89 /* community name (zero terminated) */ 91 /* community string length (exclusive zero term) */ 101 /* non-repeaters (getBulkRequest (SNMPv2c)) */ 103 /* max-repetitions (getBulkRequest (SNMPv2c)) */ 106 /* Usually response-pdu (2). When snmpv3 errors are detected report-pdu(8) */
|
/nrf52832-nimble/rt-thread/components/net/lwip-2.0.2/src/apps/snmp/ |
H A D | snmp_mib2_system.c | 57 /* --- system .1.3.6.1.2.1.1 ----------------------------------------------------- */ 59 /** mib-2.system.sysDescr */ 64 /** mib-2.system.sysContact */ 72 /** mib-2.system.sysName */ 80 /** mib-2.system.sysLocation */ 92 * @param str if non-NULL then copy str pointer 93 * @param len points to string length, excluding zero terminator 108 * @param ocstr if non-NULL then copy str pointer 109 * @param ocstrlen points to string length, excluding zero terminator. 110 * if set to NULL it is assumed that ocstr is NULL-terminated. [all …]
|
H A D | snmp_msg.h | 34 * Martin Hentschel <info@cl-soft.de> 102 /* community name (zero terminated) */ 104 /* community string length (exclusive zero term) */ 114 /* non-repeaters (getBulkRequest (SNMPv2c)) */ 116 /* max-repetitions (getBulkRequest (SNMPv2c)) */
|
/nrf52832-nimble/rt-thread/components/drivers/include/drivers/ |
H A D | serial.h | 2 * Copyright (c) 2006-2018, RT-Thread Development Team 4 * SPDX-License-Identifier: Apache-2.0 8 * 2012-05-15 lgnq first version. 9 * 2012-05-28 bernard change interfaces 10 * 2013-02-20 bernard use RT_SERIAL_RB_BUFSZ to define 54 #define NRZ_NORMAL 0 /* Non Return to Zero : normal mode */ 55 #define NRZ_INVERTED 1 /* Non Return to Zero : inverted mode */
|
/nrf52832-nimble/nordic/nrfx/hal/ |
H A D | nrf_spu.h | 64 /** @brief SPU Non-Secure Callable (NSC) region size. */ 67 NRF_SPU_NSC_SIZE_DISABLED = 0, ///< Not defined as a non-secure callable region. 68 NRF_SPU_NSC_SIZE_32B = 1, ///< Non-Secure Callable region with a 32-byte size 69 NRF_SPU_NSC_SIZE_64B = 2, ///< Non-Secure Callable region with a 64-byte size 70 NRF_SPU_NSC_SIZE_128B = 3, ///< Non-Secure Callable region with a 128-byte size 71 NRF_SPU_NSC_SIZE_256B = 4, ///< Non-Secure Callable region with a 256-byte size 72 NRF_SPU_NSC_SIZE_512B = 5, ///< Non-Secure Callable region with a 512-byte size 73 NRF_SPU_NSC_SIZE_1024B = 6, ///< Non-Secure Callable region with a 1024-byte size 74 NRF_SPU_NSC_SIZE_2048B = 7, ///< Non-Secure Callable region with a 2048-byte size 75 NRF_SPU_NSC_SIZE_4096B = 8 ///< Non-Secure Callable region with a 4096-byte size [all …]
|
/nrf52832-nimble/rt-thread/components/net/lwip-1.4.1/doc/ |
H A D | sys_arch.txt | 24 Semaphores can be either counting or binary - lwIP works with both 27 mailbox, or as a rendez-vous point where only one message can be 44 - void sys_init(void) 48 - err_t sys_sem_new(sys_sem_t *sem, u8_t count) 58 - void sys_sem_free(sys_sem_t *sem) 62 - void sys_sem_signal(sys_sem_t *sem) 66 - u32_t sys_arch_sem_wait(sys_sem_t *sem, u32_t timeout) 69 signaled. If the "timeout" argument is non-zero, the thread should 71 milliseconds). If the "timeout" argument is zero, the thread should be 74 If the timeout argument is non-zero, the return value is the number of [all …]
|
/nrf52832-nimble/rt-thread/components/dfs/filesystems/jffs2/cyg/compress/include/ |
H A D | zlib.h | 1 /* zlib.h -- interface of the 'zlib' general purpose compression library 4 Copyright (C) 1995-2005 Jean-loup Gailly and Mark Adler 6 This software is provided 'as-is', without any express or implied 22 Jean-loup Gailly Mark Adler 44 The 'zlib' compression library provides in-memory compression and 56 The compressed data format used by default by the in-memory functions is 68 and on communications channels. The gzip format was designed for single- 117 Bytef *name; /* pointer to zero-terminated file name or Z_NULL */ 119 Bytef *comment; /* pointer to zero-terminated comment or Z_NULL */ 130 dropped to zero. It must update next_out and avail_out when avail_out [all …]
|
/nrf52832-nimble/rt-thread/components/dfs/filesystems/jffs2/cyg/compress/ |
H A D | zlib.h | 1 /* zlib.h -- interface of the 'zlib' general purpose compression library 4 Copyright (C) 1995-2005 Jean-loup Gailly and Mark Adler 6 This software is provided 'as-is', without any express or implied 22 Jean-loup Gailly Mark Adler 44 The 'zlib' compression library provides in-memory compression and 56 The compressed data format used by default by the in-memory functions is 68 and on communications channels. The gzip format was designed for single- 117 Bytef *name; /* pointer to zero-terminated file name or Z_NULL */ 119 Bytef *comment; /* pointer to zero-terminated comment or Z_NULL */ 130 dropped to zero. It must update next_out and avail_out when avail_out [all …]
|
/nrf52832-nimble/packages/NimBLE-latest/nimble/host/services/ans/src/ |
H A D | ble_svc_ans.c | 10 * http://www.apache.org/licenses/LICENSE-2.0 162 uuid16 = ble_uuid_u16(ctxt->chr->uuid); in ble_svc_ans_access() 167 assert(ctxt->op == BLE_GATT_ACCESS_OP_READ_CHR); in ble_svc_ans_access() 168 rc = os_mbuf_append(ctxt->om, &ble_svc_ans_new_alert_cat, in ble_svc_ans_access() 173 if (ctxt->op == BLE_GATT_ACCESS_OP_WRITE_CHR) { in ble_svc_ans_access() 174 rc = ble_svc_ans_chr_write(ctxt->om, 0, in ble_svc_ans_access() 180 } else if (ctxt->op == BLE_GATT_ACCESS_OP_READ_CHR) { in ble_svc_ans_access() 181 rc = os_mbuf_append(ctxt->om, &ble_svc_ans_new_alert_val, in ble_svc_ans_access() 189 assert(ctxt->op == BLE_GATT_ACCESS_OP_READ_CHR); in ble_svc_ans_access() 190 rc = os_mbuf_append(ctxt->om, &ble_svc_ans_unr_alert_cat, in ble_svc_ans_access() [all …]
|
/nrf52832-nimble/rt-thread/components/net/lwip-2.0.2/doc/ |
H A D | sys_arch.txt | 24 Semaphores can be either counting or binary - lwIP works with both 26 to be posted (implementing as a rendez-vous point where only one message can be 43 - void sys_init(void) 47 - err_t sys_sem_new(sys_sem_t *sem, u8_t count) 57 - void sys_sem_free(sys_sem_t *sem) 61 - void sys_sem_signal(sys_sem_t *sem) 65 - u32_t sys_arch_sem_wait(sys_sem_t *sem, u32_t timeout) 68 signaled. If the "timeout" argument is non-zero, the thread should 70 milliseconds). If the "timeout" argument is zero, the thread should be 73 If the timeout argument is non-zero, the return value is the number of [all …]
|
/nrf52832-nimble/rt-thread/components/net/uip/uip/ |
H A D | uip-fw.h | 44 * $Id: uip-fw.h,v 1.2 2006/06/12 08:00:30 adam Exp $ 96 do { (netif)->ipaddr[0] = ((u16_t *)(addr))[0]; \ 97 (netif)->ipaddr[1] = ((u16_t *)(addr))[1]; } while(0) 108 do { (netif)->netmask[0] = ((u16_t *)(addr))[0]; \ 109 (netif)->netmask[1] = ((u16_t *)(addr))[1]; } while(0) 120 * A non-error message that indicates that a packet should be 128 * A non-error message that indicates that something went OK. 135 * A non-error message that indicates that a packet was forwarded. 142 * A non-error message that indicates that a zero-length packet
|
H A D | uip.h | 20 * Copyright (c) 2001-2003, Adam Dunkels. 70 /*---------------------------------------------------------------------------*/ 80 * The uIP configuration functions are used for setting run-time 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 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)) { 247 } else if(BUF->type == HTONS(UIP_ETHTYPE_ARP)) { 269 * variable is set to a value larger than zero. The device driver [all …]
|
H A D | uiplib.h | 55 * the form a.b.c.d and converts it into a 4-byte array that can be 61 * \param addr A pointer to a 4-byte array that will be filled in with 65 * \retval Non-zero If the IP address was parsed.
|
/nrf52832-nimble/rt-thread/components/net/lwip-1.4.1/src/core/ |
H A D | raw.c | 3 * Implementation of raw protocol PCBs for low-level handling of 10 * Copyright (c) 2001-2004 Swedish Institute of Computer Science. 60 * and if so, pass it to a user-provided receive callback function. 68 * @return - 1 if the packet has been eaten by a RAW PCB receive 71 * @return - 0 if packet is not eaten (pbuf is still referenced by the 85 iphdr = (struct ip_hdr *)p->payload; in raw_input() 93 if ((pcb->protocol == proto) && in raw_input() 94 (ip_addr_isany(&pcb->local_ip) || in raw_input() 95 ip_addr_cmp(&(pcb->local_ip), ¤t_iphdr_dest))) { in raw_input() 102 if (pcb->recv != NULL) { in raw_input() [all …]
|
/nrf52832-nimble/rt-thread/components/net/lwip-2.1.0/src/core/ |
H A D | def.c | 19 * @defgroup sys_nonstandard Non-standard functions 21 * lwIP provides default implementations for non-standard functions. 30 * Copyright (c) 2001-2004 Swedish Institute of Computer Science. 70 * Convert an u16_t from host- to network byte order. 84 * Convert an u32_t from host- to network byte order. 101 * lwIP default implementation for strnstr() non-standard function. 124 * lwIP default implementation for stricmp() non-standard function. 159 * lwIP default implementation for strnicmp() non-standard function. 186 len--; in lwip_strnicmp() 195 * lwIP default implementation for itoa() non-standard function. [all …]
|
H A D | pbuf.c | 28 * The last pbuf of a packet has a ->tot_len field that equals the 29 * ->len field. It can be found by traversing the list. If the last 30 * pbuf of a packet has a ->next field other than NULL, more packets 34 * loop end condition (tot_len == p->len), NOT (next == NULL). 40 * Copyright (c) 2001-2004 Swedish Institute of Computer Science. 117 * Attempt to reclaim some memory from queued out-of-sequence TCP segments 133 for (pcb = tcp_active_pcbs; NULL != pcb; pcb = pcb->next) { in pbuf_free_ooseq() 134 if (pcb->ooseq != NULL) { in pbuf_free_ooseq() 136 … LWIP_DEBUGF(PBUF_DEBUG | LWIP_DBG_TRACE, ("pbuf_free_ooseq: freeing out-of-sequence pbufs\n")); in pbuf_free_ooseq() 181 p->next = NULL; in pbuf_init_alloced_pbuf() [all …]
|
/nrf52832-nimble/rt-thread/components/dfs/filesystems/jffs2/cyg/compress/src/ |
H A D | trees.c | 1 /* trees.c -- output deflated data using Huffman coding 2 * Copyright (C) 1995-2005 Jean-loup Gailly 21 * Available in ftp.uu.net:/pub/archiving/zip/doc/deflate-1.1.doc 24 * Data Compression: Methods and Theory, pp. 49-50. 25 * Computer Science Press, 1988. ISBN 0-7167-8156-5. 29 * Addison-Wesley, 1983. ISBN 0-201-06672-6. 53 /* repeat previous bit length 3-6 times (2 bits of repeat count) */ 56 /* repeat a zero length 3-10 times (3 bits of repeat count) */ 59 /* repeat a zero length 11-138 times (7 bits of repeat count) */ 88 /* non ANSI compilers may not accept trees.h */ [all …]
|
/nrf52832-nimble/rt-thread/src/ |
H A D | slab.c | 2 * Copyright (c) 2006-2018, RT-Thread Development Team 4 * SPDX-License-Identifier: Apache-2.0 12 * 2008-07-12 Bernard the first version 13 * 2010-07-13 Bernard fix RT_ALIGN issue found by kuronca 14 * 2010-10-23 yi.qiu add module memory allocator 15 * 2010-12-18 yi.qiu fix zone release bug 19 * KERN_SLABALLOC.C - Kernel SLAB memory allocator 110 * to a fixed worst-case amount. 119 * Slab management is done on a per-cpu basis and no locking or mutexes 134 * 0-127 8 16 [all …]
|
/nrf52832-nimble/packages/NimBLE-latest/nimble/controller/ |
H A D | syscfg.yml | 9 # http://www.apache.org/licenses/LICENSE-2.0 187 The settling time of the high-frequency oscillator. This is 236 minor impact on code size and non on RAM. 283 used by the controller. If all zero, the controller will 285 chip specific location. If non-zero, this address will 296 This options enables controller to send a vendor-specific event on
|
/nrf52832-nimble/packages/NimBLE-latest/porting/nimble/include/os/ |
H A D | os_mbuf.h | 10 * http://www.apache.org/licenses/LICENSE-2.0 41 * and the amount of "user" data in a non-packet header mbuf. The total pool 132 ((__om)->om_pkthdr_len >= sizeof (struct os_mbuf_pkthdr)) 136 ((uint8_t *)&(__om)->om_data + sizeof(struct os_mbuf))) 140 (struct os_mbuf *)((uint8_t *)(__hdr) - sizeof(struct os_mbuf)) 146 #define OS_MBUF_PKTLEN(__om) (OS_MBUF_PKTHDR(__om)->omp_len) 155 (__type) ((__om)->om_data) 172 ((om)->om_pkthdr_len - sizeof (struct os_mbuf_pkthdr)) 188 startoff = om->om_pkthdr_len; in _os_mbuf_leadingspace() 191 leadingspace = (uint16_t) (OS_MBUF_DATA(om, uint8_t *) - in _os_mbuf_leadingspace() [all …]
|
/nrf52832-nimble/rt-thread/components/net/lwip-1.4.1/src/api/ |
H A D | netdb.c | 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 152 * @param buf pre-allocated buffer where to store additional data 155 * and set to zero on error 158 * @return 0 on success, non-zero on error, additional error information 159 * is stored in *h_errnop instead of h_errno to be thread-safe [all …]
|
/nrf52832-nimble/nordic/nrfx/templates/ |
H A D | nrfx_glue.h | 2 * Copyright (c) 2017 - 2018, Nordic Semiconductor ASA 62 //------------------------------------------------------------------------------ 78 //------------------------------------------------------------------------------ 144 //------------------------------------------------------------------------------ 147 * @brief When set to a non-zero value, this macro specifies that 148 * @ref nrfx_coredep_delay_us uses a precise DWT-based solution. 161 //------------------------------------------------------------------------------ 164 * @brief Atomic 32-bit unsigned type. 232 //------------------------------------------------------------------------------ 235 * @brief When set to a non-zero value, this macro specifies that the [all …]
|
/nrf52832-nimble/rt-thread/include/ |
H A D | rtdebug.h | 2 * Copyright (c) 2006-2018, RT-Thread Development Team 4 * SPDX-License-Identifier: Apache-2.0 33 /* Turn on some of these (set to non-zero) to debug kernel */
|