Running any zigbee server cluster on STM32WB55
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2025-03-31 1:11 PM - edited 2025-04-01 10:25 AM
Hello!
I am continuing my journey to Zigbee on WB55 and facing new strange behavior
If i select Temperature measurement server or Pressure measurement server or whatever server, the code hangs on
zigbee_app_info.temperature_meas_server_1 = ZbZclTempMeasServerAlloc(zigbee_app_info.zb, SW1_ENDPOINT, TEMP_MIN_1, TEMP_MAX_1, TEMP_TOLERANCE_1);
If I choose a client, the process of joining has successfully started. If I choose something where i should not choose MIN/MAX of measurement, the process of joining successfully started
I use MIN/MAX params what I've found in the TemperatureMeasServerCoord example
#define TEMP_MIN_1 (int16_t)0xf060 /* -40C */
#define TEMP_MAX_1 (int16_t)0x30d4 /* 125C */
#define TEMP_TOLERANCE_1 (int16_t)0x0032 /* +-0.5C */
But, i cant set `TEMP_MIN_1 ` in the CubeMX - it just drops my attempts to set HEX and returns to it's initial negative value.
This values are unsuccessful too
#define TEMP_MIN_1 -4000
#define TEMP_MAX_1 0x30d4
#define TEMP_TOLERANCE_1 0x0032
- Labels:
-
STM32WB series
