Hopefully things are working well Rob when you get your internet back and a chance to test. Things here in Montreal seem to be working well with the above set up at the moment. Still can’t get the slightly more expensive piece of junk LG-01 to work, though that may be from my own issues.
Quick question, I see in frequency in TTN, you have 915. How did you set your freq in the LG01 ?
I am able to make my nodes and gateways working on single 902300000 freq but not sure how you did it on LG01.
I am using the same things for my node Arduino UNO R3, Dragino Shield v1.4), and I have followed your code and instruction (except for 4th), but I still get the same result. my device is still not seen on TTN, but after following the instructions my serial output is this:
I am trying to connect to Meshed Gateways which are installed at Macquarie University(Sydney).
. My device address is
static const u4_t DEVADDR = 0x260024E8 ;
should I use LSB or MSB for APPSKEY and NWKSKEY?
I have tried both, it didnt make a change.
In the instruction of the code, it says * Do not forget to define the radio type correctly in config.h. BUT i dont know how to do it?
could you please help me as well,
no kisses, I promise
but I will invite you for a beer if you ever come to Sydney.
The config.h file is from the LMIC library, assuming you are using the Arduino IDE, you should see a LMIC folder in the libraries folder. In my case on a Win10 machine the config.h file is located at this path:
C:\Users<user name>\Documents\Arduino\libraries\IBM_LMIC_framework\src\lmic\config.h
If you open that file in an editor you’ll see this on the 8th and 9th line of code:
#define CFG_eu868 1
//#define CFG_us915 1
You will need to change it to this:
//#define CFG_eu868 1
#define CFG_us915 1
Also as far the Keys go if I remember correctly it’s MSB.
Also is your node sending out data on one single channel by modifying the limc.c file like is shown previously in this thread or did you not edit it which means it will continue to loop through the available channels looking to connect to a gateway?
I’m trying to use the available public gateways provided by Maj. Unfortunately I cannot get connected to them.
I have run many tests, but I get connected to other gateway just for few moments. I still can not figure out what is the problem??
This is the information for the gateway that I am trying to connect.
I just got connected again for few minutes to another gateway. the images below are the results shown on my TTN.
Well you can’t force your node to get picked up up by a specific gateway, and the gateway that you did get picked up by at least in the snippet you shared isn’t all that far away from the ones that you want to connect to. Also once again did you modify the code you are using to only use one channel or is your node looping through the all the available channels. It also seems like you are trying to send a lot of packets in a short time but I don’t think that is necessarily the issue.
Perhaps @Maj can help you since he might be able to look at his gateways back end.
Hi @Sam_zand, for the gateways at Macquarie Uni (and a few others), you need to set the band plan to AS923. We use both AS923 and AU915 in Australia. Unfortunately, since it’s a little unique for a country to use more than one band plan, it’s not obvious from the TTN Map which band plan a gateway is using.
I will explore the possibility of adding this with the TTN guys, but they are likely to be focussed on V3 at the moment.
Didn’t even realize you guys had both available to you. Good to know if I ever move to Australia! Also the request for the additional info regarding the plan in that specific area of the world and maybe others would definitely be helpful for anyone trying to set up a node.