Feature #579

Pair Button support

Added by Hammel 7 months ago. Updated 7 months ago.

Status:In ProgressStart date:28 Jul 2017
Priority:ImmediateDue date:
Assignee:Hammel% Done:

50%

Category:Software
Target version:Iron Man - 002 - MVP
Severity:04 - Low

Description

When pressed it toggles the state of pairing with IoT devices.
Should also show state (re: mode) via LEDs.

Associated revisions

Revision de2e733f
Added by Hammel 7 months ago

RM #579: Initial import of gpio reader/writer utility.

Revision de2e733f
Added by Hammel 7 months ago

RM #579: Initial import of gpio reader/writer utility.

Revision 37857306
Added by Hammel 7 months ago

RM #579: Remove extraneous stdout message.

Revision 37857306
Added by Hammel 7 months ago

RM #579: Remove extraneous stdout message.

Revision 8a4d06ad
Added by Hammel 7 months ago

RM #579: Bring up AP after dhcp has been started on it when in dual-mode (AP + client).

Revision 8a4d06ad
Added by Hammel 7 months ago

RM #579: Bring up AP after dhcp has been started on it when in dual-mode (AP + client).

Revision c0b2bdf2
Added by Hammel 7 months ago

RM #579: Remove "source" line because the directory referenced doesn't exist and isn't used.

Revision c0b2bdf2
Added by Hammel 7 months ago

RM #579: Remove "source" line because the directory referenced doesn't exist and isn't used.

History

#1 Updated by Hammel 7 months ago

  • Project changed from Sensors to Monitor
  • Category deleted (Software)

#2 Updated by Hammel 7 months ago

  • Category set to Software

#3 Updated by Hammel 7 months ago

  • Status changed from New to In Progress
  • Priority changed from Normal to Immediate
  • % Done changed from 0 to 50
  • Severity changed from 03 - Medium to 04 - Low

There is now a utility, imgpio that will read and write to arbitrary GPIO pins using sysfs. This is sufficient to check if a button is pressed or to set/reset an LED if called from a script. It could also be called from a C program via system() or similar.

This utility is built into it's own opkg and must be included in the (TBD) new metabuild for IronMan.

This utility still needs to be tested against real hardware, re: a real push button and LEDs.

Also available in: Atom PDF