Event on connect

Support forum for MegunoLink
Post Reply
strud
Posts: 24
Joined: Sat Nov 18, 2023 6:51 am

Tue Feb 04, 2025 8:55 pm

I have firmware that is desined for plain terminal interfacing and for Megunolink (which requires special formatting etc).

However I would like to inform the firmware that a Megunolink application is communicating with it from the get go (automatically) say straight after any form of connection is made.

Is there an event that can be triggered to send a message after connection is established?

Of course one could use the timer I guess? but this will keep sending forever.
philr
Posts: 457
Joined: Mon May 26, 2014 10:58 am

Sat Feb 22, 2025 3:25 am

Hi yes, in our interface panel visualiser you can drop a SerialConnection object that will send a message after some delay when a connection is established. You could also implement something like this where it would be able to tell if megunolink is connected or not at all times.

https://www.megunolink.com/articles/exa ... ers-guide/
Post Reply