Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
38 commits
Select commit Hold shift + click to select a range
1d327ad
starting sniffer stuff
kodingwizard Apr 7, 2026
1f6a076
more stuff
kodingwizard Apr 7, 2026
dd9ffa9
can init
kodingwizard Apr 7, 2026
26f76c8
update cmake
kodingwizard Apr 7, 2026
d26949f
update cmake
kodingwizard Apr 7, 2026
f25efa4
Automatic CMake Format: Standardized formatting automatically
github-actions[bot] Apr 7, 2026
a3d0348
Automatic Clang-Format: Standardized formatting automatically
github-actions[bot] Apr 7, 2026
fef1fd1
fixing fdcan
kodingwizard Apr 7, 2026
9e35756
fix crash
CrolineCrois Apr 7, 2026
411b5c5
ye
CrolineCrois Apr 7, 2026
93236af
config not working
kodingwizard Apr 7, 2026
2936df3
Automatic Clang-Format: Standardized formatting automatically
github-actions[bot] Apr 7, 2026
ecc79ad
comment out logo and vcp fornow
CrolineCrois Apr 10, 2026
f52de54
so like idk what to do but we writing switch cases for message handli…
kodingwizard Apr 10, 2026
796c872
Automatic Clang-Format: Standardized formatting automatically
github-actions[bot] Apr 10, 2026
7e9794c
fix unused
CrolineCrois Apr 10, 2026
895662a
okie now we all branch off and do our own thing
kodingwizard Apr 10, 2026
9907b0a
Automatic Clang-Format: Standardized formatting automatically
github-actions[bot] Apr 10, 2026
05fc113
Merge branch 'main' into snifferer
dchansen06 Apr 13, 2026
bdd3b5d
Remove VCP (no support)
dchansen06 Apr 13, 2026
fb85837
Cleanup CANine and setup loopback testing for debugging
dchansen06 Apr 13, 2026
49823fc
Automatic CMake Format: Standardized formatting automatically
github-actions[bot] Apr 13, 2026
4b3241d
Automatic Clang-Format: Standardized formatting automatically
github-actions[bot] Apr 13, 2026
25b7bed
most updated CANdler.c file with LOGOMATIC statements
krai19 Apr 14, 2026
9589bbb
all
CrolineCrois Apr 14, 2026
0cafac4
send msg for test
CrolineCrois Apr 14, 2026
9c597e9
sendMSG implementation working better
krai19 Apr 14, 2026
774561b
make some changes so that internal loopback testing works now
kodingwizard Apr 17, 2026
69fe9c4
working version
krai19 May 1, 2026
3316be3
candler completed draft 1
krai19 May 8, 2026
ff8a054
commented file BE CAREFUL
krai19 May 12, 2026
1aeed6b
idk
krai19 May 13, 2026
1a29cb6
yay
krai19 May 13, 2026
c710bfa
Fill all fields
dchansen06 May 13, 2026
c371db2
Fill all fields but not breaking things
dchansen06 May 13, 2026
78bd9aa
Merge branch 'main' into temp_sniffer
dchansen06 May 13, 2026
bdfb129
Merge branch 'main' into temp_sniffer
dchansen06 May 14, 2026
d6651fb
Merge branch 'main' into temp_sniffer
dchansen06 May 14, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
41 changes: 21 additions & 20 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
"swoConfig": {
"enabled": true,
"cpuFrequency": 170000000,
"swoFrequency": 2000000,
"swoFrequency": 500000,
"source": "probe",
"decoders": [
{
Expand Down Expand Up @@ -81,7 +81,7 @@
"swoConfig": {
"enabled": true,
"cpuFrequency": 170000000,
"swoFrequency": 2000000,
"swoFrequency": 500000,
"source": "probe",
"decoders": [
{
Expand Down Expand Up @@ -112,7 +112,7 @@
"swoConfig": {
"enabled": true,
"cpuFrequency": 170000000,
"swoFrequency": 2000000,
"swoFrequency": 500000,
"source": "probe",
"decoders": [
{
Expand All @@ -132,6 +132,7 @@
"request": "launch",
"type": "cortex-debug",
"servertype": "openocd",
"runToEntryPoint": "main",
"configFiles": [
"interface/stlink.cfg",
"target/stm32g4x.cfg"
Expand All @@ -143,7 +144,7 @@
"swoConfig": {
"enabled": true,
"cpuFrequency": 170000000,
"swoFrequency": 2000000,
"swoFrequency": 500000,
"source": "probe",
"decoders": [
{
Expand Down Expand Up @@ -267,7 +268,7 @@
"swoConfig": {
"enabled": true,
"cpuFrequency": 160000000,
"swoFrequency": 2000000,
"swoFrequency": 500000,
"source": "probe",
"decoders": [
{
Expand Down Expand Up @@ -298,7 +299,7 @@
"swoConfig": {
"enabled": true,
"cpuFrequency": 170000000,
"swoFrequency": 2000000,
"swoFrequency": 500000,
"source": "probe",
"decoders": [
{
Expand Down Expand Up @@ -329,7 +330,7 @@
"swoConfig": {
"enabled": true,
"cpuFrequency": 170000000,
"swoFrequency": 2000000,
"swoFrequency": 500000,
"source": "probe",
"decoders": [
{
Expand Down Expand Up @@ -360,7 +361,7 @@
"swoConfig": {
"enabled": true,
"cpuFrequency": 170000000,
"swoFrequency": 2000000,
"swoFrequency": 500000,
"source": "probe",
"decoders": [
{
Expand Down Expand Up @@ -422,7 +423,7 @@
"swoConfig": {
"enabled": true,
"cpuFrequency": 80000000,
"swoFrequency": 2000000,
"swoFrequency": 500000,
"source": "probe",
"decoders": [
{
Expand Down Expand Up @@ -486,7 +487,7 @@
"swoConfig": {
"enabled": true,
"cpuFrequency": 170000000,
"swoFrequency": 2000000,
"swoFrequency": 500000,
"source": "probe",
"decoders": [
{
Expand Down Expand Up @@ -517,7 +518,7 @@
"swoConfig": {
"enabled": true,
"cpuFrequency": 170000000,
"swoFrequency": 2000000,
"swoFrequency": 500000,
"source": "probe",
"decoders": [
{
Expand Down Expand Up @@ -548,7 +549,7 @@
"swoConfig": {
"enabled": true,
"cpuFrequency": 170000000,
"swoFrequency": 2000000,
"swoFrequency": 500000,
"source": "probe",
"decoders": [
{
Expand Down Expand Up @@ -579,7 +580,7 @@
"swoConfig": {
"enabled": true,
"cpuFrequency": 170000000,
"swoFrequency": 2000000,
"swoFrequency": 500000,
"source": "probe",
"decoders": [
{
Expand Down Expand Up @@ -610,7 +611,7 @@
"swoConfig": {
"enabled": true,
"cpuFrequency": 170000000,
"swoFrequency": 2000000,
"swoFrequency": 500000,
"source": "probe",
"decoders": [
{
Expand Down Expand Up @@ -641,7 +642,7 @@
"swoConfig": {
"enabled": true,
"cpuFrequency": 170000000,
"swoFrequency": 2000000,
"swoFrequency": 500000,
"source": "probe",
"decoders": [
{
Expand Down Expand Up @@ -672,7 +673,7 @@
"swoConfig": {
"enabled": true,
"cpuFrequency": 170000000,
"swoFrequency": 2000000,
"swoFrequency": 500000,
"source": "probe",
"decoders": [
{
Expand Down Expand Up @@ -703,7 +704,7 @@
"swoConfig": {
"enabled": true,
"cpuFrequency": 170000000,
"swoFrequency": 2000000,
"swoFrequency": 500000,
"source": "probe",
"decoders": [
{
Expand Down Expand Up @@ -734,7 +735,7 @@
"swoConfig": {
"enabled": true,
"cpuFrequency": 170000000,
"swoFrequency": 2000000,
"swoFrequency": 500000,
"source": "probe",
"decoders": [
{
Expand Down Expand Up @@ -765,7 +766,7 @@
"swoConfig": {
"enabled": true,
"cpuFrequency": 170000000,
"swoFrequency": 2000000,
"swoFrequency": 500000,
"source": "probe",
"decoders": [
{
Expand Down Expand Up @@ -796,7 +797,7 @@
"swoConfig": {
"enabled": true,
"cpuFrequency": 170000000,
"swoFrequency": 2000000,
"swoFrequency": 500000,
"source": "probe",
"decoders": [
{
Expand Down
3 changes: 2 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,6 @@
"files.trimFinalNewlines": true,
"files.trimTrailingWhitespace": true,
"files.eol": "\n",
"cmake.useCMakePresets": "always"
"cmake.useCMakePresets": "always",
"C_Cpp.errorSquiggles": "disabled"
}
15 changes: 15 additions & 0 deletions CANine/Application/Inc/CANdler.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
#include <stdint.h>
#include "GRCAN_MSG_DATA.h"
#include "GRCAN_MSG_ID.h"
#include "GRCAN_BUS_ID.h"
#include "GRCAN_NODE_ID.h"

#ifndef CANDLER_H
#define CANDLER_H
void ReportBadMessageLength(GRCAN_BUS_ID bus_id, GRCAN_MSG_ID msg_id, GRCAN_NODE_ID sender_id);
void ReportUnhandledMessage(GRCAN_BUS_ID bus_id, GRCAN_MSG_ID msg_id, GRCAN_NODE_ID sender_id);
void LoopbackTest(uint32_t ID, void *data, uint32_t size);
void CAN_MessageHandler(GRCAN_BUS_ID bus_id, GRCAN_MSG_ID msg_id, GRCAN_NODE_ID sender_id, uint8_t *data, uint32_t data_length);


#endif
Loading
Loading