Created
February 7, 2019 20:51
-
-
Save carlosdelfino/e5c90332100682b54b917591d352c14b to your computer and use it in GitHub Desktop.
Arduinisk, buscando uma solução para comunicar com a porta Serial, recurso chamado SMDI, busco recurso que possa usar para envio e recebimento de dados pela porta serial, sem que seja pelo System() ou TrySystem().
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[arduinisk] | |
exten => s,1,NoOp | |
exten => s,2,Set(regx="([a-zA-Z0-9]+)") | |
exten => s,3,Set(CCIDNAME=$["${CALLERIDNAME}": ${regx}]) | |
exten => s,4,Set(regx="([0-9]+)") | |
exten => s,5,Set(CCIDNUM=$["${CALLERIDNUM}": ${regx}]) | |
exten => s,6,ComunicaSerial("${DATETIME}, ${CCIDNAME},${CCIDNUM}") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment