PeripheralSpec
A specification of a peripheral that can be simulated.
Use PeripheralSpec.simulatePeripheral to create a new peripheral specification.
Types
Properties
Link copied to clipboard
List of advertisement configurations.
Link copied to clipboard
The connection interval when connected.
Link copied to clipboard
The event handler that will be called for every event emulating a real peripheral.
Link copied to clipboard
The peripheral identifier.
Link copied to clipboard
Whether the peripheral is connected.
Link copied to clipboard
The set of supported PHYs.
Link copied to clipboard
The peripheral type.
Functions
Link copied to clipboard
Simulates the situation when the device is scanned and advertisement data is received.
Link copied to clipboard
Simulates the situation when another application on the device connects to the device.
Link copied to clipboard
Simulates peripheral disconnection from the device.
Link copied to clipboard
Link copied to clipboard
Simulates a change in the proximity of the peripheral.
Link copied to clipboard