Skip to content

//kotlin-sdk/fr.gasmartbuilding.gasmartaccessreadersdk/FrameKey

FrameKey

[androidJvm]\ enum FrameKey : Enum<FrameKey>

Enum class to identify BT communication context

Entries

SET_PROTOCOL_REV [androidJvm]
SET_PROTOCOL_REV
Key for setting the protocol revision.
GET_AUTHENT_LOCK_ALARM_STATE [androidJvm]
GET_AUTHENT_LOCK_ALARM_STATE
Key for getting the authentication lock alarm state.
GET_CHALLENGE [androidJvm]
GET_CHALLENGE
Key for getting the challenge.
SET_SIGN_SAR [androidJvm]
SET_SIGN_SAR
Key for setting the SAR signature.
GET_BADGE_ID [androidJvm]
GET_BADGE_ID
Key for getting the badge ID.
GET_APP_PUB_KEY [androidJvm]
GET_APP_PUB_KEY
Key for getting the app's public key.
GET_APP_SIGN1 [androidJvm]
GET_APP_SIGN1
Key for getting the first part of the app's signature.
GET_APP_SIGN2 [androidJvm]
GET_APP_SIGN2
Key for getting the second part of the app's signature.
SET_CHALLENGE [androidJvm]
SET_CHALLENGE
Key for setting the challenge.
SET_AUTHENTICATION_STATE [androidJvm]
SET_AUTHENTICATION_STATE
Key for setting the authentication state.
LAUNCH_SEQUENCE [androidJvm]
LAUNCH_SEQUENCE
Key for launching sequence.

Types

Name Summary
Companion [androidJvm]
object Companion

Properties

Name Summary
dataLen [androidJvm]
val dataLen: Int
expected length of the received data
hex [androidJvm]
val hex: Byte
command identifier
name [androidJvm]
val name: String
ordinal [androidJvm]
val ordinal: Int
respDataLen [androidJvm]
val respDataLen: Int
required length for the data sent to the SAR

Functions

Name Summary
valueOf [androidJvm]
fun valueOf(value: String): FrameKey
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
values [androidJvm]
fun values(): Array<FrameKey>
Returns an array containing the constants of this enum type, in the order they're declared.