mirror of
https://github.com/meshtastic/Meshtastic-Apple.git
synced 2026-04-20 22:13:56 +00:00
Remove debug code
This commit is contained in:
parent
89a7b3025f
commit
a6d287ee80
2 changed files with 1 additions and 12 deletions
|
|
@ -891,17 +891,6 @@ class BLEManager: NSObject, ObservableObject, CBCentralManagerDelegate, CBPeriph
|
|||
// MARK: Incoming ROUTING_APP Packet
|
||||
} else if decodedInfo.packet.decoded.portnum == PortNum.routingApp {
|
||||
|
||||
let currentNodeNum = self.connectedPeripheral.num
|
||||
|
||||
if let routingMessage = try? Routing(serializedData: decodedInfo.packet.decoded.payload) {
|
||||
print(decodedInfo.packet.decoded.requestID)
|
||||
print(decodedInfo.packet.priority)
|
||||
//let mes = routingMessage.
|
||||
let error = routingMessage.errorReason
|
||||
|
||||
//routingMessage.routeRequest
|
||||
}
|
||||
|
||||
if decodedInfo.packet.priority == MeshPacket.Priority.ack {
|
||||
|
||||
let fetchMessageRequest: NSFetchRequest<NSFetchRequestResult> = NSFetchRequest.init(entityName: "MessageEntity")
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@ class LocationHelper: NSObject, ObservableObject {
|
|||
|
||||
static let shared = LocationHelper()
|
||||
|
||||
// Apple Park ° N, 122.0090° W
|
||||
// Apple Park
|
||||
static let DefaultLocation = CLLocationCoordinate2D(latitude: 37.3346, longitude: -122.0090)
|
||||
|
||||
static let DefaultAltitude = CLLocationDistance(integerLiteral: 0)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue