-
Notifications
You must be signed in to change notification settings - Fork 106
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #378 from openxc/next
Prep for next release
- Loading branch information
Showing
33 changed files
with
286 additions
and
64 deletions.
There are no files selected for viewing
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
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
Binary file not shown.
Binary file modified
BIN
-10.4 KB
(95%)
docs/_static/QuickStart guide to using C5 Hardware and OpenXC.docx
Binary file not shown.
Binary file modified
BIN
-1.48 KB
(99%)
docs/_static/QuickStart guide to using C5 Hardware and OpenXC.pdf
Binary file not shown.
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
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
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
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
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
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
#include "device_platform_command.h" | ||
#include "config.h" | ||
#include "diagnostics.h" | ||
#include "interface/usb.h" | ||
#include "util/log.h" | ||
#include "config.h" | ||
#include "pb_decode.h" | ||
#include <payload/payload.h> | ||
#include "signals.h" | ||
#include <can/canutil.h> | ||
#include <bitfield/bitfield.h> | ||
#include <limits.h> | ||
|
||
using openxc::util::log::debug; | ||
using openxc::config::getConfiguration; | ||
using openxc::payload::PayloadFormat; | ||
using openxc::signals::getCanBuses; | ||
using openxc::signals::getCanBusCount; | ||
using openxc::signals::getSignals; | ||
using openxc::signals::getSignalCount; | ||
using openxc::signals::getCommands; | ||
using openxc::signals::getCommandCount; | ||
using openxc::can::lookupBus; | ||
using openxc::can::lookupSignal; | ||
|
||
namespace can = openxc::can; | ||
namespace payload = openxc::payload; | ||
namespace config = openxc::config; | ||
namespace diagnostics = openxc::diagnostics; | ||
namespace usb = openxc::interface::usb; | ||
namespace uart = openxc::interface::uart; | ||
namespace pipeline = openxc::pipeline; | ||
|
||
bool openxc::commands::handleDevicePlatformCommmand() { | ||
char* platform_name; | ||
platform_name = strdup(config::getConfiguration()->platform); | ||
sendCommandResponse(openxc_ControlCommand_Type_PLATFORM, true, | ||
platform_name, strlen(platform_name)); | ||
return true; | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
#ifndef __DEVICE_PLATFORM_COMMAND_H__ | ||
#define __DEVICE_PLATFORM_COMMAND_H__ | ||
|
||
namespace openxc { | ||
namespace commands { | ||
|
||
bool handleDevicePlatformCommmand(); | ||
|
||
} // namespace commands | ||
} // namespace openxc | ||
|
||
#endif // __DEVICE_PLATFORM_COMMAND_H__ |
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
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
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
Oops, something went wrong.