Azure RTOS MxChip App Wifi and Device Configuration

Chandra Mohan 461 Reputation points
2021-08-17T23:28:09.56+00:00

The tutorial for MxChip app quickstart-devkit-mxchip-az3166-iot-hub requires the developer to set build time configuration such as Wifi and Device connection strings in the 'azure_cofig.h" file. This means that the app needs to be built for each and every device separately. Instead, is it possible to build the app once and configure network settings externally from windows 10? Could you please advise how and where the sample needs to be modified in order to acheive this?

Thank you.

Azure RTOS
Azure RTOS
An Azure embedded development suite including a small but powerful operating system for resource-constrained devices.
324 questions
Azure IoT SDK
Azure IoT SDK
An Azure software development kit that facilitates building applications that connect to Azure IoT services.
208 questions
0 comments No comments
{count} votes

Accepted answer
  1. Ryan 276 Reputation points Microsoft Employee
    2021-08-18T17:40:25.477+00:00

    Hi @Chandra Mohan

    The sample currently uses configuration in code to simplify the experience of building and deploying the solution. For a production system this is obviously not scalable as you mention. One solution here would be to use the serial interface to collect this information, and then store this in flash which would then be retrieved at boot time.

    We currently don't have a good working sample to show demonstrate this.

    Thanks


0 additional answers

Sort by: Most helpful