Jump to content

Component: Injector (AT) (Test Injectors): Difference between revisions

From Flowcode Help
No edit summary
No edit summary
Line 14: Line 14:
==Injector (AT) component==
==Injector (AT) component==
Comms data injector to replicate basic AT command syntax.  The component will record each incoming character until the termination character is received. Once this happens the component will respond by echoing back the received data followed by an "OK"  reply.
Comms data injector to replicate basic AT command syntax.  The component will record each incoming character until the termination character is received. Once this happens the component will respond by echoing back the received data followed by an "OK"  reply.
==Component Pack==
FREE


==Detailed description==
==Detailed description==




Line 28: Line 34:


==Examples==
==Examples==




Line 106: Line 114:
|-
|-
| width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-void-icon.png]] - VOID
| width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-void-icon.png]] - VOID
| width="90%" style="border-top: 2px solid #000;" | ''Return''
|}
{| class="wikitable" style="width:60%; background-color:#FFFFFF;"
|-
| width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]]
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''GetConsoleHandle'''
|-
| colspan="2" | Gets the handle to the console allowing data displaying on the panel etc. 
|-
|-
| width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-h32-icon.png]] - HANDLE
| width="90%" style="border-top: 2px solid #000;" | ''Return''
| width="90%" style="border-top: 2px solid #000;" | ''Return''
|}
|}

Revision as of 16:19, 7 January 2022

Author Matrix Ltd
Version 1.1
Category Test Injectors


Injector (AT) component

Comms data injector to replicate basic AT command syntax. The component will record each incoming character until the termination character is received. Once this happens the component will respond by echoing back the received data followed by an "OK" reply.

Component Pack

FREE

Detailed description

No detailed description exists yet for this component

Examples

GSM Example File GSM Example Example should show the following on the display on the panel and on the hardware.


The AT injector component allows us to simulate the response of the GSM module.

Downloadable macro reference

UARTBaud
 
- BYTE Channel
 
- BYTE Rate
 
- VOID Return


UARTCheckRX
 
- BYTE Channel
 
- BYTE Return


UARTInitialise
 
- BYTE Channel
 
- VOID Return


GetConsoleHandle
Gets the handle to the console allowing data displaying on the panel etc. 
- HANDLE Return


UARTReceive
 
- BYTE Channel
 
- BYTE Return


UARTSend
 
- BYTE Channel
 
- BYTE Data
 
- VOID Return



Property reference

Properties
Circular Buffer Size
Amount of room in the circular buffers before running out of memory. e.g. max command that can be recorded. 
Termination Character
Character that will trigger the AT Injector to automatically switch from recording to repeating. 
Show Console
 
Connections
Simulations