Skip to content

Commit

Permalink
chore: bump dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
DariuszGarbarz committed Aug 30, 2024
1 parent 790cd50 commit 6d2629a
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion BleBoxNetSdk/BleBoxNetSdk.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="BleBoxModels" Version="0.1.2" />
<PackageReference Include="BleBoxModels" Version="1.0.0" />
<PackageReference Include="Microsoft.Extensions.DependencyInjection.Abstractions" Version="8.0.1" />
<PackageReference Include="Microsoft.Extensions.Logging.Abstractions" Version="8.0.1" />
</ItemGroup>
Expand Down
2 changes: 1 addition & 1 deletion BleBoxNetSdk/ServiceExtensions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ namespace BleBoxNetSdk;

public static class ServiceExtensions
{
public static IServiceCollection RegisterSdkServices(this IServiceCollection services)
public static IServiceCollection AddBleBoxSdk(this IServiceCollection services)
{
services
.AddSingleton<ISerializer, Serializer>()
Expand Down
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,13 @@ This SDK allows you to quickly connect, read data and control all supported type

## Requirements and technologies

Project is based on .NET 8 with no external dependencies.
Project is based on .NET 8.

It uses:

* Microsoft.Extensions.DependencyInjection.Abstractions 8+
* Microsoft.Extensions.Logging.Abstractions 8+
* BleBoxModels 1.0.0

## Supported devices

Expand All @@ -22,7 +23,7 @@ Full support:

## Get started

* Use the IServiceCollection extension method **RegisterSdkServices()** to register all necessary dependencies for the internal services
* Use the IServiceCollection extension method **AddBleBoxSdk()** to register all necessary dependencies for the internal services
* Register **ILogger** from Microsoft.Extensions.Logging.Abstractions to provide logging service for SDK
* Resolve api client for your BleBox device
* Use provided methods with device address, additional parameters (if needed) and optionally with your own cancellation token
Expand Down

0 comments on commit 6d2629a

Please sign in to comment.