-
-
Notifications
You must be signed in to change notification settings - Fork 27
/
Copy pathremoteSerial.xml
49 lines (41 loc) · 2.24 KB
/
remoteSerial.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
<TcMenuPlugin name="Arduino Serial remote control (Rs232 / USB / Bluetooth)" id="1e38dc42-672d-4c1c-a393-2c7632bf6c5c" subsystem="REMOTE"
xmlns="https://www.thecoderscorner.com/libraries/tcmenuPluginItem" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="https://www.thecoderscorner.com/libraries/tcmenuPluginItem https://tcmenu.github.io/documentation/arduino-libraries/libraries/tcmenu-plugin-item.xsd">
<SupportedPlatforms>
<Platform>ARDUINO_UNO</Platform>
<Platform>ARDUINO_AVR</Platform>
<Platform>ARDUINO_32</Platform>
<Platform>STM32DUINO</Platform>
</SupportedPlatforms>
<Description>Control your application via embedCONTROL desktop or API using a wide range of Serial endpoints. EG: RS232, USBSerial, Bluetooth. The full menu structure will be available to the remote using either the protocol or the API..</Description>
<Documentation link="https://tcmenu.github.io/documentation/arduino-libraries/tc-menu/tcmenu-iot/serial-remote-plugin/"/>
<RequiredLibraries/>
<ImageFile>serial-connection.jpg</ImageFile>
<Properties>
<Property id="SERIAL_PORT" name="Serial port" desc="Enter the variable name of the serial port, E.G: Serial" initial="Serial" type="variable"/>
</Properties>
<ApplicabilityDefs/>
<SourceFiles>
<SourceFile name="serialSrc/SerialTransport.cpp"/>
<SourceFile name="serialSrc/SerialTransport.h"/>
</SourceFiles>
<IncludeFiles>
<Header name="RemoteConnector.h" inSource="false"/>
<Header name="SerialTransport.h" inSource="true"/>
</IncludeFiles>
<GlobalVariables>
<Variable name="serialInitializer" type="NoInitialisationNeeded"/>
<Variable name="serialTransport" type="SerialTagValueTransport">
<Param ref="${SERIAL_PORT}"/>
</Variable>
<Variable name="serialConnection" type="TagValueRemoteServerConnection">
<Param value="serialTransport"/>
<Param value="serialInitializer"/>
</Variable>
</GlobalVariables>
<SetupFunctions>
<Function name="addConnection" object="remoteServer">
<Param ref="serialConnection"/>
</Function>
</SetupFunctions>
</TcMenuPlugin>