Corrected atmega port MS/TP code where APDU size > 255 caused APDU layer to not process packets.
This commit is contained in:
@@ -165,7 +165,6 @@ bool Analog_Value_Write_Property(
|
|||||||
{
|
{
|
||||||
bool status = false; /* return value */
|
bool status = false; /* return value */
|
||||||
unsigned int object_index = 0;
|
unsigned int object_index = 0;
|
||||||
unsigned int priority = 0;
|
|
||||||
int len = 0;
|
int len = 0;
|
||||||
BACNET_APPLICATION_DATA_VALUE value;
|
BACNET_APPLICATION_DATA_VALUE value;
|
||||||
|
|
||||||
|
|||||||
@@ -49,7 +49,6 @@
|
|||||||
|
|
||||||
/* This file has been customized for use with small microprocessors */
|
/* This file has been customized for use with small microprocessors */
|
||||||
/* Assumptions:
|
/* Assumptions:
|
||||||
APDU size of 50 or 128 (255 or less)
|
|
||||||
Only one MS/TP datalink layer
|
Only one MS/TP datalink layer
|
||||||
*/
|
*/
|
||||||
#include "hardware.h"
|
#include "hardware.h"
|
||||||
@@ -147,7 +146,7 @@ static uint8_t FrameType;
|
|||||||
and microcontroller architectures have limits as to places to
|
and microcontroller architectures have limits as to places to
|
||||||
hold contiguous memory. */
|
hold contiguous memory. */
|
||||||
static uint8_t *InputBuffer;
|
static uint8_t *InputBuffer;
|
||||||
static uint8_t InputBufferSize;
|
static uint16_t InputBufferSize;
|
||||||
/* Used to store the Source Address of a received frame. */
|
/* Used to store the Source Address of a received frame. */
|
||||||
static uint8_t SourceAddress;
|
static uint8_t SourceAddress;
|
||||||
/* "This Station," the MAC address of this node. TS is generally read from a */
|
/* "This Station," the MAC address of this node. TS is generally read from a */
|
||||||
|
|||||||
Reference in New Issue
Block a user