Skip to content

Commit

Permalink
Public release MSCL 61.1.6
Browse files Browse the repository at this point in the history
  • Loading branch information
mgill committed Mar 5, 2021
1 parent 6f57e9c commit d56ab4e
Show file tree
Hide file tree
Showing 711 changed files with 4,481 additions and 1,293 deletions.
50 changes: 50 additions & 0 deletions CHANGELOG.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,56 @@ RENAMED - A function/class has been renamed.
REMOVED - A function/class has been removed.
======================================================================================================

61.1.6 - 2021-03-04
- Add support for inertial command Input Speed Measurement (0x0D,0x60)

61.1.5 - 2021-02-12
- Add support for inertial data field GNSS Dual Antenna Status (0x82,0x49)

61.1.4 - 2020-01-28
- Update RTKDeviceStatusFlags to reflect field definition changes
- Changed all bitmask constants (names and values)
- Changed all accessor functions
- ResetReason enum: changed HARDWARE_RESET to UNKNOWN, WATCHDOG_RESET to HARDWARE_ERROR_RESET

61.1.3 - 2020-01-11
- Add support for RTK Command Activation Code (0x0F, 0x07)

61.1.2 - 2020-01-09
- Add RawBytePacket collection for Wireless Base Stations
- Add RawBytePacket parsing to WirelessParser
- Add RawBytePacketCollector to BaseStation
- Add function BaseStation::getRawBytePackets() to get raw byte packets

61.1.1 - 2020-01-05
- Add RawBytePacket collection for MipNodes
- Add RawBytePacket parsing to MipParser
- Add RawBytePacketCollector to MipNode
- Add function MipNode::getRawBytePackets() to get raw byte packets

61.1.0 - 2021-01-04
- Add support for 3DM-CL5-15, -25

61.0.20 - 2020-12-10
- Add support for inertial data fields:
- Odometer Scale Factor Error (0x82,0x47)
- Odometer Scale Factor Error Uncertainty (0x82,0x48)

61.0.19 - 2020-12-04
- Add function MipNode::clearDeviceInfo() to reset the associated MipNodeInfo object, forcing that information to be re-read from the device

61.0.18 - 2020-12-02
- Moved loadStartupSettings() and loadFactoryDefaultSettings() from InertialNode to MipNode (base class) - now available on RTKNode as well
- Add additional parameter options to MipNode::saveSettingsAsStartup(), loadStartupSettings(), loadFactoryDefaultSettings()
- list of command IDs (MipTypes::MipCommands) to perform the action for
- list of command IDs and parameters to perform the action for commands that require identifier(s) (message format, enable streaming, comm port speed, etc.)

61.0.17 - 2020-12-01
- Add support for MIP command Comm Port Speed (0x01,0x09) - automatically used by MipNode::get/setUARTBaudRate() if supported
- Moved get/setUARTBaudRate from InertialNode to MipNode (base class) - now available on RTKNode as well
- add option port ID parameter
- Add MipNodeFeatures::getCommPortInfo() returns supported port IDs and types of MIP device

61.0.16 - 2020-11-02
- Add function DeviceStatusData::asValueMap() to get a map of all populated inertial device status values for the target device
- Update RTKDeviceStatusFlags to include additional values after definition change
Expand Down
6 changes: 6 additions & 0 deletions MSCL/MSCL.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -671,6 +671,8 @@
<ClInclude Include="source\mscl\Communication\Connection.h" />
<ClInclude Include="source\mscl\Communication\ConnectionDebugData.h" />
<ClInclude Include="source\mscl\Communication\Connection_Impl.h" />
<ClInclude Include="source\mscl\Communication\RawBytePacket.h" />
<ClInclude Include="source\mscl\Communication\RawBytePacketCollector.h" />
<ClInclude Include="source\mscl\Communication\Devices.h" />
<ClInclude Include="source\mscl\Communication\MockConnection.h" />
<ClInclude Include="source\mscl\Communication\NativeSerialPort.h" />
Expand Down Expand Up @@ -784,6 +786,7 @@
<ClInclude Include="source\mscl\MicroStrain\MIP\Packets\MipPacket.h" />
<ClInclude Include="source\mscl\MicroStrain\MIP\Packets\MipPacketBuilder.h" />
<ClInclude Include="source\mscl\MicroStrain\MIP\Packets\MipPacketCollector.h" />
<ClInclude Include="source\mscl\MicroStrain\RTK\Commands\ActivationCode.h" />
<ClInclude Include="source\mscl\MicroStrain\RTK\Commands\DeviceStatusFlags.h" />
<ClInclude Include="source\mscl\MicroStrain\RTK\RTKNode.h" />
<ClInclude Include="source\mscl\MicroStrain\Wireless\ArmedDataloggingNetwork.h" />
Expand Down Expand Up @@ -1001,6 +1004,8 @@
<ClCompile Include="source\mscl\Communication\Connection.cpp" />
<ClCompile Include="source\mscl\Communication\ConnectionDebugData.cpp" />
<ClCompile Include="source\mscl\Communication\Devices.cpp" />
<ClCompile Include="source\mscl\Communication\RawBytePacket.cpp" />
<ClCompile Include="source\mscl\Communication\RawBytePacketCollector.cpp" />
<ClCompile Include="source\mscl\Communication\SerialConnection.cpp" />
<ClCompile Include="source\mscl\Communication\TcpIpConnection.cpp" />
<ClCompile Include="source\mscl\Communication\UnixSocketConnection.cpp">
Expand Down Expand Up @@ -1107,6 +1112,7 @@
<ClCompile Include="source\mscl\MicroStrain\MIP\Packets\MipPacket.cpp" />
<ClCompile Include="source\mscl\MicroStrain\MIP\Packets\MipPacketBuilder.cpp" />
<ClCompile Include="source\mscl\MicroStrain\MIP\Packets\MipPacketCollector.cpp" />
<ClCompile Include="source\mscl\MicroStrain\RTK\Commands\ActivationCode.cpp" />
<ClCompile Include="source\mscl\MicroStrain\RTK\Commands\DeviceStatusFlags.cpp" />
<ClCompile Include="source\mscl\MicroStrain\RTK\RTKNode.cpp" />
<ClCompile Include="source\mscl\MicroStrain\Wireless\ArmedDataloggingNetwork.cpp" />
Expand Down
18 changes: 18 additions & 0 deletions MSCL/MSCL.vcxproj.filters
Original file line number Diff line number Diff line change
Expand Up @@ -1001,6 +1001,15 @@
<ClInclude Include="source\mscl\MicroStrain\Inertial\Packets\InertialFieldParser_Shared.h">
<Filter>MicroStrain\Inertial\Packets</Filter>
</ClInclude>
<ClInclude Include="source\mscl\Communication\RawBytePacketCollector.h">
<Filter>Communication</Filter>
</ClInclude>
<ClInclude Include="source\mscl\Communication\RawBytePacket.h">
<Filter>Communication</Filter>
</ClInclude>
<ClInclude Include="source\mscl\MicroStrain\RTK\Commands\ActivationCode.h">
<Filter>MicroStrain\RTK\Commands</Filter>
</ClInclude>
</ItemGroup>
<ItemGroup>
<ClCompile Include="source\mscl\MicroStrain\ByteStream.cpp">
Expand Down Expand Up @@ -1893,6 +1902,15 @@
<ClCompile Include="source\mscl\MicroStrain\Inertial\Packets\InertialFieldParser_Shared.cpp">
<Filter>MicroStrain\Inertial\Packets</Filter>
</ClCompile>
<ClCompile Include="source\mscl\Communication\RawBytePacketCollector.cpp">
<Filter>Communication</Filter>
</ClCompile>
<ClCompile Include="source\mscl\Communication\RawBytePacket.cpp">
<Filter>Communication</Filter>
</ClCompile>
<ClCompile Include="source\mscl\MicroStrain\RTK\Commands\ActivationCode.cpp">
<Filter>MicroStrain\RTK\Commands</Filter>
</ClCompile>
</ItemGroup>
<ItemGroup>
<None Include="source\mscl\Wrapper\MSCL_Exceptions.i">
Expand Down
2 changes: 1 addition & 1 deletion MSCL/source/mscl/Bin.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*******************************************************************************
Copyright(c) 2015-2020 Parker Hannifin Corp. All rights reserved.
Copyright(c) 2015-2021 Parker Hannifin Corp. All rights reserved.
MIT Licensed. See the included LICENSE.txt for a copy of the full MIT License.
*******************************************************************************/
Expand Down
2 changes: 1 addition & 1 deletion MSCL/source/mscl/Bin.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*******************************************************************************
Copyright(c) 2015-2020 Parker Hannifin Corp. All rights reserved.
Copyright(c) 2015-2021 Parker Hannifin Corp. All rights reserved.
MIT Licensed. See the included LICENSE.txt for a copy of the full MIT License.
*******************************************************************************/
Expand Down
2 changes: 1 addition & 1 deletion MSCL/source/mscl/BitMask.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*******************************************************************************
Copyright(c) 2015-2020 Parker Hannifin Corp. All rights reserved.
Copyright(c) 2015-2021 Parker Hannifin Corp. All rights reserved.
MIT Licensed. See the included LICENSE.txt for a copy of the full MIT License.
*******************************************************************************/
Expand Down
2 changes: 1 addition & 1 deletion MSCL/source/mscl/BitMask.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*******************************************************************************
Copyright(c) 2015-2020 Parker Hannifin Corp. All rights reserved.
Copyright(c) 2015-2021 Parker Hannifin Corp. All rights reserved.
MIT Licensed. See the included LICENSE.txt for a copy of the full MIT License.
*******************************************************************************/
Expand Down
2 changes: 1 addition & 1 deletion MSCL/source/mscl/Communication/BoostCommunication.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*******************************************************************************
Copyright(c) 2015-2020 Parker Hannifin Corp. All rights reserved.
Copyright(c) 2015-2021 Parker Hannifin Corp. All rights reserved.
MIT Licensed. See the included LICENSE.txt for a copy of the full MIT License.
*******************************************************************************/
Expand Down
2 changes: 1 addition & 1 deletion MSCL/source/mscl/Communication/Connection.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*******************************************************************************
Copyright(c) 2015-2020 Parker Hannifin Corp. All rights reserved.
Copyright(c) 2015-2021 Parker Hannifin Corp. All rights reserved.
MIT Licensed. See the included LICENSE.txt for a copy of the full MIT License.
*******************************************************************************/
Expand Down
3 changes: 2 additions & 1 deletion MSCL/source/mscl/Communication/Connection.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*******************************************************************************
Copyright(c) 2015-2020 Parker Hannifin Corp. All rights reserved.
Copyright(c) 2015-2021 Parker Hannifin Corp. All rights reserved.
MIT Licensed. See the included LICENSE.txt for a copy of the full MIT License.
*******************************************************************************/
Expand All @@ -11,6 +11,7 @@ MIT Licensed. See the included LICENSE.txt for a copy of the full MIT License.
#include <memory>
#include "mscl/Types.h"
#include "ConnectionDebugData.h"
#include "RawBytePacketCollector.h"

namespace mscl
{
Expand Down
2 changes: 1 addition & 1 deletion MSCL/source/mscl/Communication/ConnectionDebugData.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*******************************************************************************
Copyright(c) 2015-2020 Parker Hannifin Corp. All rights reserved.
Copyright(c) 2015-2021 Parker Hannifin Corp. All rights reserved.
MIT Licensed. See the included LICENSE.txt for a copy of the full MIT License.
*******************************************************************************/
Expand Down
2 changes: 1 addition & 1 deletion MSCL/source/mscl/Communication/ConnectionDebugData.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*******************************************************************************
Copyright(c) 2015-2020 Parker Hannifin Corp. All rights reserved.
Copyright(c) 2015-2021 Parker Hannifin Corp. All rights reserved.
MIT Licensed. See the included LICENSE.txt for a copy of the full MIT License.
*******************************************************************************/
Expand Down
2 changes: 1 addition & 1 deletion MSCL/source/mscl/Communication/Connection_Impl.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*******************************************************************************
Copyright(c) 2015-2020 Parker Hannifin Corp. All rights reserved.
Copyright(c) 2015-2021 Parker Hannifin Corp. All rights reserved.
MIT Licensed. See the included LICENSE.txt for a copy of the full MIT License.
*******************************************************************************/
Expand Down
2 changes: 1 addition & 1 deletion MSCL/source/mscl/Communication/Devices.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*******************************************************************************
Copyright(c) 2015-2020 Parker Hannifin Corp. All rights reserved.
Copyright(c) 2015-2021 Parker Hannifin Corp. All rights reserved.
MIT Licensed. See the included LICENSE.txt for a copy of the full MIT License.
*******************************************************************************/
Expand Down
2 changes: 1 addition & 1 deletion MSCL/source/mscl/Communication/Devices.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*******************************************************************************
Copyright(c) 2015-2020 Parker Hannifin Corp. All rights reserved.
Copyright(c) 2015-2021 Parker Hannifin Corp. All rights reserved.
MIT Licensed. See the included LICENSE.txt for a copy of the full MIT License.
*******************************************************************************/
Expand Down
2 changes: 1 addition & 1 deletion MSCL/source/mscl/Communication/MockConnection.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*******************************************************************************
Copyright(c) 2015-2020 Parker Hannifin Corp. All rights reserved.
Copyright(c) 2015-2021 Parker Hannifin Corp. All rights reserved.
MIT Licensed. See the included LICENSE.txt for a copy of the full MIT License.
*******************************************************************************/
Expand Down
2 changes: 1 addition & 1 deletion MSCL/source/mscl/Communication/NativeSerialPort.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*******************************************************************************
Copyright(c) 2015-2020 Parker Hannifin Corp. All rights reserved.
Copyright(c) 2015-2021 Parker Hannifin Corp. All rights reserved.
MIT Licensed. See the included LICENSE.txt for a copy of the full MIT License.
*******************************************************************************/
Expand Down
2 changes: 1 addition & 1 deletion MSCL/source/mscl/Communication/NativeSerialPort_Win32.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*******************************************************************************
Copyright(c) 2015-2020 Parker Hannifin Corp. All rights reserved.
Copyright(c) 2015-2021 Parker Hannifin Corp. All rights reserved.
MIT Licensed. See the included LICENSE.txt for a copy of the full MIT License.
*******************************************************************************/
Expand Down
2 changes: 1 addition & 1 deletion MSCL/source/mscl/Communication/NativeSerialPort_linux.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*******************************************************************************
Copyright(c) 2015-2020 Parker Hannifin Corp. All rights reserved.
Copyright(c) 2015-2021 Parker Hannifin Corp. All rights reserved.
MIT Licensed. See the included LICENSE.txt for a copy of the full MIT License.
*******************************************************************************/
Expand Down
2 changes: 1 addition & 1 deletion MSCL/source/mscl/Communication/OperatingSystemErrorCodes.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*******************************************************************************
Copyright(c) 2015-2020 Parker Hannifin Corp. All rights reserved.
Copyright(c) 2015-2021 Parker Hannifin Corp. All rights reserved.
MIT Licensed. See the included LICENSE.txt for a copy of the full MIT License.
*******************************************************************************/
Expand Down
53 changes: 53 additions & 0 deletions MSCL/source/mscl/Communication/RawBytePacket.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
/*******************************************************************************
Copyright(c) 2015-2021 Parker Hannifin Corp. All rights reserved.
MIT Licensed. See the included LICENSE.txt for a copy of the full MIT License.
*******************************************************************************/
#include "stdafx.h"

#include "RawBytePacket.h"

namespace mscl
{
//default constructor for RawBytePacket
RawBytePacket::RawBytePacket() :
m_packetType(PacketType::NO_PACKET_FOUND),
m_source(PacketSource::FROM_READ)
{}

//type getter
RawBytePacket::PacketType RawBytePacket::type() const
{
return m_packetType;
}

//type setter
void RawBytePacket::type(RawBytePacket::PacketType type)
{
m_packetType = type;
}

//source getter
RawBytePacket::PacketSource RawBytePacket::source() const
{
return m_source;
}

//source setter
void RawBytePacket::source(RawBytePacket::PacketSource source)
{
m_source = source;
}

const std::vector<uint8> RawBytePacket::payload() const
{
return m_payload.data();
}

void RawBytePacket::payload(const Bytes& bytes)
{
m_payload.clear();

m_payload.appendBytes(bytes);
}
}
Loading

0 comments on commit d56ab4e

Please sign in to comment.