esp-idf icon indicating copy to clipboard operation
esp-idf copied to clipboard

BLE Mesh CTL Server Range Set to Hard coded mode (IDFGH-14349)

Open pranjalchanda08 opened this issue 10 months ago • 1 comments

Answers checklist.

  • [X] I have read the documentation ESP-IDF Programming Guide and the issue is not addressed there.
  • [X] I have updated my IDF branch (master or release) to the latest version and checked that the issue is present there.
  • [X] I have searched the issue tracker for a similar issue and not found a similar issue.

IDF version.

v5.4

Espressif SoC revision.

ESP32-C3

Operating System used.

Linux

How did you build your project?

Command line with idf.py

If you are using Windows, please specify command line type.

None

Development Kit.

WeAct Studio ESP32-C3Fh4

Power Supply used.

USB

What is the expected behavior?

The expected behaviour is to have the range check dynamically assigned so that the CTL Setup Server range set can take effect.

What is the actual behavior?

image

Steps to reproduce.

  1. Add a CTL setup Server and a CTL Server
  2. Add a CTL Client
  3. Provision the nodes with same PUB, SUB address 0xc000
  4. send a temperature set message from client to setup server {1000, 10000}
  5. The range shall be set internally.
  6. Send a message to corresponding CTL server with temperature value lesser than 1000, like 999 and yet the value is excepted.
  7. Send below 800 the issue is seen. image In the code I can see the ranges being checked are Hard coded via Macros.

Debug Logs.

No response

More Information.

No response

pranjalchanda08 avatar Jan 04 '25 20:01 pranjalchanda08

Sorry no one got back to you earlier. This is indeed an issue and we will be fixing this in the future.

forx157 avatar Mar 31 '25 06:03 forx157

Any update on this issue? @forx157 any changes proposed?

pranjalchanda08 avatar Aug 20 '25 14:08 pranjalchanda08