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
↓ 1 callers
Method
pack_into
(&self, buf: &mut [u8])
src/hci/le/scan.rs:30
↓ 1 callers
Method
packet_byte_len
(&self)
src/hci/command.rs:109
↓ 1 callers
Method
packet_pack_into
(&self, buf: &mut [u8])
src/hci/command.rs:113
↓ 1 callers
Method
poll_flush
(mut self: Pin<&mut Self>, cx: &mut Context<'_>)
src/hci/bluez_socket.rs:339
↓ 1 callers
Method
poll_read
( mut self: Pin<&mut Self>, cx: &mut Context<'_>, buf: &mut [u8],
src/hci/remote.rs:31
↓ 1 callers
Method
poll_write
( mut self: Pin<&mut Self>, cx: &mut Context<'_>, buf: &[u8], )
src/hci/bluez_socket.rs:328
↓ 1 callers
Method
pop
(&mut self)
src/hci/adapters/buffer.rs:28
↓ 1 callers
Method
push
(&mut self, event: EventPacket<Buf>)
src/hci/adapters/buffer.rs:25
↓ 1 callers
Method
read_bytes
(&mut self, buf: &mut [u8])
src/hci/stream.rs:169
↓ 1 callers
Method
read_event_packet
( &mut self, )
src/hci/usb/adapter.rs:203
↓ 1 callers
Method
send_command_packet
( &mut self, packet: CommandPacket<&[u8]>, )
src/hci/stream.rs:182
↓ 1 callers
Method
send_exact
(&mut self, mut buf: &[u8])
src/hci/stream.rs:159
↓ 1 callers
Method
set_advertising_data
Set advertising data (0-31 bytes). # Errors Returns `adapter::Error::BadParameter` if `data.len() > MAX_ADV_LEN` (31).
src/hci/adapters/le.rs:155
↓ 1 callers
Method
set_advertising_parameters
Set advertising parameters. See [`le::commands::SetAdvertisingParameters`] for more.
src/hci/adapters/le.rs:90
↓ 1 callers
Method
set_meta_event_mask
(&mut self, mask: MetaEventMask)
src/hci/adapters/le.rs:142
↓ 1 callers
Method
set_scanning_mode
(&mut self, scanning_mode: scan::ScanType)
src/windows/ble/advertisements/observer.rs:82
↓ 1 callers
Method
set_socket_filter
Sets the HCI Event filter on the socket. Should only need to be called once. Is also called automatically by the `new` constructor.
src/hci/bluez_socket.rs:193
↓ 1 callers
Method
signature_len
(&self)
src/le/att/attribute.rs:93
↓ 1 callers
Method
space_left
Returns the space left in `T`s (not bytes) in the `StaticBuf`. Simply (`capacity - length`).
src/bytes.rs:225
↓ 1 callers
Method
time_high
(&self)
src/uuid.rs:43
↓ 1 callers
Method
time_low
(&self)
src/uuid.rs:35
↓ 1 callers
Method
time_mid
(&self)
src/uuid.rs:39
↓ 1 callers
Method
to_new_storage
(&self)
src/hci/event.rs:259
↓ 1 callers
Method
to_u64
(self)
src/lib.rs:186
↓ 1 callers
Method
to_winrt
(self)
src/windows/ble/gatt/service.rs:80
↓ 1 callers
Method
write_command
( &'s mut self, packet: CommandPacket<&'p [u8]>, )
src/hci/adapter.rs:64
↓ 1 callers
Method
write_hci_command_bytes
(&mut self, bytes: &[u8])
src/hci/usb/adapter.rs:131
Method
_native
()
src/bytes.rs:16
Method
ad_type
(&self)
src/le/advertisement_structures/tx_power_level.rs:26
Method
ad_type
(&self)
src/le/advertisement_structures/mod.rs:17
Method
ad_type
(&self)
src/le/advertisement_structures/local_name.rs:24
Method
ad_type
(&self)
src/le/advertisement_structures/manufacturer_data.rs:19
Method
ad_type
(&self)
src/le/advertisement_structures/flags.rs:38
Method
adapters
(&self)
src/dbus/session.rs:11
Method
advertisement_status
(&self)
src/windows/ble/gatt/service.rs:41
Method
advertisement_stream
(&mut self)
src/windows/ble/advertisements/observer.rs:188
Method
advertisement_stream_without_mask
Optimize `advertisement_stream` by avoiding setting HCI event masks. Defaults to calling `advertisement_stream()`. # Caution This function does not gu
src/le/scan.rs:201
Method
advertisement_type_to_event_type
(t: BluetoothLEAdvertisementType)
src/windows/ble/advertisements/observer.rs:108
Method
advertising_report_stream
( &'a mut self, )
src/hci/adapters/le.rs:198
Method
all_events
()
src/hci/stream.rs:61
Method
append_slice
Appends the slice onto the end of the `StaticBuf`. # Panics Panics if appending the slice would overflow the `StaticBuf` (not enough space).
src/bytes.rs:256
Method
as_duration
(self)
src/le/advertiser.rs:34
Method
as_microseconds
(self)
src/le/scan.rs:56
Method
as_mut
(&mut self)
src/le/att/authentication.rs:14
Method
as_ref
(&self)
src/uuid.rs:79
Method
as_ref
(&self)
src/le/att/authentication.rs:9
Method
as_u8
(self)
src/channel.rs:45
Method
atleast_length
(expected: usize, buf: &[u8])
src/lib.rs:74
Method
bad_index
(index: usize)
src/lib.rs:86
Method
bluetooth_address
(&self)
src/windows/ble/gatt/device.rs:30
Method
byte_len
Return the length in bytes of `CompanyID` (2-bytes, 16-bits)
src/lib.rs:271
Method
byte_len
(&self)
src/le/report.rs:155
Method
byte_len
(&self)
src/le/advertisement_structures/tx_power_level.rs:30
Method
byte_len
(&self)
src/le/advertisement_structures/mod.rs:28
Method
byte_len
(&self)
src/le/advertisement_structures/flags.rs:42
Method
byte_len
(&self)
src/le/att/attribute.rs:90
Method
byte_len
(&self)
src/le/att/pdus/error.rs:19
Method
byte_len
(&self)
src/le/att/pdus/exchange/request.rs:16
Method
byte_len
(&self)
src/le/att/pdus/exchange/response.rs:15
Method
byte_len
(&self)
src/hci/baseband.rs:42
Method
byte_len
(&self)
src/hci/le/random.rs:18
Method
byte_len
(&self)
src/hci/le/advertise.rs:27
Method
byte_len
(&self)
src/hci/le/scan.rs:26
Method
byte_len
(&self)
src/hci/le/connection.rs:35
Method
byte_len
(&self)
src/hci/le/mask.rs:65
Method
byte_size
()
src/bytes.rs:47
Method
clear
(&mut self, flag: CharacteristicProperty)
src/windows/ble/gatt/characteristic.rs:143
Method
clone_buf
(&self)
src/hci/packet.rs:55
Method
command_opcode
(&self)
src/hci/event.rs:386
Method
create_characteristic
( &self, uuid: &UUID, parameters: LocalCharacteristicParameters, )
src/windows/ble/gatt/service.rs:52
Method
data_section_to_raw_ad_struct
( data_sec: &BluetoothLEAdvertisementDataSection, )
src/windows/ble/advertisements/observer.rs:98
Method
default
()
src/le/scan.rs:66
Method
default
()
src/le/report.rs:144
Method
default
()
src/le/advertiser.rs:45
Method
default
()
src/hci/mod.rs:328
Method
default
()
src/hci/baseband.rs:143
Method
default
()
src/hci/event.rs:200
Method
default
()
src/hci/le/mask.rs:50
Method
device_down
(&self, adapter_id: AdapterID)
src/hci/bluez_socket.rs:259
Method
device_id
(&self)
src/windows/ble/gatt/device.rs:10
Method
device_identifier
(&self)
src/hci/usb/adapter.rs:86
Method
device_up
(&self, adapter_id: AdapterID)
src/hci/bluez_socket.rs:251
Method
disable_channel
(&mut self, channel: Channels)
src/le/advertiser.rs:208
Method
disable_event
(&mut self, event: EventCode)
src/hci/stream.rs:77
Method
disable_event
(&mut self, flag: EventMaskFlags)
src/hci/baseband.rs:135
Method
disable_event
(&mut self, event: MetaEventCode)
src/hci/le/mask.rs:26
Method
disable_type
(&mut self, packet_type: PacketType)
src/hci/stream.rs:100
Method
drain
( &mut self, range: impl core::ops::RangeBounds<usize>, )
src/hci/adapters/buffer.rs:31
Method
drop
(&mut self)
src/hci/usb/adapter.rs:225
Method
enable_channel
(&mut self, channel: Channels)
src/le/advertiser.rs:205
Method
enable_event
(&mut self, event: EventCode)
src/hci/stream.rs:68
Method
enable_event
(&mut self, flag: EventMaskFlags)
src/hci/baseband.rs:132
Method
event_args_to_report_info
( args: &BluetoothLEAdvertisementReceivedEventArgs, )
src/windows/ble/advertisements/observer.rs:138
Method
event_byte_len
(&self)
src/hci/le/mod.rs:268
Method
event_full_byte_len
(&self)
src/hci/event.rs:165
Method
event_pack_into
(&self, buf: &mut [u8])
src/hci/le/mod.rs:288
Method
event_pack_packet
(&self)
src/hci/event.rs:184
Method
event_pos
(event: MetaEventCode)
src/hci/le/mask.rs:29
Method
event_unpack_from
(buf: &[u8])
src/hci/event.rs:354
Method
event_unpack_from
(buf: &[u8])
src/hci/le/mod.rs:272
← previous
next →
101–200 of 487, ranked by callers