MockEnvironment

A mock environment that can be used to test the behavior of the Central Manager.

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
abstract val deviceName: String
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
abstract val isSystem: Boolean
Link copied to clipboard
abstract val maxAttMtu: @Range(from = 23, to = 517) Int

The maximum supported ATT MTU. This defaults to 23 bytes and can be extended to 517 bytes (512 bytes for the payload, 2 octets for handle number, 2 for the offset and 1 for the op code).

Link copied to clipboard
abstract val maxLlMtu: @Range(from = 27, to = 251) Int

The maximum supported Link Layer MTU. This defaults to 27 bytes and can be extended to 251 with Data Length Extension (DLE).

Link copied to clipboard
Link copied to clipboard