Home/Support/Support Forum/Set GPIO with CLI
Welcome to Digi Forum, where you can ask questions and receive answers from other members of the community.

Set GPIO with CLI

0 votes
I can set GPIO mode with CLI (set gpio range={1-n} mode={serial|input|output})
I have to use web user interface to togle output of GPIO signals between high and low (as per "Digi Connect Family Command Reference" manual on page 63).
Why is there no CLI command for this task?

My workaround:
I configure GPIO as output default low state with web UI.
I change GPIO mode with CLI to act as open collector (output = low, input = tristate).

I believe You should add "set gpio range={1-n} output={low|high}" to Your CLI commands :)

Best regards,

asked Jul 15, 2011 in Plug N' Play by peter_nn New to the Community (1 point)
recategorized Dec 4, 2013 by tuxembb

Please log in or register to answer this question.

2 Answers

0 votes
The GPIO is meant to be controlled via RCI using the set_state method: http://ftp1.digi.com/support/documentation/90000569_F.pdf
answered Jul 19, 2011 by charliek Veteran of the Digi Community (408 points)
0 votes
I think I have a similiar problem. I'm using the DC-ME4-01T-S momdule to control LEDs, I want the gpio state change immediately after I set its state, Now I find it won't change immediately. how did you configure it?
I would be appreciate that if you can give me a reply,Thanks!
answered May 30, 2016 by m271828ngtao New to the Community (1 point)