Giter Site home page Giter Site logo

avnet / azure-iot-mbed-client Goto Github PK

View Code? Open in Web Editor NEW
5.0 2.0 3.0 59 KB

An example implementation of an Azure IoT Client using a cellular data connection.

License: MIT License

C++ 66.33% C 27.38% Python 4.81% Shell 1.48%
azure-iot mbed avnet

azure-iot-mbed-client's People

Contributors

jflynn129 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

azure-iot-mbed-client's Issues

Increasing message interval for over 2 minutes - hangs in DoWork function

Hi,

I'm using this Avnet's Telus LTE-M IoT Starter Kit with the sample code provided by this repo, but I'm running into an issue where when I sleep the thread for anything over a minute it stops sending. It sends the first time, but when the loop runs again it calls DoWork and never leaves, it just hangs there. I tried asking this question over at azure-io-sdk-c's repo but they suggested that I ask here instead since there are runtime/platform specifics that they aren't familiar with.

This happens when I don't change anything in the main .cpp file except for value inside ThisThread::sleep_for()
I've also tried putting the BG96 module to PSM while the thread is sleeping, and it's the same result (hangs in DoWork).

My goal is to lower the power consumption so that the device lasts for ~1 week before it runs out of battery (battery pack I'm using is 6700mAh) and I have flexibility on how often a message is sent. Any advice/guidance would be appreciated.
Thank you!
Ellaine

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.