GPIO mode via Notehub

Please tell me if it is possible to configure a Notecard into Aux GPIO mode via setting of the Device or Fleet Environment variables or must it be done only via the USB connection to the Notecard using

{
“req”: “card.aux”,
“mode”: “gpio”
}

Hey @hussat,

Yeah check out _aux_gpio_set, _aux_gpio_report_enable, and _aux_gpio_report.

TJ

I’ve deployed a whole lot of notecards without turning on the gpio via USB and a test has shown that _aux_gpio_set does not function on the notecard. I think “mode” is still off. Question is can I change “mode” to “gpio” or vice-versa via Environment variables?