Skip to content

Commit

Permalink
update pnp component sample name to match (Azure#1018)
Browse files Browse the repository at this point in the history
  • Loading branch information
danewalton authored Aug 7, 2020
1 parent 9ce2029 commit 9c2cbf8
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
10 changes: 5 additions & 5 deletions sdk/samples/iot/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -82,22 +82,22 @@ target_link_libraries(paho_iot_hub_pnp_sample
)

# PnP Component Sample
add_executable (paho_iot_hub_pnp_component_example
add_executable (paho_iot_hub_pnp_component_sample
${CMAKE_CURRENT_LIST_DIR}/sample_pnp_component_mqtt.c
${CMAKE_CURRENT_LIST_DIR}/sample_pnp_device_info_component.c
${CMAKE_CURRENT_LIST_DIR}/sample_pnp_thermostat_component.c
${CMAKE_CURRENT_LIST_DIR}/paho_iot_hub_pnp_component_example.c
${CMAKE_CURRENT_LIST_DIR}/paho_iot_hub_pnp_component_sample.c
${CMAKE_CURRENT_LIST_DIR}/sample_pnp.c
)

# SDK deps
target_link_libraries(paho_iot_hub_pnp_component_example
target_link_libraries(paho_iot_hub_pnp_component_sample
PRIVATE
az::iot::hub
)

# External deps
target_link_libraries(paho_iot_hub_pnp_component_example
target_link_libraries(paho_iot_hub_pnp_component_sample
PRIVATE
eclipse-paho-mqtt-c::paho-mqtt3cs-static
OpenSSL::SSL
Expand Down Expand Up @@ -159,7 +159,7 @@ if (MSVC)
set_target_properties(
paho_iot_hub_c2d_sample
paho_iot_hub_methods_sample
paho_iot_hub_pnp_component_example
paho_iot_hub_pnp_component_sample
paho_iot_hub_pnp_sample
paho_iot_hub_telemetry_sample
paho_iot_hub_sas_telemetry_sample
Expand Down
4 changes: 2 additions & 2 deletions sdk/samples/iot/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -98,9 +98,9 @@ This section provides an overview of the different samples available to run and

### IoT Hub Plug and Play Multiple Component

- *Executable:* `paho_iot_hub_pnp_component_example`
- *Executable:* `paho_iot_hub_pnp_component_sample`

This [sample](https://github.com/Azure/azure-sdk-for-c/blob/master/sdk/samples/iot/paho_iot_hub_pnp_component_example.c) connects an IoT Plug and Play enabled device with the Digital Twin Model ID (DTMI) detailed [here](https://github.com/Azure/opendigitaltwins-dtdl/blob/master/DTDL/v2/samples/TemperatureController.json). X509 self-certification is used.
This sample connects an IoT Plug and Play enabled device with the Digital Twin Model ID (DTMI) detailed [here](https://github.com/Azure/opendigitaltwins-dtdl/blob/master/DTDL/v2/samples/TemperatureController.json). X509 self-certification is used.

This temperature controller is made up of the following sub-components

Expand Down

0 comments on commit 9c2cbf8

Please sign in to comment.