How to install a Waveshare SX1302 Hat on a Raspi as Gateway

D18 and D23 look to be correct and default in reset_gw.sh. But D18 is not labeled in the pinout diagram. D22 isn’t shown either bit is for CN version.

Have you reached out to waveshare support?
https://support.waveshare.com/hc/en-us/requests/new