Project

General

Profile

Actions

Feature #1200

closed

Have imrest check for gpio state to allow registrations

Added by Hammel 4 days ago. Updated 1 day ago.

Status:
Closed
Priority:
Immediate
Assignee:
Category:
Software
Target version:
-
Start date:
01 Apr 2025
Due date:
% Done:

100%

Estimated time:
Severity:
01 - Critical

Description

Since imrest was ported to C and mongoose, there is no need for imgpio, which was only created to support shell script queries of the gpio interface.
Add gpio queries to imrest directly to support checking for button changes.

Note: this is temporary because, now with C/mongoose, we can add a UI that allows programmatic enablement instead of relying on the GPIO hack. This change will come later.


Related issues

Related to Iron Man - Feature #1080: Sensors: 1 port power switchIn ProgressHammel16 Nov 2023

Actions
Blocks Sensors - Feature #1195: Port pwrctrl to use new APIIn ProgressHammel01 Apr 2025

Actions
Actions #1

Updated by Hammel 4 days ago

Actions #2

Updated by Hammel 4 days ago

Actions #3

Updated by Hammel 2 days ago

  • Status changed from New to In Progress
  • % Done changed from 0 to 50

Code is implemented in imrest sandbox.
Needs to be tested on hardware, using pwrctrl to verify registration completes.

Actions #4

Updated by Hammel 1 day ago

  • Status changed from In Progress to Closed
  • % Done changed from 50 to 100

Code tested on hardware and the GPIO pin can be properly read.

Code committed and pushed.

Closing issue.

Actions

Also available in: Atom PDF