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.
选择网站
选择网站以获取翻译的可用内容,以及查看当地活动和优惠。根据您的位置,我们建议您选择:。
您也可以从以下列表中选择网站:
如何获得最佳网站性能
选择中国网站(中文或英文)以获得最佳网站性能。其他 MathWorks 国家/地区网站并未针对您所在位置的访问进行优化。
美洲
- América Latina (Español)
- Canada (English)
- United States (English)
欧洲
- 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)