Getting Started
Page 29
2.7.2
Configuring Wireless Functions
You can configure the following by accessing a configuration register on the SMBus:
Enable/disable power for a wireless interface card
Control user LEDs related to wireless interfaces
The
smb2_ctrl
tool included in the Windows ERTC/SMB Support Package (13Y021-70)
gives easy access to SMBus/I2C registers
.
Usage Examples
Disable the power supply for a wireless interface card:
Activate a user LED:
See
Chapter Accessing SMBus/I2C Devices
for more info on the software tool.
See
Chapter 4.1.1 User LED and Wireless Card Enable Register on page 40
for the
register description.
This example disables the LTE 1 module in a DIN-Rail system where ME4 is the first I/O
module.
- You need to read the current value before writing, so you can change only the desired
bit.
- The first I/O module has device address
0x4a
.
Read the current value of the configuration register:
>
smb2_ctrl smb2_1 -a=0x4a rb
0xff
Write value
0xfe
to toggle only bit 0 in order to disable the modem.
>
smb2_ctrl smb2_1 -a=0x4a wb -d=0xfe
This example enables the user LED 1 in a DIN-Rail system where ME4 is the first I/O
module.
- You need to read the current value before writing, so you can change only the desired
bit.
- The first I/O module has device address
0x4a
.
Read the current value of the configuration register:
>
smb2_ctrl smb2_1 -a=0x4a rb
0xff
Write value
0xf7
to toggle only bit 3 in order to enable the user LED 1.
>
smb2_ctrl smb2_1 -a=0x4a wb -d=0xf7