Skip to content

add sample of module direct method in c sdk - #6543

Open
ChenCheng368 wants to merge 2 commits into
Azure:mainfrom
ChenCheng368:feature/module-direct-method-c
Open

add sample of module direct method in c sdk#6543
ChenCheng368 wants to merge 2 commits into
Azure:mainfrom
ChenCheng368:feature/module-direct-method-c

Conversation

@ChenCheng368

Copy link
Copy Markdown

From CSE code-with customer engagement, we observe that there is no sample of module direct method in Azure IoT C SDK from MS docs/repo, and there is only the sample for device direct method.

Thus we are writing this sample of Azure IoT Module Direct Method application usage.

Azure IoT Edge PR checklist:

This checklist is used to make sure that common guidelines for a pull request are followed.

General Guidelines and Best Practices

  • I have read the contribution guidelines.
  • Title of the pull request is clear and informative.
  • Description of the pull request includes a concise summary of the enhancement or bug fix.

Testing Guidelines

  • Pull request includes test coverage for the included changes.
  • Description of the pull request includes
    • concise summary of tests added/modified
    • local testing done.

Draft PRs

  • Open the PR in Draft mode if it is:
    • Work in progress or not intended to be merged.
    • Encountering multiple pipeline failures and working on fixes.

Note: We use the kodiakhq bot to merge PRs once the necessary checks and approvals are in place. When it merges a PR, kodiakhq converts the PR title to the commit title, PR description to the commit description, and squashes all the commits in the PR to a single commit. The net effect is that entire PR becomes a single commit. Please follow the best practices mentioned here for the PR title and description

@ChenCheng368

ChenCheng368 commented Jul 30, 2022

Copy link
Copy Markdown
Author

During code-with customer engegements, we witness that there is no existing module direct method sample in Azure iot C SDK in existing MS repo, only device direct method sample available.
I wrote the sample for module level to accelerate the development works. This pattern helps customer to clear C2D comms blockings, and also helps the other customer for deployment verification.

-- Chen Cheng from CSE IoT Tech Domain Solution Area

@veyalla

veyalla commented Aug 19, 2022

Copy link
Copy Markdown

Please contribute this sample to the C SDK repo: https://github.com/Azure/azure-iot-sdk-c/tree/main/iothub_client/samples

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.

2 participants