Skip to content

Refactor MQTT topic handling to include device-specific identifiers#2

Open
hlwen wants to merge 1 commit intooopuuu:masterfrom
hlwen:Multi-device_restart_interference
Open

Refactor MQTT topic handling to include device-specific identifiers#2
hlwen wants to merge 1 commit intooopuuu:masterfrom
hlwen:Multi-device_restart_interference

Conversation

@hlwen
Copy link

@hlwen hlwen commented Jan 29, 2026

  • Updated MQTT subscription and publication topics to incorporate device MAC addresses for unique identification.
  • Modified the command topic format in user_mqtt_client.h to support device-specific commands.
  • Adjusted various functions in user_mqtt_client.c to ensure proper topic formatting and logging.
  • Renamed OtaServerStart function to follow consistent naming conventions.
  • Changed include paths in user_ota.c for clarity and maintainability.

- Updated MQTT subscription and publication topics to incorporate device MAC addresses for unique identification.
- Modified the command topic format in user_mqtt_client.h to support device-specific commands.
- Adjusted various functions in user_mqtt_client.c to ensure proper topic formatting and logging.
- Renamed OtaServerStart function to follow consistent naming conventions.
- Changed include paths in user_ota.c for clarity and maintainability.
@hlwen
Copy link
Author

hlwen commented Jan 29, 2026

一个mqtt链接多个设备时候,重启一个会导致另外一个重启

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant