This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

LTE connect blocking while connecting to network

Hi,

I am developing an application based on the aws_iot sample which all works fine.

The application captures data from a sensor and publishes it to AWS.

However, during the connection phase which can be several minutes or when the connection is dropped the connect/ reconnect

blocks the work queue items and so no date is recorded during this time.

Can you explain how to work around this issue?

Thanks

Parents
  • Hello Dermot,

    dermot geraghty said:
    There is no problem connecting to the network generally and I haven't changed anything about k_sem_take or k_sem_give in the the lines cited.

    Thanks a lot for your feedback and clarifying the issue!

    dermot geraghty said:
    My problem is that while connecting to the network I also want to read the data from a sensor and store it in memory while the connection thread is running. This can't  happen at the moment.

    Where exactly in the application have you implemented the functionality that reads data from a sensor?

    Regards,

    Markus

Reply
  • Hello Dermot,

    dermot geraghty said:
    There is no problem connecting to the network generally and I haven't changed anything about k_sem_take or k_sem_give in the the lines cited.

    Thanks a lot for your feedback and clarifying the issue!

    dermot geraghty said:
    My problem is that while connecting to the network I also want to read the data from a sensor and store it in memory while the connection thread is running. This can't  happen at the moment.

    Where exactly in the application have you implemented the functionality that reads data from a sensor?

    Regards,

    Markus

Children
Related