Some time ago, I had to set up a communication link using Libelium's LoRa Plug & Sense and gateway. Thanks to Waspmote SDK, it's really easy to configure the Plug & Sense. But there is no such facility for the gateway: you have to use a terminal emulator, and send hexadecimal frames to the gateway. So, I developed a small application that let the user configure the gateway in an easy way. Source code and associated documentation are available here. Don't hesitate to report bugs.