Use Led Firmware To Turn On Led - Ralink RT2880 User Manual

Ralink ap sdk 3.5.0.0 & demo board
Table of Contents

Advertisement

Using the WPS PBC status LED as an example, the configurations would be:
InProgress: gpio l <gpio> 2 1 4000 0 4000 (i.e. 2 ticks bright, 1 tick dark, blinking forever.)
Error: gpio l <gpio> 1 1 4000 0 4000 (i.e. 1 tick bright, 1 tick dark, blinking forever.)
Session Overlap Detected: gpio l <gpio> 1 1 10 5 4000 (i.e. 1 tick bright, 1 tick dark,
blinking for 10 on-offs, resting for 5 on-offs, and never stops.)
Success: gpio l <gpio> 3000 1 1 1 1 (i.e. 3000 ticks bright, 1 tick dark, blinking for one
on-offs and one time.)
To turn the LED on and keep it on: gpio l <gpio> 4000 0 1 0 4000
To turn the LED off and keep it off: gpio l <gpio> 0 4000 0 1 4000

11.9 Use LED firmware to turn on LED

1. enable LED firmware
#make menuconfig
Kernel/Library/Defaults Selection --->
[*] Customize Kernel Settings
Network device support --->
Ralink Driver --->
Figure 13 LED Definition of WPS Specification
Page 63 of 93
RALINK AP SDK 3.3.0.0 User's Manual

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Rt3052Rt3883Rt3352

Table of Contents