Added MS/TP debugging to serial port test.

This commit is contained in:
skarg
2009-09-11 23:13:45 +00:00
parent ab1db5296e
commit 6cfc2b805f
3 changed files with 75 additions and 5 deletions
+2 -2
View File
@@ -49,7 +49,7 @@
The properties that are constant can be hard coded
into the read-property encoding. */
static uint32_t Object_Instance_Number;
static uint8_t Object_Name[NV_EEPROM_DEVICE_NAME_SIZE];
static char Object_Name[NV_EEPROM_DEVICE_NAME_SIZE];
static uint8_t Object_Name_Encoding;
static uint8_t Object_Name_Length;
static BACNET_DEVICE_STATUS System_Status = STATUS_OPERATIONAL;
@@ -506,7 +506,7 @@ int Device_Encode_Property_APDU(
break;
case 9600:
apdu_len = encode_application_unsigned(&apdu[0],
rs485_baud_rate());
rs485_baud_rate());
break;
default:
*error_class = ERROR_CLASS_PROPERTY;