Skip to Content
Welcome to the Spectrum Documentation

ConstaNetSetAttribute

ConstaNetSetAttribute.gd 
Extends: ConstaNetHeadder

Copyright (c) 2025
Liam Sherwin — All rights reserved.
Licensed under GPLv3

ConstaNetSetAttribute is the packet type used to update attributes on remote Constellation Network devices.
It can be used to rename devices, change IP configuration (where supported), or instruct devices to join a specific session.


Enumerations

Attribute

Defines which attribute is being modified by this packet.

EnumDescription
UNKNOWNDefault/uninitialized state.
NAMESets the human-readable name of the device.
IP_ADDRSets the IP address of a supported device.
SESSIONInstructs the device to join the given session.

Member Variables

attribute

DataType: Attribute
Default: Attribute.UNKNOWN
The attribute to modify on the target device.
This determines how the receiving node interprets the value field.


value

DataType: String
Default: ""
The new value to apply to the specified attribute.


Packet Structure

Offsets below refer to the payload portion (after the base header defined in ConstaNetHeadder).
See DataTypes.

OffsetTypeField
0uint16Attribute type
2stringValue
Last updated on