Interruption and ADL


#1

Hi, is there any funcion, call… enything to call an Event Handler to recognise the interruption pin?

Best Regards,

Henrique


#2

Hi, a fellow from the forum told me:

Under OpenAT you enable the indication using AT+WIND=2559,
and then you will get a +WIND: 12 message when the interrupt
is triggered.

All right, the AT Commands Documentation really talk about it. But, how can I recognize the “+WIND: 12” message? I know we can send AT Commands with cmdCmdCreate… but how can I monitor the message?

Best Regards,

Henrique


#3

Hi
I think that u shoould simply use adl_UnsoSubscribe("+WIND"…) for waiting the message.

But i’ve also a question :smiley: what type of interrupt you are interessting ?


#4

It´s simple… suppose I have an external switch. I want to know exactly when it was pressed. I don´t want to check everytime it that pin is High or Low. Will this function tell me when it happens?

Best Regards,

Henrique


#5

Hi thanks
Ok, because i’m in the same case but i use the adl GPIOs that call an event when there is a change in the PIN.


#6

It really worked for me! But… do you know in what maximum frequency can it be used?

Best Regards,

Henrique