mirror of
https://github.com/meshtastic/Meshtastic-Apple.git
synced 2026-04-20 22:13:56 +00:00
11 lines
477 B
Swift
11 lines
477 B
Swift
import Foundation
|
|
|
|
enum Constants {
|
|
/// `UInt32.max` or FFFF,FFFF in hex is used to identify messages that are being
|
|
/// sent to a channel and are not a DM to an individual user. This is used
|
|
/// in the `to` field of some mesh packets.
|
|
static let maximumNodeNum = UInt32.max
|
|
/// Based on the NUM_RESERVED from the firmware.
|
|
/// https://github.com/meshtastic/firmware/blob/46d7b82ac1a4292ba52ca690e1a433d3a501a9e5/src/mesh/NodeDB.cpp#L522
|
|
static let minimumNodeNum = 4
|
|
}
|