summaryrefslogtreecommitdiffstats
path: root/ucs2-lib/cfg_agl
diff options
context:
space:
mode:
authorTobias Jahnke <tobias.jahnke@microchip.com>2018-05-15 16:21:11 +0200
committerTobias Jahnke <tobias.jahnke@microchip.com>2018-05-15 16:21:11 +0200
commita85efd7f8f33e04c82e44675e126089a9adbd5e3 (patch)
treee71a64d815e3c16f21d3cdfa70b3f78dcdc158f8 /ucs2-lib/cfg_agl
parent98fb362c23bcbd4bd300abe6154450e3fd37d250 (diff)
agl-service-unicens: robustess measure for tx msg
- implement asynchronous message transmission via queue - set message buffer to 512 bytes payload consistently - xml parsing robustness improvement - fix error 7 caused by unnecessary gpio port initialization Bug-AGL: SPEC-1177 Change-Id: I8f494288d03d60d7a0a147f0e25ceb3665731782 Signed-off-by: Tobias Jahnke <tobias.jahnke@microchip.com>
Diffstat (limited to 'ucs2-lib/cfg_agl')
-rw-r--r--ucs2-lib/cfg_agl/ucs_cfg.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/ucs2-lib/cfg_agl/ucs_cfg.h b/ucs2-lib/cfg_agl/ucs_cfg.h
index f0ccdf2..a7d8862 100644
--- a/ucs2-lib/cfg_agl/ucs_cfg.h
+++ b/ucs2-lib/cfg_agl/ucs_cfg.h
@@ -64,7 +64,7 @@ extern "C"
/*------------------------------------------------------------------------------------------------*/
/* Application Messages */
/*------------------------------------------------------------------------------------------------*/
-/* Defines the number of reserved Rx message objects.
+/* Defines the number of reserved Rx message objects.
* Valid values: 5..255. Default value: 20.
*/
#define UCS_AMS_NUM_RX_MSGS 20
@@ -72,7 +72,7 @@ extern "C"
/* Defines the payload size in bytes which is available for every Rx message object.
* Valid values: 45..65535. Default value: 45.
*/
-#define UCS_AMS_SIZE_RX_MSG 1024
+#define UCS_AMS_SIZE_RX_MSG 512
/* Defines the number of reserved Tx message objects.
* Valid values: 5..255. Default value: 20.
@@ -87,7 +87,7 @@ extern "C"
/*------------------------------------------------------------------------------------------------*/
/* Memory Optimization */
/*------------------------------------------------------------------------------------------------*/
-/* Define the following macros to reduces the RAM and ROM size of the UNICENS software by disabling
+/* Define the following macros to reduces the RAM and ROM size of the UNICENS software by disabling
* certain features. If this macro is defined the following changes apply:
* - Reduction of low-level buffers
* - AMS does not support segmentation (payload > 45 bytes)
@@ -97,8 +97,8 @@ extern "C"
/*------------------------------------------------------------------------------------------------*/
/* Tracing & Debugging */
/*------------------------------------------------------------------------------------------------*/
-/* Define the following macros to map info and error trace output to user defined functions.
- * The purpose of these functions is debugging. It is not recommended to define these functions
+/* Define the following macros to map info and error trace output to user defined functions.
+ * The purpose of these functions is debugging. It is not recommended to define these functions
* in a production system.
*/
#define UCS_TR_ERROR App_TraceError