Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,7 @@
<PackageProjectUrl>https://github.com/sharpbrick/powered-up</PackageProjectUrl>
<RepositoryUrl>https://github.com/sharpbrick/powered-up</RepositoryUrl>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<NoWarn>$(NoWarn);CS1591</NoWarn>
</PropertyGroup>
</Project>
2 changes: 1 addition & 1 deletion src/SharpBrick.PoweredUp.BlueGigaBLE/BlueGigaBLEHelper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ public static byte[] UlongTo6ByteArray(ulong myulong)
/// <summary>
/// Convert a ulong into a BYte-Array
/// </summary>
/// <param name="myulong">the ulong to be converted</param>
/// <param name="mybytes">the byte[] to be converted</param>
/// <returns></returns>
public static ulong ByteArrayToUlong(byte[] mybytes)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
TraceDebug = options.Value.TraceDebug;
BgLib = new Bluegiga.BGLibDebug();
BleModuleConnection = new BleModuleConnection(BgLib);
BleModuleConnection.Start(options.Value.COMPortName, 0);

Check warning on line 49 in src/SharpBrick.PoweredUp.BlueGigaBLE/BlueGigaBLEPoweredUpBluetoothAdapater.cs

View workflow job for this annotation

GitHub Actions / build

'BleModuleConnection.Start(string, int)' is obsolete: 'The port thread sleep parameter has no effect anymore and this constructor will be removed in future releases'

Check warning on line 49 in src/SharpBrick.PoweredUp.BlueGigaBLE/BlueGigaBLEPoweredUpBluetoothAdapater.cs

View workflow job for this annotation

GitHub Actions / build

'BleModuleConnection.Start(string, int)' is obsolete: 'The port thread sleep parameter has no effect anymore and this constructor will be removed in future releases'
Devices = new ConcurrentDictionary<ulong, BlueGigaBLEPoweredUpBluetoothDevice>();
DevicesInfo = new ConcurrentDictionary<ulong, PoweredUpBluetoothDeviceInfoWithMacAddress>();
}
Expand Down Expand Up @@ -133,7 +133,7 @@
/// <summary>
/// Get the device given by the bluetooth-address (ulong) and discover all services and their characteristics. The device is connected after this call!
/// </summary>
/// <param name="bluetoothAddress"></param>
/// <param name="bluetoothDeviceInfo"></param>
/// <returns></returns>
public async Task<IPoweredUpBluetoothDevice> GetDeviceAsync(IPoweredUpBluetoothDeviceInfo bluetoothDeviceInfo)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,8 @@ public class BlueGigaBLEPoweredUpBluetoothService : IPoweredUpBluetoothService,
/// <param name="serviceUuid">The service-UUID of this service</param>
/// <param name="firstCharacterHandle">The first handle under which the service has a characteristic</param>
/// <param name="lastCharacterHandle">The last handle under which the service has a characteristic</param>
/// <param name="logger"></param>
/// <param name="traceDebug"></param>
public BlueGigaBLEPoweredUpBluetoothService(BlueGigaBLEPoweredUpBluetoothDevice device, Guid serviceUuid, ushort firstCharacterHandle, ushort lastCharacterHandle, ILogger logger, bool traceDebug)
{
Device = device ?? throw new ArgumentNullException(nameof(device));
Expand Down
2 changes: 2 additions & 0 deletions src/SharpBrick.PoweredUp.BlueGigaBLE/IBlueGigaLogger.cs
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ public interface IBlueGigaLogger
/// Writes the indented information of this object into the configured ILogger
/// </summary>
/// <param name="indent"></param>
/// <param name="header"></param>
/// <param name="footer"></param>
public Task LogInfosAsync(int indent = 0, string header = "", string footer = "");
/// <summary>
/// Shall the LogInfoAsync really log
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,7 @@ public DeploymentModelBuilder AddHub(SystemType? hubType, Action<DeploymentModel
/// <summary>
/// Adds a hub to the model
/// </summary>
/// <param name="hubType"></param>
/// <param name="devices"></param>
/// <param name="hubModel"></param>
/// <returns></returns>
private DeploymentModelBuilder AddHub(DeploymentHubModel hubModel)
{
Expand Down
2 changes: 1 addition & 1 deletion src/SharpBrick.PoweredUp/Deployment/HubExtensions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ public static async Task VerifyDeploymentModelAsync(this Hub self, Action<Deploy
/// Verifies the deployment model and waits till it reaches zero deployment errors.
/// </summary>
/// <param name="self"></param>
/// <param name="configure">Builder infrastructure for the deployment model</param>
/// <param name="model">Deployment Model</param>
/// <returns></returns>
public static async Task VerifyDeploymentModelAsync(this Hub self, DeploymentModel model)
{
Expand Down
Loading