Expand description
This domain allows configuring virtual Bluetooth devices to test the web-bluetooth API.
Structs§
- AddCharacteristic
Params - Adds a characteristic with |characteristicUuid| and |properties| to the service represented by |serviceId|. addCharacteristic
- AddCharacteristic
Params Builder - AddCharacteristic
Returns - Adds a characteristic with |characteristicUuid| and |properties| to the service represented by |serviceId|. addCharacteristic
- AddCharacteristic
Returns Builder - AddDescriptor
Params - Adds a descriptor with |descriptorUuid| to the characteristic respresented by |characteristicId|. addDescriptor
- AddDescriptor
Params Builder - AddDescriptor
Returns - Adds a descriptor with |descriptorUuid| to the characteristic respresented by |characteristicId|. addDescriptor
- AddDescriptor
Returns Builder - AddService
Params - Adds a service with |serviceUuid| to the peripheral with |address|. addService
- AddService
Params Builder - AddService
Returns - Adds a service with |serviceUuid| to the peripheral with |address|. addService
- AddService
Returns Builder - Characteristic
Properties - Describes the properties of a characteristic. This follows Bluetooth Core Specification BT 4.2 Vol 3 Part G 3.3.1. Characteristic Properties. CharacteristicProperties
- Characteristic
Properties Builder - Disable
Params - Disable the BluetoothEmulation domain. disable
- Disable
Returns - Disable the BluetoothEmulation domain. disable
- Enable
Params - Enable the BluetoothEmulation domain. enable
- Enable
Params Builder - Enable
Returns - Enable the BluetoothEmulation domain. enable
- Event
Characteristic Operation Received - Event for when a characteristic operation of |type| to the characteristic respresented by |characteristicId| happened. |data| and |writeType| is expected to exist when |type| is write. characteristicOperationReceived
- Event
Descriptor Operation Received - Event for when a descriptor operation of |type| to the descriptor respresented by |descriptorId| happened. |data| is expected to exist when |type| is write. descriptorOperationReceived
- Event
Gatt Operation Received - Event for when a GATT operation of |type| to the peripheral with |address| happened. gattOperationReceived
- Manufacturer
Data - Stores the manufacturer data ManufacturerData
- Manufacturer
Data Builder - Remove
Characteristic Params - Removes the characteristic respresented by |characteristicId| from the simulated central. removeCharacteristic
- Remove
Characteristic Params Builder - Remove
Characteristic Returns - Removes the characteristic respresented by |characteristicId| from the simulated central. removeCharacteristic
- Remove
Descriptor Params - Removes the descriptor with |descriptorId| from the simulated central. removeDescriptor
- Remove
Descriptor Params Builder - Remove
Descriptor Returns - Removes the descriptor with |descriptorId| from the simulated central. removeDescriptor
- Remove
Service Params - Removes the service respresented by |serviceId| from the simulated central. removeService
- Remove
Service Params Builder - Remove
Service Returns - Removes the service respresented by |serviceId| from the simulated central. removeService
- Scan
Entry - Stores the advertisement packet information that is sent by a Bluetooth device. ScanEntry
- Scan
Entry Builder - Scan
Record - Stores the byte data of the advertisement packet sent by a Bluetooth device. ScanRecord
- Scan
Record Builder - SetSimulated
Central State Params - Set the state of the simulated central. setSimulatedCentralState
- SetSimulated
Central State Params Builder - SetSimulated
Central State Returns - Set the state of the simulated central. setSimulatedCentralState
- Simulate
Advertisement Params - Simulates an advertisement packet described in |entry| being received by the central. simulateAdvertisement
- Simulate
Advertisement Params Builder - Simulate
Advertisement Returns - Simulates an advertisement packet described in |entry| being received by the central. simulateAdvertisement
- Simulate
Characteristic Operation Response Params - Simulates the response from the characteristic with |characteristicId| for a characteristic operation of |type|. The |code| value follows the Error Codes from Bluetooth Core Specification Vol 3 Part F 3.4.1.1 Error Response. The |data| is expected to exist when simulating a successful read operation response. simulateCharacteristicOperationResponse
- Simulate
Characteristic Operation Response Params Builder - Simulate
Characteristic Operation Response Returns - Simulates the response from the characteristic with |characteristicId| for a characteristic operation of |type|. The |code| value follows the Error Codes from Bluetooth Core Specification Vol 3 Part F 3.4.1.1 Error Response. The |data| is expected to exist when simulating a successful read operation response. simulateCharacteristicOperationResponse
- Simulate
Descriptor Operation Response Params - Simulates the response from the descriptor with |descriptorId| for a descriptor operation of |type|. The |code| value follows the Error Codes from Bluetooth Core Specification Vol 3 Part F 3.4.1.1 Error Response. The |data| is expected to exist when simulating a successful read operation response. simulateDescriptorOperationResponse
- Simulate
Descriptor Operation Response Params Builder - Simulate
Descriptor Operation Response Returns - Simulates the response from the descriptor with |descriptorId| for a descriptor operation of |type|. The |code| value follows the Error Codes from Bluetooth Core Specification Vol 3 Part F 3.4.1.1 Error Response. The |data| is expected to exist when simulating a successful read operation response. simulateDescriptorOperationResponse
- Simulate
Gatt Disconnection Params - Simulates a GATT disconnection from the peripheral with |address|. simulateGATTDisconnection
- Simulate
Gatt Disconnection Params Builder - Simulate
Gatt Disconnection Returns - Simulates a GATT disconnection from the peripheral with |address|. simulateGATTDisconnection
- Simulate
Gatt Operation Response Params - Simulates the response code from the peripheral with |address| for a GATT operation of |type|. The |code| value follows the HCI Error Codes from Bluetooth Core Specification Vol 2 Part D 1.3 List Of Error Codes. simulateGATTOperationResponse
- Simulate
Gatt Operation Response Params Builder - Simulate
Gatt Operation Response Returns - Simulates the response code from the peripheral with |address| for a GATT operation of |type|. The |code| value follows the HCI Error Codes from Bluetooth Core Specification Vol 2 Part D 1.3 List Of Error Codes. simulateGATTOperationResponse
- Simulate
Preconnected Peripheral Params - Simulates a peripheral with |address|, |name| and |knownServiceUuids| that has already been connected to the system. simulatePreconnectedPeripheral
- Simulate
Preconnected Peripheral Params Builder - Simulate
Preconnected Peripheral Returns - Simulates a peripheral with |address|, |name| and |knownServiceUuids| that has already been connected to the system. simulatePreconnectedPeripheral
Enums§
- Central
State - Indicates the various states of Central.
- Characteristic
Operation Type - Indicates the various types of characteristic operation.
- Characteristic
Write Type - Indicates the various types of characteristic write.
- Descriptor
Operation Type - Indicates the various types of descriptor operation.
- Gatt
Operation Type - Indicates the various types of GATT event.