Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/AndrewGi/btle
/ functions
Functions
487 in github.com/AndrewGi/btle
⨍
Functions
487
◇
Types & classes
193
Method
expect_length
(expected: usize, buf: &[u8])
src/lib.rs:61
Method
flush
(&mut self)
src/hci/remote.rs:9
Method
fmt
(&self, f: &mut Formatter<'_>)
src/uri.rs:783
Method
fmt
(&self, f: &mut core::fmt::Formatter<'_>)
src/lib.rs:223
Method
fmt
(&self, f: &mut Formatter<'_>)
src/uuid.rs:133
Method
fmt
(&self, f: &mut core::fmt::Formatter<'_>)
src/error.rs:21
Method
fmt
(&self, f: &mut std::fmt::Formatter<'_>)
src/windows/mod.rs:12
Method
fmt
(&self, f: &mut Formatter<'_>)
src/le/report.rs:65
Method
fmt
(&self, f: &mut Formatter<'_>)
src/le/advertisement_structures/tx_power_level.rs:12
Method
fmt
(&self, f: &mut core::fmt::Formatter<'_>)
src/hci/command.rs:51
Method
fmt
(&self, f: &mut core::fmt::Formatter<'_>)
src/hci/adapter.rs:18
Method
fmt
(&self, f: &mut Formatter<'_>)
src/hci/mod.rs:249
Method
fmt
(&self, f: &mut Formatter<'_>)
src/hci/event.rs:301
Method
fmt
(&self, f: &mut Formatter<'_>)
src/hci/bluez_socket.rs:71
Method
fmt
(&self, f: &mut core::fmt::Formatter<'_>)
src/hci/usb/adapter.rs:56
Method
fmt
(&self, f: &mut core::fmt::Formatter<'_>)
src/hci/usb/mod.rs:10
Method
fmt
(&self, f: &mut core::fmt::Formatter<'_>)
src/hci/le/mod.rs:225
Method
frequency
Returns channel frequency in MHz. # Example ``` use btle::channel::Index; assert_eq!(Index::new(37).frequency(), 2402); assert_eq!(Index::new(0).frequ
src/channel.rs:33
Method
from
(i: Index)
src/channel.rs:50
Method
from
(uri_name: URIName)
src/uri.rs:197
Method
from
(rssi: RSSI)
src/lib.rs:126
Method
from
(u: UUID16)
src/uuid.rs:154
Method
from
(e: E)
src/error.rs:14
Method
from
(e: windows::core::Error)
src/windows/mod.rs:7
Method
from
(i: GattServiceProviderAdvertisementStatus)
src/windows/ble/gatt/service.rs:105
Method
from
(e: DbusError)
src/dbus/mod.rs:7
Method
from
(a: AdType)
src/le/advertisement.rs:60
Method
from
(p: ScanningFilterPolicy)
src/le/scan.rs:18
Method
from
(n: NumReports)
src/le/report.rs:20
Method
from
(a: AdvertisingInterval)
src/le/advertiser.rs:74
Method
from
(m: MTU)
src/le/connection/mod.rs:31
Method
from
(f: Flags)
src/le/advertisement_structures/flags.rs:22
Method
from
(o: Opcode)
src/le/att/mod.rs:51
Method
from
(a: ApplicationError)
src/le/att/error.rs:37
Method
from
(h: Handle)
src/le/att/attribute.rs:16
Method
from
(e: IOError)
src/hci/adapter.rs:23
Method
from
(e: PackError)
src/hci/stream.rs:19
Method
from
(v: Version)
src/hci/mod.rs:83
Method
from
(packet_type: PacketType)
src/hci/packet.rs:17
Method
from
(opcode: ControllerBasebandOpcode)
src/hci/baseband.rs:17
Method
from
(code: EventCode)
src/hci/event.rs:79
Method
from
(opcode: LinkControlOpcode)
src/hci/link_control.rs:36
Method
from
(protocol: BTProtocol)
src/hci/bluez_socket.rs:42
Method
from
(e: usbw::libusb::error::Error)
src/hci/usb/mod.rs:15
Method
from
(opcode: LEControllerOpcode)
src/hci/le/mod.rs:99
Method
from
(rssi: TxPowerLevel)
src/hci/le/advertise.rs:209
Method
from
(m: MetaEventMask)
src/hci/le/mask.rs:37
Method
from_bluetooth_address
(address: BTAddress)
src/windows/ble/gatt/device.rs:24
Method
from_bytes_be
(bytes: &[u8])
src/lib.rs:294
Method
from_bytes_be
(bytes: &[u8])
src/bytes.rs:172
Method
from_bytes_endian
(bytes: &[u8], endian: Option<Endian>)
src/bytes.rs:88
Method
from_bytes_le
(bytes: &[u8])
src/lib.rs:289
Method
from_bytes_le
(bytes: &[u8])
src/bytes.rs:168
Method
from_bytes_ne
(bytes: &[u8])
src/bytes.rs:72
Method
from_bytes_ne
(bytes: &[u8])
src/bytes.rs:183
Method
from_device_id
(device_id: &str)
src/windows/ble/gatt/device.rs:19
Method
from_fields
( time_low: u32, time_mid: u16, time_high: u16, clock_seq: u16, node:
src/uuid.rs:16
Method
from_handle
(mut handle: AsyncDevice)
src/hci/usb/adapter.rs:71
Method
from_inner
(inner: GattLocalCharacteristic)
src/windows/ble/gatt/characteristic.rs:58
Method
from_inner
(device: BluetoothLEDevice)
src/windows/ble/gatt/device.rs:16
Method
from_inner
(inner: GattDeviceServicesResult)
src/windows/ble/gatt/service.rs:15
Method
from_inner
(inner: GattLocalDescriptor)
src/windows/ble/gatt/descriptor.rs:12
Method
from_milliseconds
(milli: u16)
src/le/advertiser.rs:40
Method
from_parts
(session: Session, object_path: String)
src/dbus/adapter.rs:9
Method
from_parts
(device_descriptor: DeviceDescriptor, handle: AsyncDevice)
src/hci/usb/adapter.rs:79
Method
from_sender
(sender: mpsc::Sender<ReportInfo>)
src/windows/ble/advertisements/observer.rs:95
Method
from_slice
(buf: &[T])
src/bytes.rs:316
Method
from_slice
(buf: &[T])
src/bytes.rs:339
Method
from_slice
(data: &[u8])
src/hci/le/scan.rs:116
Method
from_str
(s: &str)
src/uri.rs:591
Method
from_str
(s: &str)
src/lib.rs:234
Method
from_u64
Uses the 6 lower bytes of `u` in Little Endian
src/lib.rs:182
Method
from_winrt
(i: GattServiceProviderAdvertisementStatus)
src/windows/ble/gatt/service.rs:91
Method
gatt_services
(&self)
src/windows/ble/gatt/device.rs:34
Method
get_advertising_tx_power
Read the advertising channel TX power in dBm. See [`le::advertise::TxPowerLevel`] for more.
src/hci/adapters/le.rs:36
Method
get_channel
(self, channel: Channels)
src/le/advertiser.rs:211
Method
get_event
(&self, event: EventCode)
src/hci/stream.rs:86
Method
get_event
(&mut self, flag: EventMaskFlags)
src/hci/baseband.rs:138
Method
get_event
(&self, event: MetaEventCode)
src/hci/le/mask.rs:32
Method
get_filter
(self: Pin<&Self>)
src/hci/bluez_socket.rs:311
Method
get_filter_raw
(fd: RawFd)
src/hci/bluez_socket.rs:212
Function
get_managed_objects_header
()
src/dbus/messages.rs:33
Method
get_manufacturer_string
(&self)
src/hci/usb/adapter.rs:92
Method
get_product_string
(&self)
src/hci/usb/adapter.rs:105
Method
get_rand
Get `RAND_LEN` (8) bytes from the HCI Controller.
src/hci/adapters/le.rs:103
Method
get_serial_number_string
(&self)
src/hci/usb/adapter.rs:118
Method
get_socket_filter
(&self)
src/hci/bluez_socket.rs:209
Method
get_type
(&self, packet_type: PacketType)
src/hci/stream.rs:105
Method
guess_command_opcode
(buf: &[u8])
src/hci/event.rs:389
Method
handle
(&mut self, event: EventPacket<Self::Buf>)
src/hci/adapters/buffer.rs:48
Method
hci_read_event
( &mut self, )
src/hci/adapters/mod.rs:69
Function
hci_to_socket_error
(err: nix::Error)
src/hci/bluez_socket.rs:228
Method
index
(&self, _index: ops::RangeFull)
src/bytes.rs:281
Method
index_mut
(&mut self, _index: ops::RangeFull)
src/bytes.rs:288
Method
inner
(self)
src/le/att/attribute.rs:11
Method
inner
(&self)
src/hci/adapters/buffer.rs:22
Method
inner_mut
(&mut self)
src/hci/adapters/buffer.rs:19
Method
into_inner
(self)
src/windows/ble/gatt/characteristic.rs:61
Method
into_inner
(self)
src/hci/adapters/buffer.rs:16
Method
is_advertising
(self)
src/channel.rs:42
← previous
next →
201–300 of 487, ranked by callers