hardware version:

mts-io-sysfs show product-id


LoRaWAN card version

mts-io-sysfs show lora/hw-version


mlinux version

cat /etc/mlinux-version


AEP version

cat /etc/issue


Does my gateway use SPI or USB?

ls -la /dev/spi*