├── extras
├── CSharp
│ ├── .gitignore
│ ├── ZedGraph
│ │ ├── ZedGraph.dll
│ │ ├── ZedGraph.Web.dll
│ │ ├── de
│ │ │ └── ZedGraph.resources.dll
│ │ ├── es
│ │ │ └── ZedGraph.resources.dll
│ │ ├── fr
│ │ │ └── ZedGraph.resources.dll
│ │ ├── hu
│ │ │ └── ZedGraph.resources.dll
│ │ ├── it
│ │ │ └── ZedGraph.resources.dll
│ │ ├── ja
│ │ │ └── ZedGraph.resources.dll
│ │ ├── pt
│ │ │ └── ZedGraph.resources.dll
│ │ ├── ru
│ │ │ └── ZedGraph.resources.dll
│ │ ├── sk
│ │ │ └── ZedGraph.resources.dll
│ │ ├── sv
│ │ │ └── ZedGraph.resources.dll
│ │ ├── tr
│ │ │ └── ZedGraph.resources.dll
│ │ ├── zh-cn
│ │ │ └── ZedGraph.resources.dll
│ │ └── zh-tw
│ │ │ └── ZedGraph.resources.dll
│ ├── DataLogging
│ │ ├── ChartForm.resources
│ │ ├── Properties
│ │ │ ├── Resources.resources
│ │ │ ├── Settings.settings
│ │ │ ├── Settings.Designer.cs
│ │ │ └── AssemblyInfo.cs
│ │ ├── app.config
│ │ ├── Program.cs
│ │ └── ChartForm.Designer.cs
│ ├── Bluetooth
│ │ └── InTheHand.Net.Personal.dll
│ ├── TemperatureControl
│ │ ├── ChartForm.resources
│ │ ├── Properties
│ │ │ ├── Resources.resources
│ │ │ ├── Settings.settings
│ │ │ ├── Settings.Designer.cs
│ │ │ └── AssemblyInfo.cs
│ │ ├── app.config
│ │ ├── Program.cs
│ │ └── LoggingView.Designer.cs
│ ├── Receive
│ │ ├── app.config
│ │ ├── Program.cs
│ │ └── Properties
│ │ │ └── AssemblyInfo.cs
│ ├── ArduinoController
│ │ ├── app.config
│ │ ├── Properties
│ │ │ ├── Settings.settings
│ │ │ ├── Settings.Designer.cs
│ │ │ └── AssemblyInfo.cs
│ │ ├── Program.cs
│ │ └── ControllerForm.cs
│ ├── CommandMessengerTests
│ │ ├── app.config
│ │ ├── Program.cs
│ │ ├── systemSettings.cs
│ │ ├── Tests
│ │ │ └── Random.cs
│ │ ├── Enumerator.cs
│ │ └── Properties
│ │ │ └── AssemblyInfo.cs
│ ├── SendAndReceiveArguments
│ │ ├── app.config
│ │ ├── Program.cs
│ │ └── Properties
│ │ │ └── AssemblyInfo.cs
│ ├── SendAndReceiveBinaryArguments
│ │ ├── app.config
│ │ ├── Program.cs
│ │ └── Properties
│ │ │ └── AssemblyInfo.cs
│ ├── SimpleWatchdog
│ │ ├── Program.cs
│ │ └── Properties
│ │ │ └── AssemblyInfo.cs
│ ├── SimpleBluetooth
│ │ ├── Program.cs
│ │ └── Properties
│ │ │ └── AssemblyInfo.cs
│ ├── SendAndReceive
│ │ ├── Program.cs
│ │ ├── ConsoleUtils.cs
│ │ └── Properties
│ │ │ └── AssemblyInfo.cs
│ ├── CommandMessenger
│ │ ├── CommandMessenger.nuspec
│ │ ├── CommandEventArgs.cs
│ │ ├── Queue
│ │ │ ├── GeneralStrategy.cs
│ │ │ ├── TopCommandStrategy.cs
│ │ │ ├── CommandStrategy.cs
│ │ │ ├── CollapseCommandStrategy.cs
│ │ │ ├── ListQueue.cs
│ │ │ └── StaleGeneralStrategy.cs
│ │ ├── Properties
│ │ │ └── AssemblyInfo.cs
│ │ ├── StringUtils.cs
│ │ ├── Transport
│ │ │ └── ITransport.cs
│ │ ├── TimeUtils.cs
│ │ ├── StructSerializer.cs
│ │ └── Logger.cs
│ ├── CommandMessenger.Transport.Serial
│ │ ├── CommandMessenger.Transport.Serial.nuspec
│ │ ├── ISerialConnectionStorer.cs
│ │ ├── Properties
│ │ │ └── AssemblyInfo.cs
│ │ └── SerialSettings.cs
│ ├── CommandMessenger.Transport.Network
│ │ ├── CommandMessenger.Transport.Network.nuspec
│ │ ├── Properties
│ │ │ └── AssemblyInfo.cs
│ │ └── TcpConnectionManager.cs
│ ├── CommandMessenger.Transport.Bluetooth
│ │ ├── CommandMessenger.Transport.Bluetooth.nuspec
│ │ ├── IBluetoothConnectionStorer.cs
│ │ └── Properties
│ │ │ └── AssemblyInfo.cs
│ ├── build.bat
│ └── CommandMessenger.Transport.IPC
│ │ └── Properties
│ │ └── AssemblyInfo.cs
├── documentation
│ ├── PC
│ │ └── html
│ │ │ ├── bc_s.png
│ │ │ ├── open.png
│ │ │ ├── closed.png
│ │ │ ├── doxygen.png
│ │ │ ├── nav_f.png
│ │ │ ├── nav_h.png
│ │ │ ├── tab_a.png
│ │ │ ├── tab_b.png
│ │ │ ├── tab_h.png
│ │ │ ├── tab_s.png
│ │ │ ├── class_command_messenger_1_1_command.png
│ │ │ ├── class_command_messenger_1_1_send_command.png
│ │ │ ├── class_command_messenger_1_1_received_command.png
│ │ │ ├── class_command_messenger_1_1_connection_manager.png
│ │ │ ├── tabs.css
│ │ │ ├── index.html
│ │ │ ├── namespace_tools.html
│ │ │ ├── class_receive_1_1_program-members.html
│ │ │ ├── class_send_and_receive_1_1_program-members.html
│ │ │ ├── class_command_messenger_tests_1_1_program-members.html
│ │ │ ├── class_send_and_receive_arguments_1_1_program-members.html
│ │ │ ├── class_send_and_receive_binary_arguments_1_1_program-members.html
│ │ │ └── namespace_receive.html
│ ├── Arduino
│ │ └── html
│ │ │ ├── bc_s.png
│ │ │ ├── open.png
│ │ │ ├── closed.png
│ │ │ ├── doxygen.png
│ │ │ ├── nav_f.png
│ │ │ ├── nav_h.png
│ │ │ ├── tab_a.png
│ │ │ ├── tab_b.png
│ │ │ ├── tab_h.png
│ │ │ ├── tab_s.png
│ │ │ ├── tabs.css
│ │ │ ├── index.html
│ │ │ ├── files.html
│ │ │ ├── annotated.html
│ │ │ └── classes.html
│ └── Documentation.html
└── VisualBasic
│ ├── Receive
│ ├── My Project
│ │ ├── AssemblyInfo.vb
│ │ └── Settings.settings
│ ├── Program.vb
│ ├── app.config
│ └── Receive.vb
│ ├── DataLogging
│ ├── My Project
│ │ ├── AssemblyInfo.vb
│ │ ├── Settings.settings
│ │ └── Resources.Designer.vb
│ ├── Program.vb
│ ├── app.config
│ └── ChartForm.Designer.vb
│ ├── SendAndReceive
│ ├── My Project
│ │ └── AssemblyInfo.vb
│ ├── Program.vb
│ └── app.config
│ ├── SimpleWatchdog
│ ├── My Project
│ │ └── AssemblyInfo.vb
│ └── Program.vb
│ ├── CommandMessenger
│ ├── My Project
│ │ └── AssemblyInfo.vb
│ ├── ConsoleUtils.vb
│ ├── Serialport
│ │ └── ISerialConnectionStorer.vb
│ ├── Bluetooth
│ │ └── IBluetoothConnectionStorer.vb
│ ├── TransportLayer
│ │ └── ITransport.vb
│ ├── NewLineEvent.vb
│ ├── Queue
│ │ ├── TopCommandStrategy.vb
│ │ ├── GeneralStrategy.vb
│ │ ├── CollapseCommandStrategy.vb
│ │ ├── ListQueue.vb
│ │ ├── StaleGeneralStrategy.vb
│ │ └── CommandStrategy.vb
│ ├── DisposableObject.vb
│ ├── StringUtils.vb
│ ├── TimeUtils.vb
│ ├── StructSerializer.vb
│ └── DisposeStack.vb
│ ├── SimpleBluetooth
│ ├── My Project
│ │ └── AssemblyInfo.vb
│ └── Program.vb
│ ├── ArduinoController
│ ├── My Project
│ │ ├── AssemblyInfo.vb
│ │ ├── Settings.settings
│ │ └── Resources.Designer.vb
│ ├── Program.vb
│ ├── app.config
│ └── ControllerForm.vb
│ ├── TemperatureControl
│ ├── My Project
│ │ ├── AssemblyInfo.vb
│ │ ├── Settings.settings
│ │ └── Resources.Designer.vb
│ ├── Program.vb
│ ├── LoggingView.Designer.vb
│ ├── app.config
│ └── LoggingView.vb
│ ├── SendAndReceiveArguments
│ ├── My Project
│ │ └── AssemblyInfo.vb
│ ├── Program.vb
│ └── app.config
│ └── SendAndReceiveBinaryArguments
│ ├── My Project
│ └── AssemblyInfo.vb
│ ├── Program.vb
│ └── app.config
├── .gitignore
├── utility
├── DoEvery.h
├── DoEvery.cpp
└── HeaterSim.h
├── library.properties
├── library.json
├── LICENSE.md
├── keywords.txt
├── .travis.yml
└── examples
├── SendAndReceive
└── SendAndReceive.ino
└── Receive
└── Receive.ino
/extras/CSharp/.gitignore:
--------------------------------------------------------------------------------
1 | [Bb]in/
2 | [Oo]bj/
3 | _ReSharper*/
4 | *.suo
5 | *.csproj.user
6 |
--------------------------------------------------------------------------------
/extras/CSharp/ZedGraph/ZedGraph.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/thijse/Arduino-CmdMessenger/HEAD/extras/CSharp/ZedGraph/ZedGraph.dll
--------------------------------------------------------------------------------
/extras/documentation/PC/html/bc_s.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/thijse/Arduino-CmdMessenger/HEAD/extras/documentation/PC/html/bc_s.png
--------------------------------------------------------------------------------
/extras/documentation/PC/html/open.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/thijse/Arduino-CmdMessenger/HEAD/extras/documentation/PC/html/open.png
--------------------------------------------------------------------------------
/extras/CSharp/ZedGraph/ZedGraph.Web.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/thijse/Arduino-CmdMessenger/HEAD/extras/CSharp/ZedGraph/ZedGraph.Web.dll
--------------------------------------------------------------------------------
/extras/documentation/PC/html/closed.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/thijse/Arduino-CmdMessenger/HEAD/extras/documentation/PC/html/closed.png
--------------------------------------------------------------------------------
/extras/documentation/PC/html/doxygen.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/thijse/Arduino-CmdMessenger/HEAD/extras/documentation/PC/html/doxygen.png
--------------------------------------------------------------------------------
/extras/documentation/PC/html/nav_f.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/thijse/Arduino-CmdMessenger/HEAD/extras/documentation/PC/html/nav_f.png
--------------------------------------------------------------------------------
/extras/documentation/PC/html/nav_h.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/thijse/Arduino-CmdMessenger/HEAD/extras/documentation/PC/html/nav_h.png
--------------------------------------------------------------------------------
/extras/documentation/PC/html/tab_a.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/thijse/Arduino-CmdMessenger/HEAD/extras/documentation/PC/html/tab_a.png
--------------------------------------------------------------------------------
/extras/documentation/PC/html/tab_b.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/thijse/Arduino-CmdMessenger/HEAD/extras/documentation/PC/html/tab_b.png
--------------------------------------------------------------------------------
/extras/documentation/PC/html/tab_h.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/thijse/Arduino-CmdMessenger/HEAD/extras/documentation/PC/html/tab_h.png
--------------------------------------------------------------------------------
/extras/documentation/PC/html/tab_s.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/thijse/Arduino-CmdMessenger/HEAD/extras/documentation/PC/html/tab_s.png
--------------------------------------------------------------------------------
/extras/documentation/Arduino/html/bc_s.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/thijse/Arduino-CmdMessenger/HEAD/extras/documentation/Arduino/html/bc_s.png
--------------------------------------------------------------------------------
/extras/documentation/Arduino/html/open.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/thijse/Arduino-CmdMessenger/HEAD/extras/documentation/Arduino/html/open.png
--------------------------------------------------------------------------------
/extras/CSharp/DataLogging/ChartForm.resources:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/thijse/Arduino-CmdMessenger/HEAD/extras/CSharp/DataLogging/ChartForm.resources
--------------------------------------------------------------------------------
/extras/documentation/Arduino/html/closed.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/thijse/Arduino-CmdMessenger/HEAD/extras/documentation/Arduino/html/closed.png
--------------------------------------------------------------------------------
/extras/documentation/Arduino/html/doxygen.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/thijse/Arduino-CmdMessenger/HEAD/extras/documentation/Arduino/html/doxygen.png
--------------------------------------------------------------------------------
/extras/documentation/Arduino/html/nav_f.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/thijse/Arduino-CmdMessenger/HEAD/extras/documentation/Arduino/html/nav_f.png
--------------------------------------------------------------------------------
/extras/documentation/Arduino/html/nav_h.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/thijse/Arduino-CmdMessenger/HEAD/extras/documentation/Arduino/html/nav_h.png
--------------------------------------------------------------------------------
/extras/documentation/Arduino/html/tab_a.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/thijse/Arduino-CmdMessenger/HEAD/extras/documentation/Arduino/html/tab_a.png
--------------------------------------------------------------------------------
/extras/documentation/Arduino/html/tab_b.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/thijse/Arduino-CmdMessenger/HEAD/extras/documentation/Arduino/html/tab_b.png
--------------------------------------------------------------------------------
/extras/documentation/Arduino/html/tab_h.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/thijse/Arduino-CmdMessenger/HEAD/extras/documentation/Arduino/html/tab_h.png
--------------------------------------------------------------------------------
/extras/documentation/Arduino/html/tab_s.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/thijse/Arduino-CmdMessenger/HEAD/extras/documentation/Arduino/html/tab_s.png
--------------------------------------------------------------------------------
/extras/CSharp/Bluetooth/InTheHand.Net.Personal.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/thijse/Arduino-CmdMessenger/HEAD/extras/CSharp/Bluetooth/InTheHand.Net.Personal.dll
--------------------------------------------------------------------------------
/extras/CSharp/ZedGraph/de/ZedGraph.resources.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/thijse/Arduino-CmdMessenger/HEAD/extras/CSharp/ZedGraph/de/ZedGraph.resources.dll
--------------------------------------------------------------------------------
/extras/CSharp/ZedGraph/es/ZedGraph.resources.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/thijse/Arduino-CmdMessenger/HEAD/extras/CSharp/ZedGraph/es/ZedGraph.resources.dll
--------------------------------------------------------------------------------
/extras/CSharp/ZedGraph/fr/ZedGraph.resources.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/thijse/Arduino-CmdMessenger/HEAD/extras/CSharp/ZedGraph/fr/ZedGraph.resources.dll
--------------------------------------------------------------------------------
/extras/CSharp/ZedGraph/hu/ZedGraph.resources.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/thijse/Arduino-CmdMessenger/HEAD/extras/CSharp/ZedGraph/hu/ZedGraph.resources.dll
--------------------------------------------------------------------------------
/extras/CSharp/ZedGraph/it/ZedGraph.resources.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/thijse/Arduino-CmdMessenger/HEAD/extras/CSharp/ZedGraph/it/ZedGraph.resources.dll
--------------------------------------------------------------------------------
/extras/CSharp/ZedGraph/ja/ZedGraph.resources.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/thijse/Arduino-CmdMessenger/HEAD/extras/CSharp/ZedGraph/ja/ZedGraph.resources.dll
--------------------------------------------------------------------------------
/extras/CSharp/ZedGraph/pt/ZedGraph.resources.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/thijse/Arduino-CmdMessenger/HEAD/extras/CSharp/ZedGraph/pt/ZedGraph.resources.dll
--------------------------------------------------------------------------------
/extras/CSharp/ZedGraph/ru/ZedGraph.resources.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/thijse/Arduino-CmdMessenger/HEAD/extras/CSharp/ZedGraph/ru/ZedGraph.resources.dll
--------------------------------------------------------------------------------
/extras/CSharp/ZedGraph/sk/ZedGraph.resources.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/thijse/Arduino-CmdMessenger/HEAD/extras/CSharp/ZedGraph/sk/ZedGraph.resources.dll
--------------------------------------------------------------------------------
/extras/CSharp/ZedGraph/sv/ZedGraph.resources.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/thijse/Arduino-CmdMessenger/HEAD/extras/CSharp/ZedGraph/sv/ZedGraph.resources.dll
--------------------------------------------------------------------------------
/extras/CSharp/ZedGraph/tr/ZedGraph.resources.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/thijse/Arduino-CmdMessenger/HEAD/extras/CSharp/ZedGraph/tr/ZedGraph.resources.dll
--------------------------------------------------------------------------------
/extras/CSharp/TemperatureControl/ChartForm.resources:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/thijse/Arduino-CmdMessenger/HEAD/extras/CSharp/TemperatureControl/ChartForm.resources
--------------------------------------------------------------------------------
/extras/CSharp/ZedGraph/zh-cn/ZedGraph.resources.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/thijse/Arduino-CmdMessenger/HEAD/extras/CSharp/ZedGraph/zh-cn/ZedGraph.resources.dll
--------------------------------------------------------------------------------
/extras/CSharp/ZedGraph/zh-tw/ZedGraph.resources.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/thijse/Arduino-CmdMessenger/HEAD/extras/CSharp/ZedGraph/zh-tw/ZedGraph.resources.dll
--------------------------------------------------------------------------------
/extras/VisualBasic/Receive/My Project/AssemblyInfo.vb:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/thijse/Arduino-CmdMessenger/HEAD/extras/VisualBasic/Receive/My Project/AssemblyInfo.vb
--------------------------------------------------------------------------------
/extras/CSharp/DataLogging/Properties/Resources.resources:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/thijse/Arduino-CmdMessenger/HEAD/extras/CSharp/DataLogging/Properties/Resources.resources
--------------------------------------------------------------------------------
/extras/VisualBasic/DataLogging/My Project/AssemblyInfo.vb:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/thijse/Arduino-CmdMessenger/HEAD/extras/VisualBasic/DataLogging/My Project/AssemblyInfo.vb
--------------------------------------------------------------------------------
/extras/VisualBasic/SendAndReceive/My Project/AssemblyInfo.vb:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/thijse/Arduino-CmdMessenger/HEAD/extras/VisualBasic/SendAndReceive/My Project/AssemblyInfo.vb
--------------------------------------------------------------------------------
/extras/VisualBasic/SimpleWatchdog/My Project/AssemblyInfo.vb:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/thijse/Arduino-CmdMessenger/HEAD/extras/VisualBasic/SimpleWatchdog/My Project/AssemblyInfo.vb
--------------------------------------------------------------------------------
/extras/VisualBasic/CommandMessenger/My Project/AssemblyInfo.vb:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/thijse/Arduino-CmdMessenger/HEAD/extras/VisualBasic/CommandMessenger/My Project/AssemblyInfo.vb
--------------------------------------------------------------------------------
/extras/VisualBasic/SimpleBluetooth/My Project/AssemblyInfo.vb:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/thijse/Arduino-CmdMessenger/HEAD/extras/VisualBasic/SimpleBluetooth/My Project/AssemblyInfo.vb
--------------------------------------------------------------------------------
/extras/CSharp/TemperatureControl/Properties/Resources.resources:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/thijse/Arduino-CmdMessenger/HEAD/extras/CSharp/TemperatureControl/Properties/Resources.resources
--------------------------------------------------------------------------------
/extras/VisualBasic/ArduinoController/My Project/AssemblyInfo.vb:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/thijse/Arduino-CmdMessenger/HEAD/extras/VisualBasic/ArduinoController/My Project/AssemblyInfo.vb
--------------------------------------------------------------------------------
/extras/VisualBasic/TemperatureControl/My Project/AssemblyInfo.vb:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/thijse/Arduino-CmdMessenger/HEAD/extras/VisualBasic/TemperatureControl/My Project/AssemblyInfo.vb
--------------------------------------------------------------------------------
/extras/CSharp/Receive/app.config:
--------------------------------------------------------------------------------
1 |
2 |
Browse the Arduino 3 | documentation
4 | 5 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | ################################################################################ 2 | # This .gitignore file was automatically created by Microsoft(R) Visual Studio. 3 | ################################################################################ 4 | 5 | *.nupkg 6 | -------------------------------------------------------------------------------- /extras/CSharp/DataLogging/Properties/Settings.settings: -------------------------------------------------------------------------------- 1 | 2 ||
25 | CmdMessenger
26 | 4.0.0
27 |
28 | CmdMessenger is a serial port messaging library for the .Net / Mono Platform.
29 | |
30 |
31 |
32 |
33 |
58 | 1.7.6.1
59 |
60 |
61 |
62 |
63 |
--------------------------------------------------------------------------------
/extras/VisualBasic/CommandMessenger/Queue/CollapseCommandStrategy.vb:
--------------------------------------------------------------------------------
1 | #Region "CmdMessenger - MIT - (c) 2013 Thijs Elenbaas."
2 | '
3 | ' CmdMessenger - library that provides command based messaging
4 | '
5 | ' Permission is hereby granted, free of charge, to any person obtaining
6 | ' a copy of this software and associated documentation files (the
7 | ' "Software"), to deal in the Software without restriction, including
8 | ' without limitation the rights to use, copy, modify, merge, publish,
9 | ' distribute, sublicense, and/or sell copies of the Software, and to
10 | ' permit persons to whom the Software is furnished to do so, subject to
11 | ' the following conditions:
12 | '
13 | ' The above copyright notice and this permission notice shall be
14 | ' included in all copies or substantial portions of the Software.
15 | '
16 | ' Copyright 2013 - Thijs Elenbaas
17 | '
18 | #End Region
19 |
20 |
21 | Imports Microsoft.VisualBasic
22 | Imports System
23 | Namespace CommandMessenger
24 | ''' |
25 | CmdMessenger
26 | 4.0.0
27 |
28 | CmdMessenger is a messaging library for the Arduino Platform. It has uses the serial port as its transport layer
29 | |
30 |
31 |
32 |
33 |
58 | 1.7.6.1
59 |
60 |
61 |
62 |
63 |
--------------------------------------------------------------------------------
/extras/CSharp/CommandMessenger.Transport.Network/TcpConnectionManager.cs:
--------------------------------------------------------------------------------
1 | using System;
2 |
3 | namespace CommandMessenger.Transport.Network
4 | {
5 | public class TcpConnectionManager : ConnectionManager
6 | {
7 | private readonly TcpTransport _transport;
8 | private readonly object _tryConnectionLock = new object();
9 |
10 | public TcpConnectionManager(TcpTransport tcpTransport, CmdMessenger cmdMessenger, int identifyCommandId = 0, string uniqueDeviceId = null)
11 | : base(cmdMessenger, identifyCommandId, uniqueDeviceId)
12 | {
13 | DeviceScanEnabled = false;
14 |
15 | if (tcpTransport == null)
16 | throw new ArgumentNullException("tcpTransport", "Transport is null.");
17 |
18 | _transport = tcpTransport;
19 |
20 | ReadSettings();
21 | }
22 |
23 | protected override void DoWorkConnect()
24 | {
25 | lock (_tryConnectionLock)
26 | {
27 | Connected = false;
28 |
29 | if (_transport.Connect())
30 | {
31 | int optimalTimeout = _transport.Timeout + 250;
32 | DeviceStatus status = ArduinoAvailable(optimalTimeout);
33 |
34 | Connected = (status == DeviceStatus.Available);
35 |
36 | if (Connected)
37 | {
38 | Log(1, string.Format("Connected to {0}:{1}.", _transport.Host, _transport.Port));
39 | StoreSettings();
40 |
41 | ConnectionFoundEvent();
42 | }
43 | else
44 | {
45 | _transport.Disconnect();
46 | }
47 | }
48 | }
49 | }
50 |
51 | protected override void DoWorkScan()
52 | {
53 | throw new NotSupportedException("ScanMode not supported by TcpConnectionManager.");
54 | }
55 | }
56 | }
57 |
--------------------------------------------------------------------------------
/extras/VisualBasic/CommandMessenger/Queue/ListQueue.vb:
--------------------------------------------------------------------------------
1 | #Region "CmdMessenger - MIT - (c) 2013 Thijs Elenbaas."
2 | '
3 | ' CmdMessenger - library that provides command based messaging
4 | '
5 | ' Permission is hereby granted, free of charge, to any person obtaining
6 | ' a copy of this software and associated documentation files (the
7 | ' "Software"), to deal in the Software without restriction, including
8 | ' without limitation the rights to use, copy, modify, merge, publish,
9 | ' distribute, sublicense, and/or sell copies of the Software, and to
10 | ' permit persons to whom the Software is furnished to do so, subject to
11 | ' the following conditions:
12 | '
13 | ' The above copyright notice and this permission notice shall be
14 | ' included in all copies or substantial portions of the Software.
15 | '
16 | ' Copyright 2013 - Thijs Elenbaas
17 | '
18 | #End Region
19 |
20 |
21 | Imports Microsoft.VisualBasic
22 | Imports System.Collections.Generic
23 |
24 | Namespace CommandMessenger
25 | ''' |
25 | CmdMessenger
26 | 4.0.0
27 |
28 | CmdMessenger is a messaging library for the Arduino Platform. It has uses the serial port as its transport layer
29 | |
30 |
31 |
32 |
33 |
| D:/My Documents/Github/Arduino/Own Arduino libraries/CmdMessenger/Arduino-CmdMessenger/CmdMessenger.h [code] |
66 | 1.7.6.1
67 |
68 |
69 |
70 |
71 |
--------------------------------------------------------------------------------
/extras/CSharp/CommandMessenger/Logger.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.IO;
3 | using System.Text;
4 |
5 | namespace CommandMessenger
6 | {
7 | static class Logger
8 | {
9 | private static readonly Encoding StringEncoder = Encoding.GetEncoding("ISO-8859-1"); // The string encoder
10 | private static FileStream _fileStream;
11 |
12 | static Logger()
13 | {
14 | LogFileName = null;
15 | IsEnabled = true;
16 | }
17 |
18 | static public bool IsEnabled { get; set; }
19 | static public bool IsOpen { get; private set; }
20 | static public bool DirectFlush { get; set; }
21 |
22 | /// |
25 | CmdMessenger
26 | 4.0.0
27 |
28 | CmdMessenger is a serial port messaging library for the .Net / Mono Platform.
29 | |
30 |
31 |
32 |
33 |
61 | Classes | |
| class | LoggingView |
70 | 1.7.6.1
71 |
72 |
73 |
74 |
75 |
--------------------------------------------------------------------------------
/extras/documentation/Arduino/html/annotated.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | |
25 | CmdMessenger
26 | 4.0.0
27 |
28 | CmdMessenger is a messaging library for the Arduino Platform. It has uses the serial port as its transport layer
29 | |
30 |
31 |
32 |
33 |
| CmdMessenger |
68 | 1.7.6.1
69 |
70 |
71 |
72 |
73 |
--------------------------------------------------------------------------------
/extras/CSharp/ArduinoController/ControllerForm.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.ComponentModel;
4 | using System.Data;
5 | using System.Drawing;
6 | using System.Globalization;
7 | using System.Linq;
8 | using System.Text;
9 | using System.Windows.Forms;
10 |
11 | namespace ArduinoController
12 | {
13 | public partial class ControllerForm : Form
14 | {
15 | private readonly ArduinoController _arduinoController;
16 | private double _ledFrequency;
17 |
18 | public ControllerForm()
19 | {
20 | InitializeComponent();
21 | _arduinoController = new ArduinoController();
22 | _arduinoController.Setup(this);
23 | }
24 |
25 | // Update arduinoController on value checkbox checked/unchecked
26 | private void EnableLedCheckBoxCheckedChanged(object sender, EventArgs e)
27 | {
28 | _arduinoController.SetLedState(EnableLedCheckBox.Checked);
29 | }
30 |
31 | // Update value label and arduinoController on value changed using slider
32 | private void LedFrequencyTrackBarScroll(object sender, EventArgs e)
33 | {
34 | _ledFrequency = 0.4 + ((double)LedFrequencyLabelTrackBar.Value) / 25.0;
35 | LedFrequencyValue.Text = _ledFrequency.ToString(CultureInfo.InvariantCulture);
36 | _arduinoController.SetLedFrequency(_ledFrequency);
37 | }
38 |
39 | // Set ledState checkbox
40 | public void SetLedState(bool ledState)
41 | {
42 | EnableLedCheckBox.Checked = ledState;
43 | }
44 |
45 | // Set frequency slider
46 | public void SetFrequency(double ledFrequency)
47 | {
48 | LedFrequencyLabelTrackBar.Value = (int) ((ledFrequency - 0.4)*2.5);
49 | }
50 |
51 | // Update value label and arduinoController on value changed
52 | private void LedFrequencyLabelTrackBarValueChanged(object sender, EventArgs e)
53 | {
54 | LedFrequencyTrackBarScroll(sender,e);
55 | }
56 |
57 | /// |
25 | CmdMessenger
26 | 4.0.0
27 |
28 | CmdMessenger is a serial port messaging library for the .Net / Mono Platform.
29 | |
30 |
31 |
32 |
33 |
73 | 1.7.6.1
74 |
75 |
76 |
77 |
78 |
--------------------------------------------------------------------------------
/extras/VisualBasic/CommandMessenger/Queue/CommandStrategy.vb:
--------------------------------------------------------------------------------
1 | #Region "CmdMessenger - MIT - (c) 2013 Thijs Elenbaas."
2 | '
3 | ' CmdMessenger - library that provides command based messaging
4 | '
5 | ' Permission is hereby granted, free of charge, to any person obtaining
6 | ' a copy of this software and associated documentation files (the
7 | ' "Software"), to deal in the Software without restriction, including
8 | ' without limitation the rights to use, copy, modify, merge, publish,
9 | ' distribute, sublicense, and/or sell copies of the Software, and to
10 | ' permit persons to whom the Software is furnished to do so, subject to
11 | ' the following conditions:
12 | '
13 | ' The above copyright notice and this permission notice shall be
14 | ' included in all copies or substantial portions of the Software.
15 | '
16 | ' Copyright 2013 - Thijs Elenbaas
17 | '
18 | #End Region
19 |
20 |
21 | Imports Microsoft.VisualBasic
22 | Imports System
23 | Namespace CommandMessenger
24 | ''' |
25 | CmdMessenger
26 | 4.0.0
27 |
28 | CmdMessenger is a serial port messaging library for the .Net / Mono Platform.
29 | |
30 |
31 |
32 |
33 |
73 | 1.7.6.1
74 |
75 |
76 |
77 |
78 |
--------------------------------------------------------------------------------
/extras/VisualBasic/DataLogging/My Project/Resources.Designer.vb:
--------------------------------------------------------------------------------
1 | '------------------------------------------------------------------------------
2 | ' |
25 | CmdMessenger
26 | 4.0.0
27 |
28 | CmdMessenger is a serial port messaging library for the .Net / Mono Platform.
29 | |
30 |
31 |
32 |
33 |
73 | 1.7.6.1
74 |
75 |
76 |
77 |
78 |
--------------------------------------------------------------------------------
/extras/documentation/PC/html/class_send_and_receive_arguments_1_1_program-members.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | |
25 | CmdMessenger
26 | 4.0.0
27 |
28 | CmdMessenger is a serial port messaging library for the .Net / Mono Platform.
29 | |
30 |
31 |
32 |
33 |
73 | 1.7.6.1
74 |
75 |
76 |
77 |
78 |
--------------------------------------------------------------------------------
/extras/documentation/Arduino/html/classes.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | |
25 | CmdMessenger
26 | 4.0.0
27 |
28 | CmdMessenger is a messaging library for the Arduino Platform. It has uses the serial port as its transport layer
29 | |
30 |
31 |
32 |
33 |
74 | 1.7.6.1
75 |
76 |
77 |
78 |
79 |
--------------------------------------------------------------------------------
/extras/VisualBasic/CommandMessenger/DisposeStack.vb:
--------------------------------------------------------------------------------
1 | #Region "CmdMessenger - MIT - (c) 2013 Thijs Elenbaas."
2 | '
3 | ' CmdMessenger - library that provides command based messaging
4 | '
5 | ' Permission is hereby granted, free of charge, to any person obtaining
6 | ' a copy of this software and associated documentation files (the
7 | ' "Software"), to deal in the Software without restriction, including
8 | ' without limitation the rights to use, copy, modify, merge, publish,
9 | ' distribute, sublicense, and/or sell copies of the Software, and to
10 | ' permit persons to whom the Software is furnished to do so, subject to
11 | ' the following conditions:
12 | '
13 | ' The above copyright notice and this permission notice shall be
14 | ' included in all copies or substantial portions of the Software.
15 | '
16 | ' Copyright 2013 - Thijs Elenbaas
17 | '
18 | #End Region
19 |
20 |
21 | Imports Microsoft.VisualBasic
22 | Imports System
23 | Imports System.Collections.Generic
24 |
25 | Namespace CommandMessenger
26 | ''' |
25 | CmdMessenger
26 | 4.0.0
27 |
28 | CmdMessenger is a serial port messaging library for the .Net / Mono Platform.
29 | |
30 |
31 |
32 |
33 |
73 | 1.7.6.1
74 |
75 |
76 |
77 |
78 |
--------------------------------------------------------------------------------
/extras/documentation/PC/html/namespace_receive.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | |
25 | CmdMessenger
26 | 4.0.0
27 |
28 | CmdMessenger is a serial port messaging library for the .Net / Mono Platform.
29 | |
30 |
31 |
32 |
33 |
62 | Classes | |
| class | Program |
| class | Receive |
66 | Enumerations | |
| enum | Command { SetLed 68 | } |
76 | 1.7.6.1
77 |
78 |
79 |
80 |
81 |
--------------------------------------------------------------------------------