[−][src]Crate apache_nimble_sys
Re-exports
pub use self::ble_npl_error as ble_npl_error_t; |
pub use self::os_error as os_error_t; |
Structs
Constants
Statics
ble_hs_cfg | |
g_dev_addr | |
g_random_addr | |
stderr | |
stdin | |
stdout | |
sys_errlist | |
sys_nerr |
Functions
__assert⚠ | |
__assert_fail⚠ | |
__assert_perror_fail⚠ | |
__getdelim⚠ | |
__overflow⚠ | |
__stpcpy⚠ | |
__stpncpy⚠ | |
__strtok_r⚠ | |
__uflow⚠ | |
bcmp⚠ | |
bcopy⚠ | |
ble_att_mtu⚠ | Retrieves the ATT MTU of the specified connection. If an MTU exchange for this connection has occurred, the MTU is the lower of the two peers' preferred values. Otherwise, the MTU is the default value of 23. |
ble_att_preferred_mtu⚠ | Retrieves the preferred ATT MTU. This is the value indicated by the device during an ATT MTU exchange. |
ble_att_set_preferred_mtu⚠ | Sets the preferred ATT MTU; the device will indicate this value in all subsequent ATT MTU exchanges. The ATT MTU of a connection is equal to the lower of the two peers' preferred MTU values. The ATT MTU is what dictates the maximum size of any message sent during a GATT procedure. |
ble_att_svr_read_local⚠ | Reads a locally registered attribute. If the specified attribute handle corresponds to a GATT characteristic value or descriptor, the read is performed by calling the registered GATT access callback. |
ble_att_svr_write_local⚠ | Writes a locally registered attribute. This function consumes the supplied mbuf regardless of the outcome. If the specified attribute handle corresponds to a GATT characteristic value or descriptor, the write is performed by calling the registered GATT access callback. |
ble_eddystone_set_adv_data_uid⚠ | Configures the device to advertise Eddystone UID beacons. |
ble_eddystone_set_adv_data_url⚠ | Configures the device to advertise Eddystone URL beacons. |
ble_gap_adv_active⚠ | Indicates whether an advertisement procedure is currently in progress. |
ble_gap_adv_rsp_set_data⚠ | Configures the data to include in subsequent scan responses. |
ble_gap_adv_rsp_set_fields⚠ | Configures the fields to include in subsequent scan responses. This is a convenience wrapper for ble_gap_adv_rsp_set_data(). |
ble_gap_adv_set_data⚠ | Configures the data to include in subsequent advertisements. |
ble_gap_adv_set_fields⚠ | Configures the fields to include in subsequent advertisements. This is a convenience wrapper for ble_gap_adv_set_data(). |
ble_gap_adv_start⚠ | @brief Start advertising |
ble_gap_adv_stop⚠ | Stops the currently-active advertising procedure. A success return code indicates that advertising has been fully aborted and a new advertising procedure can be initiated immediately. |
ble_gap_conn_active⚠ | Indicates whether a connect procedure is currently in progress. |
ble_gap_conn_cancel⚠ | Aborts a connect procedure in progress. |
ble_gap_conn_find⚠ | Searches for a connection with the specified handle. If a matching connection is found, the supplied connection descriptor is filled correspondingly. |
ble_gap_conn_find_by_addr⚠ | Searches for a connection with a peer with the specified address. If a matching connection is found, the supplied connection descriptor is filled correspondingly. |
ble_gap_conn_rssi⚠ | Retrieves the most-recently measured RSSI for the specified connection. A connection's RSSI is updated whenever a data channel PDU is received. |
ble_gap_connect⚠ | Initiates a connect procedure. |
ble_gap_disc⚠ | Performs the Limited or General Discovery Procedures. |
ble_gap_disc_active⚠ | Indicates whether a discovery procedure is currently in progress. |
ble_gap_disc_cancel⚠ | Cancels the discovery procedure currently in progress. A success return code indicates that scanning has been fully aborted; a new discovery or connect procedure can be initiated immediately. |
ble_gap_encryption_initiate⚠ | Initiates the GAP encryption procedure as a master. This is for testing only and should not be used by application. Use ble_gap_security_initiate() instead. |
ble_gap_event_listener_register⚠ | Registers listener for GAP events |
ble_gap_event_listener_unregister⚠ | Unregisters listener for GAP events |
ble_gap_ext_connect⚠ | Initiates an extended connect procedure. |
ble_gap_ext_disc⚠ | Performs the Limited or General Extended Discovery Procedures. |
ble_gap_pair_initiate⚠ | Initiates the GAP pairing procedure as a master. This is for testing only and should not be used by application. Use ble_gap_security_initiate() instead. |
ble_gap_read_le_phy⚠ | Read PHYs used for specified connection. |
ble_gap_security_initiate⚠ | Initiates the GAP security procedure. |
ble_gap_set_event_cb⚠ | Configures a connection to use the specified GAP event callback. A connection's GAP event callback is first specified when the connection is created, either via advertising or initiation. This function replaces the callback that was last configured. |
ble_gap_set_prefered_default_le_phy⚠ | Set preferred default PHYs to be used for connections. |
ble_gap_set_prefered_le_phy⚠ | Set preferred PHYs to be used for connection. |
ble_gap_set_priv_mode⚠ | Set privacy mode for specified peer device |
ble_gap_terminate⚠ | Terminates an established connection. |
ble_gap_unpair⚠ | Unpairs a device with the specified address. The keys related to that peer device are removed from storage and peer address is removed from the resolve list from the controller. If a peer is connected, the connection is terminated. |
ble_gap_unpair_oldest_except⚠ | Similar to |
ble_gap_unpair_oldest_peer⚠ | Unpairs the oldest bonded peer device. The keys related to that peer device are removed from storage and peer address is removed from the resolve list from the controller. If a peer is connected, the connection is terminated. |
ble_gap_update_params⚠ | Initiates a connection parameter update procedure. |
ble_gap_wl_set⚠ | Overwrites the controller's white list with the specified contents. |
ble_gattc_disc_all_chrs⚠ | Initiates GATT procedure: Discover All Characteristics of a Service. |
ble_gattc_disc_all_dscs⚠ | Initiates GATT procedure: Discover All Characteristic Descriptors. |
ble_gattc_disc_all_svcs⚠ | Initiates GATT procedure: Discover All Primary Services. |
ble_gattc_disc_chrs_by_uuid⚠ | Initiates GATT procedure: Discover Characteristics by UUID. |
ble_gattc_disc_svc_by_uuid⚠ | Initiates GATT procedure: Discover Primary Service by Service UUID. |
ble_gattc_exchange_mtu⚠ | Initiates GATT procedure: Exchange MTU. |
ble_gattc_find_inc_svcs⚠ | Initiates GATT procedure: Find Included Services. |
ble_gattc_indicate⚠ | Sends a characteristic indication. The content of the message is read from the specified characteristic. |
ble_gattc_indicate_custom⚠ | Sends a "free-form" characteristic indication. The provided mbuf contains the indication payload. This function consumes the supplied mbuf regardless of the outcome. |
ble_gattc_init⚠ | |
ble_gattc_notify⚠ | Sends a characteristic notification. The content of the message is read from the specified characteristic. |
ble_gattc_notify_custom⚠ | Sends a "free-form" characteristic notification. This function consumes the supplied mbuf regardless of the outcome. |
ble_gattc_read⚠ | Initiates GATT procedure: Read Characteristic Value. |
ble_gattc_read_by_uuid⚠ | Initiates GATT procedure: Read Using Characteristic UUID. |
ble_gattc_read_long⚠ | Initiates GATT procedure: Read Long Characteristic Values. |
ble_gattc_read_mult⚠ | Initiates GATT procedure: Read Multiple Characteristic Values. |
ble_gattc_write⚠ | Initiates GATT procedure: Write Characteristic Value. This function consumes the supplied mbuf regardless of the outcome. |
ble_gattc_write_flat⚠ | Initiates GATT procedure: Write Characteristic Value (flat buffer version). |
ble_gattc_write_long⚠ | Initiates GATT procedure: Write Long Characteristic Values. This function consumes the supplied mbuf regardless of the outcome. |
ble_gattc_write_no_rsp⚠ | Initiates GATT procedure: Write Without Response. This function consumes the supplied mbuf regardless of the outcome. |
ble_gattc_write_no_rsp_flat⚠ | Initiates GATT procedure: Write Without Response. This function consumes the supplied mbuf regardless of the outcome. |
ble_gattc_write_reliable⚠ | Initiates GATT procedure: Reliable Writes. This function consumes the supplied mbufs regardless of the outcome. |
ble_gatts_add_svcs⚠ | Queues a set of service definitions for registration. All services queued in this manner get registered when ble_gatts_start() is called. |
ble_gatts_chr_updated⚠ | Send notification (or indication) to any connected devices that have subscribed for notification (or indication) for specified characteristic. |
ble_gatts_count_cfg⚠ | Adjusts a host configuration object's settings to accommodate the specified service definition array. This function adds the counts to the appropriate fields in the supplied configuration object without clearing them first, so it can be called repeatedly with different inputs to calculate totals. Be sure to zero the GATT server settings prior to the first call to this function. |
ble_gatts_find_chr⚠ | Retrieves the pair of attribute handles associated with a local GATT characteristic. |
ble_gatts_find_dsc⚠ | Retrieves the attribute handle associated with a local GATT descriptor. |
ble_gatts_find_svc⚠ | Retrieves the attribute handle associated with a local GATT service. |
ble_gatts_reset⚠ | Resets the GATT server to its initial state. On success, this function removes all supported services, characteristics, and descriptors. This function requires that: o No peers are connected, and o No GAP operations are active (advertise, discover, or connect). |
ble_gatts_show_local⚠ | Prints dump of local GATT database. This is useful to log local state of database in human readable form. |
ble_gatts_start⚠ | Makes all registered services available to peers. This function gets called automatically by the NimBLE host on startup; manual calls are only necessary for replacing the set of supported services with a new one. This function requires that: o No peers are connected, and o No GAP operations are active (advertise, discover, or connect). |
ble_gatts_svc_set_visibility⚠ | Set visibility of local GATT service. Invisible services are not removed from database but are not discoverable by peer devices. Service Changed should be handled by application when needed by calling ble_svc_gatt_changed(). |
ble_hs_adv_parse⚠ | |
ble_hs_adv_parse_fields⚠ | |
ble_hs_adv_set_fields⚠ | |
ble_hs_adv_set_fields_mbuf⚠ | |
ble_hs_evq_set⚠ | Designates the specified event queue for NimBLE host work. By default, the host uses the default event queue and runs in the main task. This function is useful if you want the host to run in a different task. |
ble_hs_hci_read_chan_map⚠ | Queries the controller for the channel map used with the specified connection. The channel map is represented as an array of five bytes, with each bit corresponding to an individual channel. The array is interpreted as little-endian, such that: map[0] & 0x01 --> Channel 0. map[0] & 0x02 --> Channel 1. ... map[1] & 0x01 --> Channel 8. |
ble_hs_hci_set_chan_class⚠ | Instructs the controller to use the specified channel map. The channel map is represented as an array of five bytes, with each bit corresponding to an individual channel. The array is interpreted as little-endian, such that: map[0] & 0x01 --> Channel 0. map[0] & 0x02 --> Channel 1. ... map[1] & 0x01 --> Channel 8. |
ble_hs_id_copy_addr⚠ | Retrieves one of the device's identity addresses. The device can have two identity addresses: one public and one random. The id_addr_type argument specifies which of these two addresses to retrieve. |
ble_hs_id_gen_rnd⚠ | Generates a new random address. This function does not configure the device with the new address; the caller can use the address in subsequent operations. |
ble_hs_id_infer_auto⚠ | Determines the best address type to use for automatic address type resolution. Calculation of the best address type is done as follows: |
ble_hs_id_set_rnd⚠ | Sets the device's random address. The address type (static vs. non-resolvable private) is inferred from the most-significant byte of the address. The address is specified in host byte order (little-endian!). |
ble_hs_init⚠ | Initializes the NimBLE host. This function must be called before the OS is started. The NimBLE stack requires an application task to function. One application task in particular is designated as the "host parent task". In addition to application-specific work, the host parent task does work for NimBLE by processing events generated by the host. |
ble_hs_is_enabled⚠ | @brief Indicates whether the host is enabled. The host is enabled if it is starting or fully started. It is disabled if it is stopping or stopped. |
ble_hs_log_flat_buf⚠ | |
ble_hs_log_mbuf⚠ | |
ble_hs_mbuf_att_pkt⚠ | Allocates an mbuf suitable for an ATT command packet. The resulting packet has sufficient leading space for: |
ble_hs_mbuf_from_flat⚠ | Allocates an mbuf and fills it with the contents of the specified flat buffer. |
ble_hs_mbuf_to_flat⚠ | Copies the contents of an mbuf into the specified flat buffer. If the flat buffer is too small to contain the mbuf's contents, it is filled to capacity and BLE_HS_EMSGSIZE is returned. |
ble_hs_sched_reset⚠ | Causes the host to reset the NimBLE stack as soon as possible. The application is notified when the reset occurs via the host reset callback. |
ble_hs_sched_start⚠ | Enqueues a host start event to the default event queue. The actual host startup is performed in the host parent task, but using the default queue here ensures the event won't run until the end of main() when this is called during system initialization. This allows the application to configure the host package in the meantime. |
ble_hs_shutdown⚠ | @brief Called when the system is shutting down. Stops the BLE host. |
ble_hs_start⚠ | Synchronizes the host with the controller by sending a sequence of HCI
commands. This function must be called before any other host functionality
is used, but it must be called after both the host and controller are
initialized. Typically, the host-parent-task calls this function at the top
of its task routine. This function must only be called in the host parent
task. A safe alternative for starting the stack from any task is to call
|
ble_hs_stop⚠ | @brief Stops the BLE host. |
ble_hs_synced⚠ | Indicates whether the host has synchronized with the controller. Synchronization must occur before any host procedures can be performed. |
ble_ibeacon_set_adv_data⚠ | |
ble_l2cap_connect⚠ | |
ble_l2cap_create_server⚠ | |
ble_l2cap_disconnect⚠ | |
ble_l2cap_get_chan_info⚠ | |
ble_l2cap_get_conn_handle⚠ | |
ble_l2cap_recv_ready⚠ | |
ble_l2cap_send⚠ | |
ble_l2cap_sig_update⚠ | |
ble_npl_callout_get_ticks⚠ | |
ble_npl_callout_init⚠ | |
ble_npl_callout_is_active⚠ | |
ble_npl_callout_remaining_ticks⚠ | |
ble_npl_callout_reset⚠ | |
ble_npl_callout_set_arg⚠ | |
ble_npl_callout_stop⚠ | |
ble_npl_event_get_arg⚠ | |
ble_npl_event_init⚠ | |
ble_npl_event_is_queued⚠ | |
ble_npl_event_run⚠ | |
ble_npl_event_set_arg⚠ | |
ble_npl_eventq_get⚠ | |
ble_npl_eventq_init⚠ | |
ble_npl_eventq_is_empty⚠ | |
ble_npl_eventq_put⚠ | |
ble_npl_eventq_remove⚠ | |
ble_npl_get_current_task_id⚠ | |
ble_npl_hw_enter_critical⚠ | |
ble_npl_hw_exit_critical⚠ | |
ble_npl_hw_is_in_critical⚠ | |
ble_npl_mutex_init⚠ | |
ble_npl_mutex_pend⚠ | |
ble_npl_mutex_release⚠ | |
ble_npl_os_started⚠ | |
ble_npl_sem_get_count⚠ | |
ble_npl_sem_init⚠ | |
ble_npl_sem_pend⚠ | |
ble_npl_sem_release⚠ | |
ble_npl_time_delay⚠ | |
ble_npl_time_get⚠ | |
ble_npl_time_ms_to_ticks⚠ | |
ble_npl_time_ms_to_ticks32⚠ | |
ble_npl_time_ticks_to_ms⚠ | |
ble_npl_time_ticks_to_ms32⚠ | |
ble_sm_inject_io⚠ | |
ble_sm_sc_oob_generate_data⚠ | |
ble_store_clear⚠ | |
ble_store_delete⚠ | |
ble_store_delete_cccd⚠ | |
ble_store_delete_our_sec⚠ | |
ble_store_delete_peer_sec⚠ | |
ble_store_full_event⚠ | |
ble_store_iterate⚠ | |
ble_store_key_from_value⚠ | |
ble_store_key_from_value_cccd⚠ | |
ble_store_key_from_value_sec⚠ | |
ble_store_overflow_event⚠ | |
ble_store_read⚠ | |
ble_store_read_cccd⚠ | |
ble_store_read_our_sec⚠ | |
ble_store_read_peer_sec⚠ | |
ble_store_util_bonded_peers⚠ | Utility functions. |
ble_store_util_count⚠ | |
ble_store_util_delete_all⚠ | |
ble_store_util_delete_oldest_peer⚠ | |
ble_store_util_delete_peer⚠ | |
ble_store_util_status_rr⚠ | |
ble_store_write⚠ | |
ble_store_write_cccd⚠ | |
ble_store_write_our_sec⚠ | |
ble_store_write_peer_sec⚠ | |
ble_svc_gap_device_appearance⚠ | |
ble_svc_gap_device_appearance_set⚠ | |
ble_svc_gap_device_name⚠ | |
ble_svc_gap_device_name_set⚠ | |
ble_svc_gap_init⚠ | |
ble_svc_gap_set_chr_changed_cb⚠ | |
ble_uuid_cmp⚠ | @brief Compares two Bluetooth UUIDs. |
ble_uuid_copy⚠ | @brief Copy Bluetooth UUID |
ble_uuid_init_from_buf⚠ | @brief Constructs a UUID object from a byte array. |
ble_uuid_to_str⚠ | @brief Converts the specified UUID to its string representation. |
ble_uuid_u16⚠ | @brief Converts the specified 16-bit UUID to a uint16_t. |
bzero⚠ | |
clearerr⚠ | |
clearerr_unlocked⚠ | |
ctermid⚠ | |
dprintf⚠ | |
explicit_bzero⚠ | |
fclose⚠ | |
fdopen⚠ | |
feof⚠ | |
feof_unlocked⚠ | |
ferror⚠ | |
ferror_unlocked⚠ | |
fflush⚠ | |
fflush_unlocked⚠ | |
ffs⚠ | |
ffsl⚠ | |
ffsll⚠ | |
fgetc⚠ | |
fgetc_unlocked⚠ | |
fgetpos⚠ | |
fgets⚠ | |
fileno⚠ | |
fileno_unlocked⚠ | |
flockfile⚠ | |
fmemopen⚠ | |
fopen⚠ | |
fprintf⚠ | |
fputc⚠ | |
fputc_unlocked⚠ | |
fputs⚠ | |
fread⚠ | |
fread_unlocked⚠ | |
freopen⚠ | |
fscanf⚠ | |
fscanf1⚠ | |
fseek⚠ | |
fseeko⚠ | |
fsetpos⚠ | |
ftell⚠ | |
ftello⚠ | |
ftrylockfile⚠ | |
funlockfile⚠ | |
fwrite⚠ | |
fwrite_unlocked⚠ | |
get_be16⚠ | |
get_be24⚠ | |
get_be32⚠ | |
get_be64⚠ | |
get_le16⚠ | |
get_le24⚠ | |
get_le32⚠ | |
get_le64⚠ | |
getc⚠ | |
getc_unlocked⚠ | |
getchar⚠ | |
getchar_unlocked⚠ | |
getdelim⚠ | |
getline⚠ | |
getw⚠ | |
imaxabs⚠ | |
imaxdiv⚠ | |
index⚠ | |
memccpy⚠ | |
memchr⚠ | |
memcmp⚠ | |
memcpy⚠ | |
memmove⚠ | |
memset⚠ | |
nimble_port_get_dflt_eventq⚠ | |
nimble_port_init⚠ | |
nimble_port_run⚠ | |
open_memstream⚠ | |
os_mbuf_adj⚠ | Adjust the length of a mbuf, trimming either from the head or the tail of the mbuf. |
os_mbuf_append⚠ | Append data onto a mbuf |
os_mbuf_appendfrom⚠ | Reads data from one mbuf and appends it to another. On error, the specified data range may be partially appended. Neither mbuf is required to contain an mbuf packet header. |
os_mbuf_cmpf⚠ | Performs a memory compare of the specified region of an mbuf chain against a flat buffer. |
os_mbuf_cmpm⚠ | Compares the contents of two mbuf chains. The ranges of the two chains to be compared are specified via the two offset parameters and the len parameter. Neither mbuf chain is required to contain a packet header. |
os_mbuf_concat⚠ | Attaches a second mbuf chain onto the end of the first. If the first chain contains a packet header, the header's length is updated. If the second chain has a packet header, its header is cleared. |
os_mbuf_copydata⚠ | |
os_mbuf_copyinto⚠ | Copies the contents of a flat buffer into an mbuf chain, starting at the specified destination offset. If the mbuf is too small for the source data, it is extended as necessary. If the destination mbuf contains a packet header, the header length is updated. |
os_mbuf_dup⚠ | Duplicate a chain of mbufs. Return the start of the duplicated chain. |
os_mbuf_extend⚠ | Increases the length of an mbuf chain by the specified amount. If there is not sufficient room in the last buffer, a new buffer is allocated and appended to the chain. It is an error to request more data than can fit in a single buffer. |
os_mbuf_free⚠ | Release a mbuf back to the pool |
os_mbuf_free_chain⚠ | Free a chain of mbufs |
os_mbuf_get⚠ | Get an mbuf from the mbuf pool. The mbuf is allocated, and initialized prior to being returned. |
os_mbuf_get_pkthdr⚠ | Allocate a new packet header mbuf out of the os_mbuf_pool. |
os_mbuf_off⚠ | Locates the specified absolute offset within an mbuf chain. The offset can be one past than the total length of the chain, but no greater. |
os_mbuf_pack_chains⚠ | Creates a single chained mbuf from m1 and m2 utilizing all the available buffer space in all mbufs in the resulting chain. In other words, ensures there is no leading space in any mbuf in the resulting chain and trailing space only in the last mbuf in the chain. Mbufs from either chain may be freed if not needed. No mbufs are allocated. Note that mbufs from m2 are added to the end of m1. If m1 has a packet header, it is retained and length updated. If m2 has a packet header it is discarded. If m1 is NULL, NULL is returned and m2 is left untouched. |
os_mbuf_pool_init⚠ | Initialize a pool of mbufs. |
os_mbuf_prepend⚠ | Increases the length of an mbuf chain by adding data to the front. If there is insufficient room in the leading mbuf, additional mbufs are allocated and prepended as necessary. If this function fails to allocate an mbuf, the entire chain is freed. |
os_mbuf_prepend_pullup⚠ | Prepends a chunk of empty data to the specified mbuf chain and ensures the chunk is contiguous. If either operation fails, the specified mbuf chain is freed and NULL is returned. |
os_mbuf_pullup⚠ | Rearrange a mbuf chain so that len bytes are contiguous, and in the data area of an mbuf (so that OS_MBUF_DATA() will work on a structure of size len.) Returns the resulting mbuf chain on success, free's it and returns NULL on failure. |
os_mbuf_trim_front⚠ | Removes and frees empty mbufs from the front of a chain. If the chain contains a packet header, it is preserved. |
os_memblock_from⚠ | Checks if a memory block was allocated from the specified mempool. |
os_memblock_get⚠ | Get a memory block from a memory pool |
os_memblock_put⚠ | Puts the memory block back into the pool |
os_memblock_put_from_cb⚠ | Puts the memory block back into the pool, ignoring the put callback, if any. This function should only be called from a put callback to free a block without causing infinite recursion. |
os_mempool_clear⚠ | Clears a memory pool. |
os_mempool_ext_init⚠ | Initializes an extended memory pool. Extended attributes (e.g., callbacks) are not specified when this function is called; they are assigned manually after initialization. |
os_mempool_info_get_next⚠ | Get information about the next system memory pool. |
os_mempool_init⚠ | Initialize a memory pool. |
os_mempool_is_sane⚠ | Performs an integrity check of the specified mempool. This function attempts to detect memory corruption in the specified memory pool. |
os_mqueue_get⚠ | Remove and return a single mbuf from the mbuf queue. Does not block. |
os_mqueue_init⚠ | Initializes an mqueue. An mqueue is a queue of mbufs that ties to a particular task's event queue. Mqueues form a helper API around a common paradigm: wait on an event queue until at least one packet is available, then process a queue of packets. |
os_mqueue_put⚠ | Adds a packet (i.e. packet header mbuf) to an mqueue. The event associated with the mqueue gets posted to the specified eventq. |
os_msys_count⚠ | Count the number of blocks in all the mbuf pools that are allocated. |
os_msys_get⚠ | Allocate a mbuf from msys. Based upon the data size requested, os_msys_get() will choose the mbuf pool that has the best fit. |
os_msys_get_pkthdr⚠ | Allocate a packet header structure from the MSYS pool. See os_msys_register() for a description of MSYS. |
os_msys_num_free⚠ | Return the number of free blocks in Msys |
os_msys_register⚠ | MSYS is a system level mbuf registry. Allows the system to share packet buffers amongst the various networking stacks that can be running simultaeneously. |
os_msys_reset⚠ | De-registers all mbuf pools from msys. |
pclose⚠ | |
perror⚠ | |
popen⚠ | |
printf⚠ | |
put_be16⚠ | |
put_be24⚠ | |
put_be32⚠ | |
put_be64⚠ | |
put_le16⚠ | |
put_le24⚠ | |
put_le32⚠ | |
put_le64⚠ | |
putc⚠ | |
putc_unlocked⚠ | |
putchar⚠ | |
putchar_unlocked⚠ | |
puts⚠ | |
putw⚠ | |
remove⚠ | |
rename⚠ | |
renameat⚠ | |
rewind⚠ | |
rindex⚠ | |
scanf⚠ | |
scanf1⚠ | |
setbuf⚠ | |
setbuffer⚠ | |
setlinebuf⚠ | |
setvbuf⚠ | |
snprintf⚠ | |
sprintf⚠ | |
sscanf⚠ | |
sscanf1⚠ | |
stpcpy⚠ | |
stpncpy⚠ | |
strcasecmp⚠ | |
strcasecmp_l⚠ | |
strcat⚠ | |
strchr⚠ | |
strcmp⚠ | |
strcoll⚠ | |
strcoll_l⚠ | |
strcpy⚠ | |
strcspn⚠ | |
strdup⚠ | |
strerror⚠ | |
strerror_l⚠ | |
strerror_r⚠ | |
strlen⚠ | |
strncasecmp⚠ | |
strncasecmp_l⚠ | |
strncat⚠ | |
strncmp⚠ | |
strncpy⚠ | |
strndup⚠ | |
strnlen⚠ | |
strpbrk⚠ | |
strrchr⚠ | |
strsep⚠ | |
strsignal⚠ | |
strspn⚠ | |
strstr⚠ | |
strtoimax⚠ | |
strtok⚠ | |
strtok_r⚠ | |
strtoumax⚠ | |
strxfrm⚠ | |
strxfrm_l⚠ | |
swap_buf⚠ | |
swap_in_place⚠ | |
tempnam⚠ | |
tmpfile⚠ | |
tmpnam⚠ | |
tmpnam_r⚠ | |
ungetc⚠ | |
vdprintf⚠ | |
vfprintf⚠ | |
vfscanf⚠ | |
vfscanf1⚠ | |
vprintf⚠ | |
vscanf⚠ | |
vscanf1⚠ | |
vsnprintf⚠ | |
vsprintf⚠ | |
vsscanf⚠ | |
vsscanf1⚠ | |
wcstoimax⚠ | |
wcstoumax⚠ |
Type Definitions
FILE | |
_IO_lock_t | |
__FILE | |
__blkcnt64_t | |
__blkcnt_t | |
__blksize_t | |
__builtin_va_list | |
__caddr_t | |
__clock_t | |
__clockid_t | |
__daddr_t | |
__dev_t | |
__fpos64_t | |
__fpos_t | |
__fsblkcnt64_t | |
__fsblkcnt_t | |
__fsfilcnt64_t | |
__fsfilcnt_t | |
__fsword_t | |
__gid_t | |
__gnuc_va_list | |
__gwchar_t | |
__id_t | |
__ino64_t | |
__ino_t | |
__int8_t | |
__int16_t | |
__int32_t | |
__int64_t | |
__int_least8_t | |
__int_least16_t | |
__int_least32_t | |
__int_least64_t | |
__intmax_t | |
__intptr_t | |
__key_t | |
__locale_t | |
__loff_t | |
__mode_t | |
__nlink_t | |
__off64_t | |
__off_t | |
__pid_t | |
__quad_t | |
__rlim64_t | |
__rlim_t | |
__sig_atomic_t | |
__socklen_t | |
__ssize_t | |
__suseconds_t | |
__syscall_slong_t | |
__syscall_ulong_t | |
__time64_t | |
__time_t | |
__timer_t | |
__u_char | |
__u_int | |
__u_long | |
__u_quad_t | |
__u_short | |
__uid_t | |
__uint8_t | |
__uint16_t | |
__uint32_t | |
__uint64_t | |
__uint_least8_t | |
__uint_least16_t | |
__uint_least32_t | |
__uint_least64_t | |
__uintmax_t | |
__useconds_t | |
_bindgen_ty_1 | Type of UUID |
ble_error_codes | |
ble_gap_event_fn | |
ble_gatt_access_fn | |
ble_gatt_attr_fn | The host will free the attribute mbuf automatically after the callback is executed. The application can take ownership of the mbuf and prevent it from being freed by assigning NULL to attr->om. |
ble_gatt_chr_flags | |
ble_gatt_chr_fn | |
ble_gatt_disc_svc_fn | |
ble_gatt_dsc_fn | |
ble_gatt_mtu_fn | |
ble_gatt_register_fn | |
ble_gatt_reliable_attr_fn | The host will free the attribute mbufs automatically after the callback is executed. The application can take ownership of the mbufs and prevent them from being freed by assigning NULL to each attribute's om field. |
ble_gatt_svc_foreach_fn | |
ble_hs_adv_parse_func_t | |
ble_hs_reset_fn | @brief Stack reset callback |
ble_hs_stop_fn | @typedef ble_hs_stop_fn @brief Callback function; reports the result of a host stop procedure. |
ble_hs_sync_fn | @brief Stack sync callback |
ble_l2cap_event_fn | |
ble_l2cap_sig_update_fn | |
ble_npl_error | |
ble_npl_event_fn | |
ble_npl_stime_t | |
ble_npl_time_t | |
ble_store_delete_fn | Searches the store for the first object matching the specified criteria. If a match is found, it is deleted from the store. |
ble_store_iterator_fn | |
ble_store_read_fn | Searches the store for an object matching the specified criteria. If a match is found, it is read from the store and the dst parameter is populated with the retrieved object. |
ble_store_status_fn | Indicates an inability to perform a store operation. This callback should do one of two things: o Address the problem and return 0, indicating that the store operation should proceed. o Return nonzero to indicate that the store operation should be aborted. |
ble_store_write_fn | Writes the specified object to the store. If an object with the same identity is already in the store, it is replaced. If the store lacks sufficient capacity to write the object, this function may remove previously stored values to make room. |
ble_svc_gap_chr_changed_fn | |
fpos_t | |
int_fast8_t | |
int_fast16_t | |
int_fast32_t | |
int_fast64_t | |
int_least8_t | |
int_least16_t | |
int_least32_t | |
int_least64_t | |
intmax_t | |
locale_t | |
off_t | |
os_error | |
os_membuf_t | |
os_mempool_put_fn | Block put callback function. If configured, this callback gets executed whenever a block is freed to the corresponding extended mempool. Note: The os_memblock_put() function calls this callback instead of freeing the block itself. Therefore, it is the callback's responsibility to free the block via a call to os_memblock_put_from_cb(). |
os_sr_t | |
size_t | |
ssize_t | |
uint_fast8_t | |
uint_fast16_t | |
uint_fast32_t | |
uint_fast64_t | |
uint_least8_t | |
uint_least16_t | |
uint_least32_t | |
uint_least64_t | |
uintmax_t | |
va_list | |
wchar_t |
Unions
__mbstate_t__bindgen_ty_1 | |
ble_gap_event__bindgen_ty_1 | A discriminated union containing additional details concerning the GAP event. The 'type' field indicates which member of the union is valid. |
ble_gatt_access_ctxt__bindgen_ty_1 | The GATT operation being performed dictates which field in this union is valid. If a characteristic is being accessed, the chr field is valid. Otherwise a descriptor is being accessed, in which case the dsc field is valid. |
ble_gatt_register_ctxt__bindgen_ty_1 | The value of the op field determines which field in this union is valid. |
ble_l2cap_event__bindgen_ty_1 | A discriminated union containing additional details concerning the L2CAP event. The 'type' field indicates which member of the union is valid. |
ble_mbuf_hdr__bindgen_ty_1 | |
ble_sm_io__bindgen_ty_1 | |
ble_store_key | Used as a key for store lookups. This union must be accompanied by an object type code to indicate which field is valid. |
ble_store_status_event__bindgen_ty_1 | Additional data related to the event; the valid field is inferred from the obj_type,event_code pair. |
ble_store_value | Represents stored data. This union must be accompanied by an object type code to indicate which field is valid. |
ble_uuid_any_t | Universal UUID type, to be used for any-UUID static allocation |