AccessPoint

@JsonClass(generateAdapter = true)
data class AccessPoint(val mac: String, val strength: Int, val frequencyMhz: Int, val isConnected: Boolean?)

Information about a specific wireless access point or router.

Constructors

Link copied to clipboard
constructor(mac: String, strength: Int, frequencyMhz: Int, isConnected: Boolean?)

Properties

Link copied to clipboard

Frequency of the signal (in MHz) that the access point is using.

Link copied to clipboard

Whether the device that scanned the access point is connected to it.

Link copied to clipboard
val mac: String

MAC address of the access point as an integer. MAC addresses typically consist of 48 bits (6 bytes), so it is likely the value found here needs to be interpreted as a 6 byte integer (which when converted to its hexadecimal representation results in a more typical representation for MAC addresses).

Link copied to clipboard

Strength of the signal in dBm (decibels per milliwatt) of the access point.