Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sends when a event happends #111

Open
camilo-17 opened this issue Dec 12, 2019 · 1 comment
Open

Sends when a event happends #111

camilo-17 opened this issue Dec 12, 2019 · 1 comment

Comments

@camilo-17
Copy link

Hello everyone, excuse my English, I would like to know if there is or someone has developed a sketch where the shipment is made when an event happens, I want to make a project where data is sent every 10 minutes and every time a button is pressed thank you very much for your attention

@terrillmoore
Copy link
Member

Hi Camilo, we have done this, but as you can see, it requires a different sketch structure. For more complicated applications, I always use a combination of finite state machines, so I can really control what's going on. If you look at the example sensor sketch for the Catena 4430 https://github.com/mcci-catena/mcci-catena-4430/tree/master/examples/Catena4430_Sensor, you'll see a more structured, fully-worked application. It doesn't send messages on demand, but I think it's much easier to adapt to send messages on demand.

Perhaps my team here at MCCI (@dhineshkumarmcci @sjpark-mcci @svelmurugan92) can work with me to put together a clean sample sketch, structured with explicit FSMs, that supports an uplink on event as well as a periodic uplink.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants