Is there a version of arduino BPS code in which I do not have to enter AT commands to configure the device?
I would like to be able to configure it from the code without having to enter AT commands.
Is there a version of arduino BPS code in which I do not have to enter AT commands to configure the device?
I would like to be able to configure it from the code without having to enter AT commands.
Welcome to the forum @Carlosjvp
If you do not want to use the AT commands, you don’t have to.
You can do the complete setup from your code.
But you have to change the source code of the application by yourself. It can be downloaded from Github
An example how to setup the credentials is in the README, you have to extend it to set the DevEUI, AppEUI, AppKey, Band, …
Hi thanks by the answer.
I understand that the Arduino BPS code is based on sending the data at the time configured in g_lorawan_settings.send_repeat_time , and when acc trigger activated it sends it by default at half the time.
// Set delay for sending to 1/2 of scheduled sending
min_delay = g_lorawan_settings.send_repeat_time / 2;
But in practice this don’t happend. I mean I move de de ices and the the acc trigger is not activated, I have tested the accelerometer with another code and it works.
I want to configure it, to sends the data every hour and when it moves every 2min. Is it possible to do this with this code?