/nrf52832-nimble/nordic/nrfx/soc/ |
H A D | nrfx_atomic.h | 64 * @brief Function for storing a value to an atomic object and returning its previous value. 74 * @brief Function for storing a value to an atomic object and returning its new value. 84 * @brief Function for running a logical OR operation on an atomic object 95 * @brief Function for running a logical OR operation on an atomic object 106 * @brief Function for running a logical AND operation on an atomic object 117 * @brief Function for running a logical AND operation on an atomic object 128 * @brief Function for running a logical XOR operation on an atomic object 139 * @brief Function for running a logical XOR operation on an atomic object 150 * @brief Function for running an arithmetic ADD operation on an atomic object 161 * @brief Function for running an arithmetic ADD operation on an atomic object [all …]
|
/nrf52832-nimble/rt-thread/examples/ulog/ |
H A D | ulog_example.c | 34 LOG_D("LOG_D(%d): RT-Thread is an open source IoT operating system from China.", count); in ulog_example() 35 LOG_I("LOG_I(%d): RT-Thread is an open source IoT operating system from China.", count); in ulog_example() 36 LOG_W("LOG_W(%d): RT-Thread is an open source IoT operating system from China.", count); in ulog_example() 37 LOG_E("LOG_E(%d): RT-Thread is an open source IoT operating system from China.", count); in ulog_example() 38 … ulog_d("test", "ulog_d(%d): RT-Thread is an open source IoT operating system from China.", count); in ulog_example() 39 … ulog_i("test", "ulog_i(%d): RT-Thread is an open source IoT operating system from China.", count); in ulog_example() 40 … ulog_w("test", "ulog_w(%d): RT-Thread is an open source IoT operating system from China.", count); in ulog_example() 41 … ulog_e("test", "ulog_e(%d): RT-Thread is an open source IoT operating system from China.", count); in ulog_example() 69 …syslog(LOG_INFO, "syslog(%d) LOG_INFO: RT-Thread is an open source IoT operating system from China… in ulog_example() 70 …syslog(LOG_DEBUG, "syslog(%d) LOG_DEBUG: RT-Thread is an open source IoT operating system from Chi… in ulog_example() [all …]
|
/nrf52832-nimble/rt-thread/components/net/lwip-1.4.1/src/core/snmp/ |
H A D | mib_structs.c | 463 struct mib_array_node *an; in snmp_search_tree() local 469 an = (struct mib_array_node *)node; in snmp_search_tree() 471 while ((i < an->maxlength) && (an->objid[i] != *ident)) in snmp_search_tree() 475 if (i < an->maxlength) in snmp_search_tree() 478 …LWIP_DEBUGF(SNMP_MIB_DEBUG,("an->objid[%"U16_F"]==%"S32_F" *ident==%"S32_F"\n",i,an->objid[i],*ide… in snmp_search_tree() 479 if (an->nptr[i] == NULL) in snmp_search_tree() 485 return (struct mib_node*)an; in snmp_search_tree() 492 node = an->nptr[i]; in snmp_search_tree() 498 LWIP_DEBUGF(SNMP_MIB_DEBUG,("an search failed *ident==%"S32_F"\n",*ident)); in snmp_search_tree() 505 LWIP_DEBUGF(SNMP_MIB_DEBUG,("an search failed, short object identifier\n")); in snmp_search_tree() [all …]
|
/nrf52832-nimble/packages/NimBLE-latest/nimble/host/src/ |
H A D | ble_hs_mbuf.c | 13 * software distributed under the License is distributed on an 24 * Allocates an mbuf for use by the nimble host. 49 * Allocates an mbuf with no leading space. 51 * @return An empty mbuf on success; null on memory 61 * Allocates an mbuf suitable for an HCI ACL data packet. 63 * @return An empty mbuf on success; null on memory 73 * Allocates an mbuf suitable for an L2CAP data packet. The resulting packet 78 * @return An empty mbuf on success; null on memory
|
/nrf52832-nimble/nordic/nrfx/drivers/include/ |
H A D | nrfx_ppi.h | 184 * @retval NRFX_ERROR_INVALID_PARAM If group is not an application group or channels are not an 186 * @retval NRFX_ERROR_INVALID_STATE If group is not an allocated group. 198 * @retval NRFX_ERROR_INVALID_PARAM If group is not an application group or channel is not an 200 * @retval NRFX_ERROR_INVALID_STATE If group is not an allocated group. 215 * @retval NRFX_ERROR_INVALID_PARAM If group is not an application group or channels are not an 217 * @retval NRFX_ERROR_INVALID_STATE If group is not an allocated group. 229 * @retval NRFX_ERROR_INVALID_PARAM If group is not an application group or channel is not an 231 * @retval NRFX_ERROR_INVALID_STATE If group is not an allocated group. 245 * @retval NRFX_ERROR_INVALID_PARAM If group is not an application group. 246 * @retval NRFX_ERROR_INVALID_STATE If group is not an allocated group. [all …]
|
/nrf52832-nimble/rt-thread/components/libc/aio/ |
H A D | posix_aio.c | 65 * aiocb structure referenced by the aiocbp argument. The error status for an 103 * The aiocbp argument refers to an asynchronous I/O control block. The aiocbp 104 * value may be used as an argument to aio_error() and aio_return() in order to 114 * block referenced by aiocbp becomes an illegal address prior to asynchronous 117 * If the aio_fsync() function fails or aiocbp indicates an error condition, 192 * The aiocbp value may be used as an argument to aio_error() and aio_return() 194 * the asynchronous operation while it is proceeding. If an error condition is 198 * immediately prior to the operation with an offset equal to aio_offset and a 199 * whence equal to SEEK_SET. After a successful call to enqueue an asynchronous 207 * The aiocbp argument points to an aiocb structure. If the buffer pointed to by [all …]
|
/nrf52832-nimble/packages/NimBLE-latest/porting/nimble/include/os/ |
H A D | os_mbuf.h | 13 * software distributed under the License is distributed on an 134 /** Get a packet header pointer given an mbuf pointer */ 143 * Gets the length of an entire mbuf chain. The specified mbuf must have a 158 * Access the "user header" in the head of an mbuf chain. 160 * @param om Pointer to the head of an mbuf chain. 167 * Retrieves the length of the user header in an mbuf. 241 * Initializes an mqueue. An mqueue is a queue of mbufs that ties to a 243 * paradigm: wait on an event queue until at least one packet is available, 246 * When mbufs are available on the queue, an event OS_EVENT_T_MQUEUE_DATA 262 * @param mq The mbuf queue to pull an element off of. [all …]
|
/nrf52832-nimble/packages/NimBLE-latest/nimble/host/mesh/src/ |
H A D | atomic.h | 29 * This routine performs an atomic compare-and-set on @a target. If the current 51 * This routine performs an atomic addition on @a target. 67 * This routine performs an atomic subtraction on @a target. 84 * This routine performs an atomic increment by 1 on @a target. 100 * This routine performs an atomic decrement by 1 on @a target. 116 * This routine performs an atomic read on @a target. 144 * test-and-set operation, but rather an atomic exchange operation. It in atomic_set() 240 * @brief Initialize an atomic variable. 242 * This macro can be used to initialize an atomic variable. For example, 262 * @brief Define an array of atomic variables. [all …]
|
/nrf52832-nimble/rt-thread/components/net/uip/doc/ |
H A D | uip-doc.txt | 34 directly to an intranet or even the global Internet. Embedded devices 96 communication between the application and the networking stack. An 98 option in any segment" and an example of the second kind is "There 156 for an architecture specific implementation of the two functions 172 having an architecture specific implementation of the uip_add32() 240 support from an underlying multitasking operating system. Since the 257 The "raw" uIP API uses an event driven interface where the application is 258 invoked in response to certain events. An application running on top 277 the data has to be buffered in memory while waiting for an 285 uIP requires that the application takes an active part in performing [all …]
|
/nrf52832-nimble/rt-thread/components/net/lwip-2.1.0/doc/doxygen/ |
H A D | main_page.h | 29 * programs. In fact, the sequential API is implemented as an application 50 * closed, etc. An application can provide a callback function to perform 51 * processing for any or all of these events. Each callback is an ordinary 53 * function is passed the current TCP or UDP connection state as an 57 * The raw API (sometimes called native API) is an event-driven API designed 58 * to be used without an operating system that implements zero-copy send and 61 * without an operating system. 136 * running on target system) or @ref lwip_os (there is an OS running 159 * mainloop. Ensure lwIP is _NEVER_ called from an interrupt, e.g. 172 * Again, ensure lwIP is _NEVER_ called from an interrupt, e.g. [all …]
|
/nrf52832-nimble/rt-thread/components/net/lwip-2.1.0/ |
H A D | UPGRADING | 2 ports or applications to be changed. Use it to update a port or an 3 application written for an older version of lwIP to correctly work 21 * pbuf API: pbuf->type (an u8_t holding the enum 'pbuf_type') has changed to only hold a 28 * httpd LWIP_HTTPD_CGI_SSI: httpd_cgi_handler() has an additional parameter "struct fs_file *" 43 These can be used to post preallocated messages from an ISR to the tcpip thread 51 supported any more, netif->state is interpreted as an u8_t port number now 52 (it's not a POINTER to an u8_t any more!) 58 * UDP does NOT receive multicast traffic from ALL netifs on an UDP PCB bound to a specific 61 See bug #49662 for an explanation. 67 …* Changed netif "up" flag handling to be an administrative flag (as opposed to the previous meanin… [all …]
|
/nrf52832-nimble/packages/NimBLE-latest/apps/blemesh_models_example_1/ |
H A D | README.md | 10 Prior to provisioning, an unprovisioned beacon is broadcast that contains 23 also publish its status on an onoff state change. 25 If a button is pressed only once within a 1 second interval, it sends an 27 sends an "off" message. The buttons are quite noisy and are debounced in 28 the button_pressed() interrupt handler. An interrupt within 250ms of the 43 would expect with an actual switch. 45 Provisioning is done using the BlueZ meshctl utility. Below is an example that
|
/nrf52832-nimble/rt-thread/components/net/uip/uip/ |
H A D | uip_arp.h | 78 /* The uip_arp_ipin() function should be called whenever an IP packet 80 inserts a new mapping if none exists. The function assumes that an 81 IP packet with an Ethernet header is present in the uip_buf buffer 86 /* The uip_arp_arpin() should be called when an ARP packet is received 94 /* The uip_arp_out() function should be called when an IP packet 95 should be sent out on the Ethernet. This function creates an 98 address filled in if an ARP table entry for the destination IP 100 such table entry is found, the IP packet is overwritten with an ARP
|
H A D | uip_arp.c | 161 /* Walk through the ARP mapping table and try to find an entry to in uip_arp_update() 176 /* An old entry found, update this and return. */ in uip_arp_update() 188 /* First, we try to find an unused entry in the ARP table. */ in uip_arp_update() 223 * This function should be called by the device driver when an IP 228 * This function expects an IP packet with a prepended Ethernet header 239 /* Only insert/update an entry if the source IP address of the 258 * This function should be called by the device driver when an ARP 262 * the values from the ARP reply. If the incoming ARP packet is an ARP 263 * request for our IP address, an ARP reply packet is created and put 272 * This function expects an ARP packet with a prepended Ethernet [all …]
|
/nrf52832-nimble/packages/NimBLE-latest/docs/ble_hs/ |
H A D | ble_att.rst | 8 an ATT client reads or writes an attribute belonging to an ATT server. Any device that needs to sen… 12 Most ATT functionality is not interesting to an application. Rather than use ATT directly, an appli…
|
/nrf52832-nimble/rt-thread/components/net/lwip-2.1.0/src/include/lwip/ |
H A D | ip6_zone.h | 7 * as per RFC 4007. An address scope can be either global or more constrained. 8 * In lwIP, we say that an address "has a scope" or "is scoped" when its scope 20 * In lwIP, each IPv6 address has an associated zone index. This zone index may 21 * be set to "no zone" (IP6_NO_ZONE, 0) or an actual zone. We say that an 25 * is a rule that an unscoped (e.g., global) address must never have a zone. 114 /** Set the zone field of an IPv6 address to a particular value. */ 117 /** Clear the zone field of an IPv6 address, setting it to "no zone". */ 150 * Should an implementation desire to implement a different policy, it can 161 * Determine whether an IPv6 address has a constrained scope, and as such is 169 * Even though the unicast loopback address does have an implied link-local [all …]
|
/nrf52832-nimble/packages/NimBLE-latest/nimble/host/include/host/ |
H A D | ble_hs_mbuf.h | 13 * software distributed under the License is distributed on an 38 * Allocates an mbuf suitable for an ATT command packet. The resulting packet 44 * @return An empty mbuf on success, NULLl on error. 49 * Allocates an mbuf and fills it with the contents of the specified flat 60 * Copies the contents of an mbuf into the specified flat buffer. If the flat
|
H A D | ble_store.h | 13 * software distributed under the License is distributed on an 124 * Used as a key for store lookups. This union must be accompanied by an 133 * Represents stored data. This union must be accompanied by an object type 182 * Searches the store for an object matching the specified criteria. If a 189 * for. An object is retrieved if it matches 194 * @return 0 if an object was successfully retreived; 202 * Writes the specified object to the store. If an object with the same 223 * for. An object is deleted if it matches 225 * @return 0 if an object was successfully retreived; 232 * Indicates an inability to perform a store operation. This callback should
|
/nrf52832-nimble/rt-thread/components/net/lwip-2.0.2/doc/ |
H A D | rawapi.txt | 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 15 without an operating system. 44 other threads or an ISR is very limited! Only functions 67 an ISR (since only then, mem_free - for PBUF_RAM - may 68 be called from an ISR: otherwise, the HEAP is only 90 programs. In fact, the sequential API is implemented as an application 109 closed, etc. An application can provide a callback function to perform 110 processing for any or all of these events. Each callback is an ordinary 112 function is passed the current TCP or UDP connection state as an [all …]
|
/nrf52832-nimble/packages/NimBLE-latest/ext/tinycrypt/documentation/ |
H A D | tinycrypt.rst | 8 The TinyCrypt Library provides an implementation for targeting constrained devices 126 2^64 bits, which is an extremely large window. 145 * Before using HMAC-PRNG, you *must* find an entropy source to produce a seed. 170 * Before using CTR-PRNG, you *must* find an entropy source to produce a seed. 184 attacks. Note however that an external attacker cannot generate the tags 186 collision property of AES128-CMAC, an external attacker would need the 187 cooperation of the legal user to produce an exponentially high number of 189 from them. As an extra precaution, the current implementation allows to at 211 The mac size parameter is an important parameter to estimate the security 227 * Non-empty associated data and empty payload (it degenerates to an [all …]
|
/nrf52832-nimble/packages/NimBLE-latest/nimble/include/nimble/ |
H A D | ble_hci_trans.h | 13 * software distributed under the License is distributed on an 41 * are no free low-priority event buffers, then an incoming advertising report 70 * Sends an HCI event from the controller to the host. 91 * Sends an HCI command from the host to the controller. 131 * Configures a callback to get executed whenever an ACL data packet is freed. 135 * @param arg An optional argument to pass to the callback. 147 * @param cmd_cb The callback to execute upon receiving an HCI 165 * @param cmd_cb The callback to execute upon receiving an HCI
|
/nrf52832-nimble/rt-thread/components/drivers/usb/usbdevice/core/ |
H A D | core.c | 199 … a request for an other_speed_configuration descriptor unless it first successfully retrieves the in _get_descriptor() 395 /* first disable then enable an endpoint */ in _set_config() 985 * This function will create an usb device object. 989 * @return an usb device object on success, RT_NULL on fail. 1059 * This function will set an usb controller driver to a device. 1079 * This function will set an usb device descriptor to a device. 1099 * This function will create an usb configuration object. 1103 * @return an usb configuration object. 1134 * This function will create an usb interface object. 1139 * @return an usb interface object on success, RT_NULL on fail. [all …]
|
/nrf52832-nimble/rt-thread/components/dfs/filesystems/nfs/rpc/ |
H A D | rpc_msg.h | 57 * Bottom up definition of an rpc message. 87 * Reply part of an rpc exchange 91 * Reply to an rpc request that was accepted by the server. 92 * Note: there could be an error even though the request was 114 * Reply to an rpc request that was rejected by the server. 130 * Body of a reply to an rpc request. 143 * Body of an rpc request call.
|
/nrf52832-nimble/rt-thread/components/net/lwip-2.1.0/src/core/ipv6/ |
H A D | icmp6.c | 74 * Process an input ICMPv6 message. Called by ip6_input. 210 * Send an icmpv6 'destination unreachable' packet. 226 * Send an icmpv6 'packet too big' packet. 242 * Send an icmpv6 'time exceeded' packet. 258 * Send an icmpv6 'time exceeded' packet, with explicit source and destination 280 * Send an icmpv6 'parameter problem' packet. 299 * Send an ICMPv6 packet in response to an incoming packet. 317 /* Select an address to use as source. */ in icmp6_send_response() 327 * Send an ICMPv6 packet in response to an incoming packet. 329 * Call this function if the packet is NOT sent as a direct response to an [all …]
|
/nrf52832-nimble/rt-thread/components/net/lwip-2.0.2/doc/doxygen/ |
H A D | main_page.h | 49 * running on target system) or @ref lwip_os (there is an OS running 70 * mainloop. Ensure lwIP is _NEVER_ called from an interrupt, e.g. 83 * Again, ensure lwIP is _NEVER_ called from an interrupt, e.g. 92 * These macros cannot be used in an interrupt context! 106 * Use this mode if you do not run an OS on your system. \#define NO_SYS to 1. 121 * Use this mode if you run an OS on your system. It is recommended to 122 * use an RTOS that correctly handles priority inversion and
|