MCPcopy Create free account

hub / github.com/AndrewGi/btle / functions

Functions487 in github.com/AndrewGi/btle

Methodexpect_length
(expected: usize, buf: &[u8])
src/lib.rs:61
Methodflush
(&mut self)
src/hci/remote.rs:9
Methodfmt
(&self, f: &mut Formatter<'_>)
src/uri.rs:783
Methodfmt
(&self, f: &mut core::fmt::Formatter<'_>)
src/lib.rs:223
Methodfmt
(&self, f: &mut Formatter<'_>)
src/uuid.rs:133
Methodfmt
(&self, f: &mut core::fmt::Formatter<'_>)
src/error.rs:21
Methodfmt
(&self, f: &mut std::fmt::Formatter<'_>)
src/windows/mod.rs:12
Methodfmt
(&self, f: &mut Formatter<'_>)
src/le/report.rs:65
Methodfmt
(&self, f: &mut Formatter<'_>)
src/le/advertisement_structures/tx_power_level.rs:12
Methodfmt
(&self, f: &mut core::fmt::Formatter<'_>)
src/hci/command.rs:51
Methodfmt
(&self, f: &mut core::fmt::Formatter<'_>)
src/hci/adapter.rs:18
Methodfmt
(&self, f: &mut Formatter<'_>)
src/hci/mod.rs:249
Methodfmt
(&self, f: &mut Formatter<'_>)
src/hci/event.rs:301
Methodfmt
(&self, f: &mut Formatter<'_>)
src/hci/bluez_socket.rs:71
Methodfmt
(&self, f: &mut core::fmt::Formatter<'_>)
src/hci/usb/adapter.rs:56
Methodfmt
(&self, f: &mut core::fmt::Formatter<'_>)
src/hci/usb/mod.rs:10
Methodfmt
(&self, f: &mut core::fmt::Formatter<'_>)
src/hci/le/mod.rs:225
Methodfrequency
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
Methodfrom
(i: Index)
src/channel.rs:50
Methodfrom
(uri_name: URIName)
src/uri.rs:197
Methodfrom
(rssi: RSSI)
src/lib.rs:126
Methodfrom
(u: UUID16)
src/uuid.rs:154
Methodfrom
(e: E)
src/error.rs:14
Methodfrom
(e: windows::core::Error)
src/windows/mod.rs:7
Methodfrom
(i: GattServiceProviderAdvertisementStatus)
src/windows/ble/gatt/service.rs:105
Methodfrom
(e: DbusError)
src/dbus/mod.rs:7
Methodfrom
(a: AdType)
src/le/advertisement.rs:60
Methodfrom
(p: ScanningFilterPolicy)
src/le/scan.rs:18
Methodfrom
(n: NumReports)
src/le/report.rs:20
Methodfrom
(a: AdvertisingInterval)
src/le/advertiser.rs:74
Methodfrom
(m: MTU)
src/le/connection/mod.rs:31
Methodfrom
(f: Flags)
src/le/advertisement_structures/flags.rs:22
Methodfrom
(o: Opcode)
src/le/att/mod.rs:51
Methodfrom
(a: ApplicationError)
src/le/att/error.rs:37
Methodfrom
(h: Handle)
src/le/att/attribute.rs:16
Methodfrom
(e: IOError)
src/hci/adapter.rs:23
Methodfrom
(e: PackError)
src/hci/stream.rs:19
Methodfrom
(v: Version)
src/hci/mod.rs:83
Methodfrom
(packet_type: PacketType)
src/hci/packet.rs:17
Methodfrom
(opcode: ControllerBasebandOpcode)
src/hci/baseband.rs:17
Methodfrom
(code: EventCode)
src/hci/event.rs:79
Methodfrom
(opcode: LinkControlOpcode)
src/hci/link_control.rs:36
Methodfrom
(protocol: BTProtocol)
src/hci/bluez_socket.rs:42
Methodfrom
(e: usbw::libusb::error::Error)
src/hci/usb/mod.rs:15
Methodfrom
(opcode: LEControllerOpcode)
src/hci/le/mod.rs:99
Methodfrom
(rssi: TxPowerLevel)
src/hci/le/advertise.rs:209
Methodfrom
(m: MetaEventMask)
src/hci/le/mask.rs:37
Methodfrom_bluetooth_address
(address: BTAddress)
src/windows/ble/gatt/device.rs:24
Methodfrom_bytes_be
(bytes: &[u8])
src/lib.rs:294
Methodfrom_bytes_be
(bytes: &[u8])
src/bytes.rs:172
Methodfrom_bytes_endian
(bytes: &[u8], endian: Option<Endian>)
src/bytes.rs:88
Methodfrom_bytes_le
(bytes: &[u8])
src/lib.rs:289
Methodfrom_bytes_le
(bytes: &[u8])
src/bytes.rs:168
Methodfrom_bytes_ne
(bytes: &[u8])
src/bytes.rs:72
Methodfrom_bytes_ne
(bytes: &[u8])
src/bytes.rs:183
Methodfrom_device_id
(device_id: &str)
src/windows/ble/gatt/device.rs:19
Methodfrom_fields
( time_low: u32, time_mid: u16, time_high: u16, clock_seq: u16, node:
src/uuid.rs:16
Methodfrom_handle
(mut handle: AsyncDevice)
src/hci/usb/adapter.rs:71
Methodfrom_inner
(inner: GattLocalCharacteristic)
src/windows/ble/gatt/characteristic.rs:58
Methodfrom_inner
(device: BluetoothLEDevice)
src/windows/ble/gatt/device.rs:16
Methodfrom_inner
(inner: GattDeviceServicesResult)
src/windows/ble/gatt/service.rs:15
Methodfrom_inner
(inner: GattLocalDescriptor)
src/windows/ble/gatt/descriptor.rs:12
Methodfrom_milliseconds
(milli: u16)
src/le/advertiser.rs:40
Methodfrom_parts
(session: Session, object_path: String)
src/dbus/adapter.rs:9
Methodfrom_parts
(device_descriptor: DeviceDescriptor, handle: AsyncDevice)
src/hci/usb/adapter.rs:79
Methodfrom_sender
(sender: mpsc::Sender<ReportInfo>)
src/windows/ble/advertisements/observer.rs:95
Methodfrom_slice
(buf: &[T])
src/bytes.rs:316
Methodfrom_slice
(buf: &[T])
src/bytes.rs:339
Methodfrom_slice
(data: &[u8])
src/hci/le/scan.rs:116
Methodfrom_str
(s: &str)
src/uri.rs:591
Methodfrom_str
(s: &str)
src/lib.rs:234
Methodfrom_u64
Uses the 6 lower bytes of `u` in Little Endian
src/lib.rs:182
Methodfrom_winrt
(i: GattServiceProviderAdvertisementStatus)
src/windows/ble/gatt/service.rs:91
Methodgatt_services
(&self)
src/windows/ble/gatt/device.rs:34
Methodget_advertising_tx_power
Read the advertising channel TX power in dBm. See [`le::advertise::TxPowerLevel`] for more.
src/hci/adapters/le.rs:36
Methodget_channel
(self, channel: Channels)
src/le/advertiser.rs:211
Methodget_event
(&self, event: EventCode)
src/hci/stream.rs:86
Methodget_event
(&mut self, flag: EventMaskFlags)
src/hci/baseband.rs:138
Methodget_event
(&self, event: MetaEventCode)
src/hci/le/mask.rs:32
Methodget_filter
(self: Pin<&Self>)
src/hci/bluez_socket.rs:311
Methodget_filter_raw
(fd: RawFd)
src/hci/bluez_socket.rs:212
Functionget_managed_objects_header
()
src/dbus/messages.rs:33
Methodget_manufacturer_string
(&self)
src/hci/usb/adapter.rs:92
Methodget_product_string
(&self)
src/hci/usb/adapter.rs:105
Methodget_rand
Get `RAND_LEN` (8) bytes from the HCI Controller.
src/hci/adapters/le.rs:103
Methodget_serial_number_string
(&self)
src/hci/usb/adapter.rs:118
Methodget_socket_filter
(&self)
src/hci/bluez_socket.rs:209
Methodget_type
(&self, packet_type: PacketType)
src/hci/stream.rs:105
Methodguess_command_opcode
(buf: &[u8])
src/hci/event.rs:389
Methodhandle
(&mut self, event: EventPacket<Self::Buf>)
src/hci/adapters/buffer.rs:48
Methodhci_read_event
( &mut self, )
src/hci/adapters/mod.rs:69
Functionhci_to_socket_error
(err: nix::Error)
src/hci/bluez_socket.rs:228
Methodindex
(&self, _index: ops::RangeFull)
src/bytes.rs:281
Methodindex_mut
(&mut self, _index: ops::RangeFull)
src/bytes.rs:288
Methodinner
(self)
src/le/att/attribute.rs:11
Methodinner
(&self)
src/hci/adapters/buffer.rs:22
Methodinner_mut
(&mut self)
src/hci/adapters/buffer.rs:19
Methodinto_inner
(self)
src/windows/ble/gatt/characteristic.rs:61
Methodinto_inner
(self)
src/hci/adapters/buffer.rs:16
Methodis_advertising
(self)
src/channel.rs:42
← previousnext →201–300 of 487, ranked by callers