RokidAuthorization

data class RokidAuthorization(val snLc: ByteArray, val clientSecret: String)

CXR-M v1.0.4 Bluetooth connect requires:

  • snLc: SN authorization file (.lc) bound to the device SN (downloaded from Rokid console)

  • clientSecret: developer credential (will be normalized by removing -)

Treat both as secrets and avoid committing them into git.

Constructors

Link copied to clipboard
constructor(snLc: ByteArray, clientSecret: String)

Properties

Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int