Closed ralcaide closed 6 years ago
After changing context and connection code to given one GPRS connection stuck at several random commands. Almost always at "AT+QIACT".
OK, this is a problem. Please try to find the reason asap, if it is not found after 1-2 hours, go further to the previous version and we will come back to that at the end of the project. At this moment we can not be blocked here
Tested KO: Working with AP basic code instead M2M
Proposal: While we are not figured and fixed issue with M2M we will push code in 2 branches. AP_based and M2M_based. It will allow us to have always up to date southbound and metadata/context changes in both versions. When we will fix M2M issue, we will merge M2M_based into develop.
Ok, I'm right with your approach. We will continue testing with AP_based branch
Hi. Now M2M version of code is working. Seems we had some random problem and now it is disappeared. But we have several issues: 1) Time management: after getting time from NTP we have date/time like 9-3-2036 06:28:46. 2) When setting 60 seconds in scheduler real actions appear once 2 minutes instead of once 1 minute.
We will investigate more in future.
We also added defines to disable SD driver in AP version. TODO add flash driver into AP code. Should we use internal flash or there is some external flash onboard?
Thanks for the commits and questions. Regarding your comments:
Also, If I understand well, now the M2M_Based and the AP_Based branches are working, right? What is the difference between them?
Only differences between branches now is engine and communication versions. Also I would like to ask if there is some parameters map for current project. In AP and in M2M version we left a lot of parameters in context, maybe some of them is not needed.
Ok, so by the moment AP_Based is working better.
Parameters map: Is still not available but I will try to provide it asap. We will use much more less parameters. Basically only the related with connection (APN, Broker, Topics) and the specific of TF
Testing AP_based, periodic enabled = 15 min and alerts enabled = 15 min, quectel always ON. Result: Publish only one time the periodic and the alert message.
Why? Try to reproduce and fix, please
Tested OK AP_Based
The provided code have several features not needed to this product but maybe are useful to start and understand the architecture. It is necessary to run it in the talking fiber board performing the necessary modifications (GPIO Init) and then start delete all the unnecessary code.
Steps: