Skip to content

Master std 21 patch#11

Open
sw-iot-himanshuparmar1 wants to merge 23 commits into
master-std-21from
master-std-21-patch
Open

Master std 21 patch#11
sw-iot-himanshuparmar1 wants to merge 23 commits into
master-std-21from
master-std-21-patch

Conversation

@sw-iot-himanshuparmar1

Copy link
Copy Markdown
  • unwanted print statement removed
  • add IsDebug status to debug SDK logs
  • add readystatus flag to firmware for publish data

Himanshu Parmar1 and others added 10 commits March 3, 2025 12:48
Implements automatic X.509 certificate renewal for IoTConnect Python SDK v2.1. Adds certificate expiry detection, auth challenge, and ACK methods to IoTConnectSDK.py, DER Hex to PEM conversion utilities to util.py, and a firmware callback for certificate rotation in the sample. The implementation is backward compatible and includes error handling and logging for all certificate rotation scenarios.
Refactored IoTConnectSDK to store pending certificate rotation data until the MQTT client is ready, ensuring proper callback execution. Enhanced certificate ACK logic to only send acknowledgments on successful installation. Updated sample firmware to improve certificate conversion, file handling, and output formatting with ANSI colors. Util.py now saves PEM files with explicit encoding and newline handling.
Corrected indentation and comma placement in the SdkOptions dictionary to improve code readability and prevent potential syntax issues.
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.

3 participants