add support to flag ourselves as a SysView peer, this would provide deeper feedback from the core;

master
Bryan Biedenkapp 1 month ago
parent 18d401fcef
commit f5c240d55d

@ -248,6 +248,7 @@ namespace fnecore
public const byte NET_FUNC_TRANSFER = 0x90; // Network Transfer Function
public const byte NET_TRANSFER_SUBFUNC_ACTIVITY = 0x01; // Activity Log Transfer
public const byte NET_TRANSFER_SUBFUNC_DIAG = 0x02; // Diagnostic Log Transfer
public const byte NET_TRANSFER_SUBFUNC_STATUS = 0x03; // Status Transfer
public const byte NET_FUNC_ANNOUNCE = 0x91; // Network Announce Function
public const byte NET_ANNC_SUBFUNC_GRP_AFFIL = 0x00; // Announce Group Affiliation

@ -50,6 +50,10 @@ namespace fnecore
/// Conventional Peer
/// </summary>
public bool ConventionalPeer;
/// <summary>
/// System View
/// </summary>
public bool SysView;
/// <summary>
/// Software Identifier

@ -924,6 +924,7 @@ namespace fnecore
// peer types
jsonWriter.WriteBoolean("externalPeer", info.Details.ExternalPeer);
jsonWriter.WriteBoolean("conventionalPeer", info.Details.ConventionalPeer);
jsonWriter.WriteBoolean("sysView", info.Details.SysView);
// system info
{

Loading…
Cancel
Save

Powered by TurnKey Linux.