2024-07-25 02:09 PM
I use stm32h563 project with netxduo and need to set 1ms timer for rtos time base.
After changing TX_TIMER_TICKS_PER_SECOND to 1000 and NX_IP_PERIODIC_RATE to 1000 and generating new files from ioc i see following:
problem # 1
TX_TIMER_TICKS_PER_SECOND updated in tx_user.h (correct)
but NX_IP_PERIODIC_RATE is still 100, is seem like a bug, I defined it as 1000 at beginning of nx_user.h.
I would expect the generator to update the value here but that does not happen and it says commented
/*
#ifdef TX_TIMER_TICKS_PER_SECOND
#define NX_IP_PERIODIC_RATE TX_TIMER_TICKS_PER_SECOND
#else
#define NX_IP_PERIODIC_RATE 100
#endif
*/
problem # 2 is NX_SECURE_DTLS_MAXIMUM_RETRANSMIT_TIMEOUT 6000
before the rate change it was:
/* This option defines the maximum DTLS retransmit rate. The default value is
60 * NX_IP_PERIODIC_RATE. */
which make sense and it should stay the same to or be defined as 60000. 6000 seems like wrong value and I don't know how to fix that.
can someone confirm if these are bugs or what am I missing in the configuration gui for ioc for this to work correctly?