Skip to content

azure-sdk-for-c-arduino - Azure_IoT_Hub_ESP32 example - Build fails when using X509 certificates #3076

@fkr-1

Description

@fkr-1

Describe the bug
Build fails when using X509 certificates due to nonexistent function call.

Exception or Stack Trace
Compilation error: 'LogInfo' was not declared in this scope

To Reproduce
Uncomment L13 in iot_configs.h and build example

Code Snippet
L279 in Azure_IoT_Hub_ESP32.ino file
LogInfo("MQTT client using X509 Certificate authentication");

Expected behavior
Successful build.

Setup (please complete the following information):

  • OS: W11
  • IDE: Arduino IDE with ESP32C6 DEVBOARD
  • Version of the Library used 1.1.8

Additional context
Can be fixed by replacing LogInfo() at L279 in Azure_IoT_Hub_ESP32.ino file with Logger.Info() function.

Information Checklist
Please make sure that you have added all the following information above and checkoff the required fields otherwise we will treat the issuer as an incomplete report

  • [x ] Bug Description Added
  • [x ] Repro Steps Added
  • [x ] Setup information Added

Metadata

Metadata

Assignees

No one assigned

    Labels

    customer-reportedIssues that are reported by GitHub users external to the Azure organization.needs-triageWorkflow: This is a new issue that needs to be triaged to the appropriate team.questionThe issue doesn't require a change to the product in order to be resolved. Most issues start as that

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions