Corrected atmega port MS/TP code where APDU size > 255 caused APDU layer to not process packets.

This commit is contained in:
skarg
2008-01-03 18:49:38 +00:00
parent b6d4723ca2
commit 72abef8e1d
2 changed files with 1 additions and 3 deletions
-1
View File
@@ -165,7 +165,6 @@ bool Analog_Value_Write_Property(
{
bool status = false; /* return value */
unsigned int object_index = 0;
unsigned int priority = 0;
int len = 0;
BACNET_APPLICATION_DATA_VALUE value;
+1 -2
View File
@@ -49,7 +49,6 @@
/* This file has been customized for use with small microprocessors */
/* Assumptions:
APDU size of 50 or 128 (255 or less)
Only one MS/TP datalink layer
*/
#include "hardware.h"
@@ -147,7 +146,7 @@ static uint8_t FrameType;
and microcontroller architectures have limits as to places to
hold contiguous memory. */
static uint8_t *InputBuffer;
static uint8_t InputBufferSize;
static uint16_t InputBufferSize;
/* Used to store the Source Address of a received frame. */
static uint8_t SourceAddress;
/* "This Station," the MAC address of this node. TS is generally read from a */