Browse Source

Changed around packet structure

git-svn-id: https://bucket.mit.edu/svn/nilm/acquisition/ethstream@7416 ddd99763-3ecb-0310-9145-efcb8ce7c51f
tags/ethstream-1.1
nilm 15 years ago
parent
commit
ed150ead35
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      nerdjack.h

+ 2
- 2
nerdjack.h View File

@@ -16,7 +16,7 @@
#include "netutil.h"

#define NERDJACK_CHANNELS 12
#define NERDJACK_CLOCK_RATE 66000000
#define NERDJACK_CLOCK_RATE 54000000
#define NERDJACK_DATA_PORT 49155
#define NERDJACK_UDP_RECEIVE_PORT 49156
#define NERDJACK_COMMAND_PORT 49157
@@ -28,9 +28,9 @@
typedef struct __attribute__ ((__packed__))
{
char word[4];
unsigned long period;
unsigned short channelbit;
unsigned char precision;
unsigned long period;
unsigned char prescaler;
} getPacket;



Loading…
Cancel
Save