Skip to content

Commit

Permalink
Drop dependency on the hub service client from the device client (#3178)
Browse files Browse the repository at this point in the history
  • Loading branch information
brycewang-microsoft authored Mar 21, 2023
1 parent 611cc13 commit 09103cb
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 7 deletions.
2 changes: 1 addition & 1 deletion iothub/device/src/IotHubClientOptions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ public IotHubClientOptions(IotHubClientTransportSettings transportSettings)
public string ModelId { get; set; }

/// <summary>
/// The configuration for setting <see cref="OutgoingMessage.MessageId"/> for every message sent by the device or module client instance.
/// The configuration for setting <see cref="TelemetryMessage.MessageId"/> for every message sent by the device or module client instance.
/// </summary>
/// <remarks>
/// The default behavior is that a message Id is sent only if set by the user.
Expand Down
6 changes: 1 addition & 5 deletions iothub/device/src/Microsoft.Azure.Devices.Client.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -55,13 +55,9 @@
</None>
</ItemGroup>

<!--Project reference dependencies-->
<ItemGroup>
<ProjectReference Include="..\..\service\src\Microsoft.Azure.Devices.csproj" />
</ItemGroup>

<!--Nuget package dependencies-->
<ItemGroup>
<PackageReference Include="Azure.Core" Version="1.26.0" />
<PackageReference Include="MQTTnet" Version="4.1.2.350" />
<PackageReference Include="Microsoft.Azure.Amqp" Version="2.5.12" />
<PackageReference Include="Microsoft.CodeAnalysis.NetAnalyzers" Version="7.0.1-preview1.23061.1">
Expand Down
2 changes: 1 addition & 1 deletion iothub/service/src/Messaging/Models/OutgoingMessage.cs
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ public OutgoingMessage()
}

/// <summary>
/// Creates a telemetry message with the specified payload.
/// Creates a cloud-to-device message with the specified payload.
/// </summary>
/// <remarks>User should treat the input byte array as immutable when sending the message.</remarks>
/// <param name="payload">The payload will be serialized with
Expand Down

0 comments on commit 09103cb

Please sign in to comment.