lora_gateway icon indicating copy to clipboard operation
lora_gateway copied to clipboard

Why set gpio direction twice in iot_sk_init()@reset_lgw.sh?

Open andrewintw opened this issue 4 years ago • 1 comments

Can someone explain after set IOT_SK_SX1301_RESET_PIN as gpio output in line 30 and do reset, why it need to set as gpio input in line 37? Does it really necessary?

https://github.com/Lora-net/lora_gateway/blob/master/reset_lgw.sh

andrewintw avatar Jun 22 '21 11:06 andrewintw

I have a related question: what is the point of the 'stop' command in the reset script at all? When would this ever be used? It simply unexports the reset GPIO pin, which is done anyway at the end of the "start" command. This is confusing and maybe unnecessary?

ryangriggs avatar Jan 06 '22 21:01 ryangriggs

Thank you for your inquiry.

Customers are encouraged to submit technical questions via our dedicated support portal at https://semtech.force.com/ldp/ldp_support.

We invite all users to visit the LoRa Developer Portal Forum at https://forum.lora-developers.semtech.com and to join the thriving LoRa development community!

smtc-bot avatar Oct 05 '22 04:10 smtc-bot