Fix assorted paper cuts

This commit is contained in:
Garth Vander Houwen 2021-09-23 22:11:24 -07:00
parent ebf243f203
commit 93cfda20ed
8 changed files with 27 additions and 113 deletions

View file

@ -1,8 +1,22 @@
//
// PacketModel.swift
// MeshtasticClient
//
// Created by Garth Vander Houwen on 9/23/21.
//
struct PacketModel: Identifiable {
var id: UInt32
var from: UInt32
var to: UInt32
var channel: UInt32
var rxTime: UInt32
var hopLimit: UInt32
var wantAck: Bool
import Foundation
init(id: UInt32, from: UInt32, to: UInt32, channel: UInt32, rxTime: UInt32, hopLimit: UInt32, wantAck: Bool) {
self.id = id
self.from = from
self.to = to
self.channel = channel
self.rxTime = rxTime
self.hopLimit = hopLimit
self.wantAck = wantAck
}
}