You’ll see there is now a ttnmapper integration available in the console. It will work with Cayenne messages although a format that also includes hdop is preferred
I’ll have a play with your code later @OlofAst - keep up the great work on the github updates!
Just on TTN side the board connects fine via OTA on SF7, also switches to random frequencies on uplinks etc all fine, but after the SF7 join request it switches to SF12 and stays there - need to sort this out
Is it right to register the device and then put in the values in commissioning.h?
The values in commissioning.h are big-endian. What does that mean for project building?
Do I have to compile all files with big endian? Do I have the choice between little and big or is it fixed for STM32L151?
I changed to Crossworks and have got the code compiled and linked.
Now I tried to start the OTAA process, but without success.
It was hard to find out (after hours of try) that the two EUI has to implement in little endian, and the key in big endian (I hape that’s right), but that doesn’t help.
Here the output from the board (EUIs and KEY are changed for security reason):
So its trying OTAA connection, what are you seeing on your gateway console? triple check those parameters in the RAK output with your TTN application too
Yes it’s trying, but not sucessful
I have to admit, that I have no own gateway. I am waiting since months for my ttn gateway.
But I have more than one strong gatways which should receive my data.
I have copied device EUI an Application EUI in hex / lsb and App Key EUI in hex/msb from TTN Website and copied it into Commissioning.h.
No idea why OTAA doesnt work.
Hi.
I have a few rak811 wisnodes that I have working successfully in Australia.
I gather you have the AT modem style firmware running on your device. The AT commands via the serial port should work for you.
Check the AT command documentation.
Make sure you are running the right frequency plan for your region.
You can set the app_eui and app_key via standard AT commands. You might also have to set up the channel mask command to restrict transmission to only the 8 channels supported by your gateway. You do not need to do any conversion of app_eui and app_key. Just cut and paste into your terminal program from ttn console.
The dev_eui should not need changing, it should be set by the hardware.
Hi there, no this is not the AT firmware but the tracker/sensor code with a lorawan stack, you can install the standard 811 AT command firmware to test but that is a different approach - the one here is effectively a stand alone coding the STM32L151 with the LORAMAC library etc
You probably need to be 100% you have a reachable gateway first, diagnosing a failed connection is going to be difficult otherwise - does any data appear in the application data tab? these boards have a nice reset button that work well as you monitor the TTN console for activity.
The RAK 811 docs refer to use of “Uart AssistTool” when using AT commands & I see graphics with title “CommUart Assistant”. Anyone have a link to this specific tool? Google didnt pull anything directly same and quick check on RAK site (+Github) found nothing…feeling a bit dumb here!