wnet.TechnologyType Class
Namespace: wnet
Description
Use the wnet.TechnologyType class to hold constant properties that specify
technology types. You can use them to fill the TechnologyType field of
wirelessPacket.
These properties indicate the technology of the packet transmitted by the wireless node
(wnet.Node).
Properties
Technology type of wireless local area network (WLAN), specified as
1.
The WLAN node object of type wlanNode (WLAN Toolbox) sets the
TechnologyType field of the transmitted wirelessPacket and the TechnologyType field of the
event data sent in the registerEventCallback (WLAN Toolbox) callback to this value.
Attributes:
Constant | true |
Data Types: double
Technology type of 5G, specified as 2.
The new radio (NR) node object of type nrUE (5G Toolbox) or nrGNB (5G Toolbox)sets the
TechnologyType field of the transmitted wirelessPacket and the TechnologyType field of the
event data sent in the registerEventCallback (5G Toolbox) callback to this value.
Attributes:
Constant | true |
Data Types: double
Technology type of Bluetooth low energy (LE), specified as 3.
The Bluetooth LE node object of type bluetoothLENode (Bluetooth Toolbox) sets the TechnologyType field of the
transmitted wirelessPacket and the TechnologyType field of the
event data sent in the registerEventCallback (Bluetooth Toolbox) callback to this value.
Attributes:
Constant | true |
Data Types: double
Technology type of Bluetooth basic rate/enhanced data rate (BR/EDR), specified as
4.
The Bluetooth BR/EDR node object of type bluetoothNode (Bluetooth Toolbox) sets the TechnologyType field of the
transmitted wirelessPacket and the TechnologyType field of the
event data sent in the registerEventCallback (Bluetooth Toolbox) callback to this value.
Attributes:
Constant | true |
Data Types: double
Custom technology type 1, specified as 101. In a custom wireless
node inherited from wnet.Node, you
can use this constant to set the TechnologyType field of wirelessPacket, indicating your custom technology implementation.
Attributes:
Constant | true |
Data Types: double
Custom technology type 2, specified as 102. In a custom wireless
node inherited from wnet.Node, you
can use this constant to set the TechnologyType field of wirelessPacket, indicating your custom technology implementation.
Attributes:
Constant | true |
Data Types: double
Custom technology type 3, specified as 103. In a custom wireless
node inherited from wnet.Node, you
can use this constant to set the TechnologyType field of wirelessPacket, indicating your custom technology implementation.
Attributes:
Constant | true |
Data Types: double
Custom technology type 4, specified as 104. In a custom wireless
node inherited from wnet.Node, you
can use this constant to set the TechnologyType field of wirelessPacket, indicating your custom technology implementation.
Attributes:
Constant | true |
Data Types: double
Custom technology type 5, specified as 105. In a custom wireless
node inherited from wnet.Node, you
can use this constant to set the TechnologyType field of wirelessPacket, indicating your custom technology implementation.
Attributes:
Constant | true |
Data Types: double
Custom technology type 6, specified as 106. In a custom wireless
node inherited from wnet.Node, you
can use this constant to set the TechnologyType field of wirelessPacket, indicating your custom technology implementation.
Attributes:
Constant | true |
Data Types: double
Custom technology type 7, specified as 107. In a custom wireless
node inherited from wnet.Node, you
can use this constant to set the TechnologyType field of wirelessPacket, indicating your custom technology implementation.
Attributes:
Constant | true |
Data Types: double
Custom technology type 8, specified as 108. In a custom wireless
node inherited from wnet.Node, you
can use this constant to set the TechnologyType field of wirelessPacket, indicating your custom technology implementation.
Attributes:
Constant | true |
Data Types: double
Custom technology type 9, specified as 109. In a custom wireless
node inherited from wnet.Node, you
can use this constant to set the TechnologyType field of wirelessPacket, indicating your custom technology implementation.
Attributes:
Constant | true |
Data Types: double
More About
To use the wnet.TechnologyType class, follow these steps:
Create an object of the
wnet.TechnologyTypeclass.techType = wnet.TechnologyType
You can use the constant properties either through the object or directly from the class to specify the technology type for a wireless packet.
% Using the object constant = techTypeObj.WLAN; % Using the class directly constant = wnet.TechnologyType.WLAN;
Use the constant property when setting the
TechnologyTypefield ofwirelessPacket, which is transmitted from a wireless node (wnet.Node):packet = wirelessPacket; packet.TechnologyType = wnet.TechnologyType.WLAN;
Version History
Introduced in R2026a
See Also
Classes
Objects
nrUE(5G Toolbox) |nrGNB(5G Toolbox) |bluetoothLENode(Bluetooth Toolbox) |bluetoothNode(Bluetooth Toolbox) |wlanNode(WLAN Toolbox)
Functions
MATLAB Command
You clicked a link that corresponds to this MATLAB command:
Run the command by entering it in the MATLAB Command Window. Web browsers do not support MATLAB commands.
Sélectionner un site web
Choisissez un site web pour accéder au contenu traduit dans votre langue (lorsqu'il est disponible) et voir les événements et les offres locales. D’après votre position, nous vous recommandons de sélectionner la région suivante : .
Vous pouvez également sélectionner un site web dans la liste suivante :
Comment optimiser les performances du site
Pour optimiser les performances du site, sélectionnez la région Chine (en chinois ou en anglais). Les sites de MathWorks pour les autres pays ne sont pas optimisés pour les visites provenant de votre région.
Amériques
- América Latina (Español)
- Canada (English)
- United States (English)
Europe
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom (English)