DataPacket

constructor(to: String?, channel: Int, text: String, replyId: Int? = null)

Syntactic sugar to make it easy to create text messages


constructor(to: String?, channel: Int, waypoint: <Error class: unknown class>)
constructor(parcel: Parcel)
constructor(to: String? = ID_BROADCAST, bytes: ByteArray?, dataType: Int, from: String? = ID_LOCAL, time: Long = System.currentTimeMillis(), id: Int = 0, status: MessageStatus? = MessageStatus.UNKNOWN, hopLimit: Int = 0, channel: Int = 0, wantAck: Boolean = true, hopStart: Int = 0, snr: Float = 0.0f, rssi: Int = 0, replyId: Int? = null)