Hi everyone,
I have one question regarding connection between the gateway and TTN. As of now, I don’t have a gateway so, can I connect to TTN without a physical gateway or by building a virtual gateway on my computer for testing? Is there is any possible way to test the same?
Please suggest me in this regards.
Thank you in advance.
What are you trying to achieve? Simulating a gateway is possible but won’t get you any data into a TTN application by itself, that would require a simulated node as wel.
I’d not do that. In the end TTN will just forward the received data to some application that you will need to develop yourself, or to a third-party using an integration. Time used on trying to simulate that part would better be spent on other parts. And since you need to ask how to do it:
That said, it might be good to understand how a gateway communicates with TTN. Reading the old Semtech forwarder protocol might give you an idea, and so does the more recent Basic Station protocol. I’d just not try to emulate the whole flow. Focus on the application, and get some hands-on experience with hardware instead.
Also: TTN Console allows for simulating uplinks in the Device Overview page. This expects an non-encrypted application payload (which, in an encrypted version, would be part of a full LoRaWAN packet as sent by the device):