EventName
const EventName: object;Defined in: src/ports/events.ts:82
Named constants for every key in MeshCoreEventMap, so consumers may
subscribe by readable name instead of a bare string:
session.events.on(EventName.RAW_PACKET, …). Values equal the event keys, so
the constant and the raw string are interchangeable and both infer the typed
listener. satisfies validates each value; the guard below enforces coverage.
Type Declaration
Section titled “Type Declaration”AUTO_ADD_CONFIG
Section titled “AUTO_ADD_CONFIG”readonly AUTO_ADD_CONFIG: "autoAddConfig" = 'autoAddConfig';CHANNEL_PRESENCE
Section titled “CHANNEL_PRESENCE”readonly CHANNEL_PRESENCE: "channelPresence" = 'channelPresence';CHANNELS
Section titled “CHANNELS”readonly CHANNELS: "channels" = 'channels';CONTACT_DISCOVERED
Section titled “CONTACT_DISCOVERED”readonly CONTACT_DISCOVERED: "contactDiscovered" = 'contactDiscovered';CONTACT_EVICTED
Section titled “CONTACT_EVICTED”readonly CONTACT_EVICTED: "contactEvicted" = 'contactEvicted';CONTACT_OBSERVED
Section titled “CONTACT_OBSERVED”readonly CONTACT_OBSERVED: "contactObserved" = 'contactObserved';CONTACTS
Section titled “CONTACTS”readonly CONTACTS: "contacts" = 'contacts';CONTACTS_FULL
Section titled “CONTACTS_FULL”readonly CONTACTS_FULL: "contactsFull" = 'contactsFull';DEVICE_CAPABILITIES
Section titled “DEVICE_CAPABILITIES”readonly DEVICE_CAPABILITIES: "deviceCapabilities" = 'deviceCapabilities';DEVICE_IDENTITY
Section titled “DEVICE_IDENTITY”readonly DEVICE_IDENTITY: "deviceIdentity" = 'deviceIdentity';DEVICE_INFO
Section titled “DEVICE_INFO”readonly DEVICE_INFO: "deviceInfo" = 'deviceInfo';DISCOVERED
Section titled “DISCOVERED”readonly DISCOVERED: "discovered" = 'discovered';GPS_CONFIG
Section titled “GPS_CONFIG”readonly GPS_CONFIG: "gpsConfig" = 'gpsConfig';MESSAGE_PATH_HEARD
Section titled “MESSAGE_PATH_HEARD”readonly MESSAGE_PATH_HEARD: "messagePathHeard" = 'messagePathHeard';MESSAGE_STATE
Section titled “MESSAGE_STATE”readonly MESSAGE_STATE: "messageState" = 'messageState';MESSAGE_UPSERTED
Section titled “MESSAGE_UPSERTED”readonly MESSAGE_UPSERTED: "messageUpserted" = 'messageUpserted';MESSAGES
Section titled “MESSAGES”readonly MESSAGES: "messages" = 'messages';readonly OWNER: "owner" = 'owner';PATH_LEARNED
Section titled “PATH_LEARNED”readonly PATH_LEARNED: "pathLearned" = 'pathLearned';RADIO_SETTINGS
Section titled “RADIO_SETTINGS”readonly RADIO_SETTINGS: "radioSettings" = 'radioSettings';RAW_PACKET
Section titled “RAW_PACKET”readonly RAW_PACKET: "rawPacket" = 'rawPacket';REPEATER_STATUS
Section titled “REPEATER_STATUS”readonly REPEATER_STATUS: "repeaterStatus" = 'repeaterStatus';REPEATER_TELEMETRY
Section titled “REPEATER_TELEMETRY”readonly REPEATER_TELEMETRY: "repeaterTelemetry" = 'repeaterTelemetry';SYNC_PROGRESS
Section titled “SYNC_PROGRESS”readonly SYNC_PROGRESS: "syncProgress" = 'syncProgress';TELEMETRY_POLICY
Section titled “TELEMETRY_POLICY”readonly TELEMETRY_POLICY: "telemetryPolicy" = 'telemetryPolicy';TRANSPORT_STATE
Section titled “TRANSPORT_STATE”readonly TRANSPORT_STATE: "transportState" = 'transportState';