Packet

data class Packet(val uuid: Long, val myNodeNum: Int, val port_num: Int, val contact_key: String, val received_time: Long, val read: Boolean, val data: DataPacket, val packetId: Int = 0, var routingError: Int = -1, val replyId: Int = 0, val snr: Float = 0.0f, val rssi: Int = 0, val hopsAway: Int = -1)

Constructors

Link copied to clipboard
constructor(uuid: Long, myNodeNum: Int, port_num: Int, contact_key: String, received_time: Long, read: Boolean, data: DataPacket, packetId: Int = 0, routingError: Int = -1, replyId: Int = 0, snr: Float = 0.0f, rssi: Int = 0, hopsAway: Int = -1)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val packetId: Int = 0
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val replyId: Int = 0
Link copied to clipboard
Link copied to clipboard
val rssi: Int = 0
Link copied to clipboard
val snr: Float = 0.0f
Link copied to clipboard
val uuid: Long