Permalink
Browse files

hcansocketd refaktorisiert. In der Umgebung aufgeraeumt.

  • Loading branch information...
ingo ingo
ingo authored and ingo committed Jan 28, 2018
1 parent b19ecec commit 8b3d0d44cf8a76b752b71f492ee882b7e1792717
Showing with 222 additions and 229 deletions.
  1. +2 −0 hcanaddressd/main.c
  2. +0 −7 hcanaddressd/main.h
  3. +0 −16 hcand/frame.h
  4. +2 −0 hcand/main.c
  5. +0 −7 hcand/main.h
  6. +0 −34 hcansocketd/hcanframe.h
  7. +214 −154 hcansocketd/main.c
  8. +2 −4 hcanaddressd/frame.h → include/hcanframe.h
  9. +2 −7 libhcan++/frame.h
@@ -45,6 +45,8 @@
#include <arpa/inet.h>
#include "main.h"
#include "../include/hcanframe.h"
#include "socket.h"
@@ -21,13 +21,6 @@
#ifndef MAIN_H
#define MAIN_H
typedef struct
{
uint32_t id;
uint32_t size;
uint8_t data[8];
} CANFrame;
#define MAX_PEER 32
// Timeout nach 5 minuten

This file was deleted.

Oops, something went wrong.
@@ -45,6 +45,8 @@
#include <arpa/inet.h>
#include "main.h"
#include "../include/hcanframe.h"
#include "socket.h"
struct sockaddr_in peer_addr[MAX_PEERS];
@@ -21,13 +21,6 @@
#ifndef MAIN_H
#define MAIN_H
typedef struct
{
uint32_t id;
uint32_t size;
uint8_t data[8];
} CANFrame;
#define MAX_PEERS 1024
// Timeout nach 1 Minute

This file was deleted.

Oops, something went wrong.
Oops, something went wrong.

0 comments on commit 8b3d0d4

Please sign in to comment.