Skip to content

Commit d083cba

Browse files
authored
Merge pull request #60 from SuessLabs/feature/BleServer
Bluetooth Server
2 parents c0db619 + 2f2117d commit d083cba

30 files changed

+1554
-27
lines changed

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,5 +77,4 @@ TestResult.xml
7777
## USER DEFINED
7878
/[Dd]ocs/*.csv
7979
/[Dd]ocs/backup
80-
/[Tt]ests
8180
/[Tt]ools

Directory.Build.props

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
<Project>
22
<PropertyGroup>
33
<Nullable>enable</Nullable>
4-
<ReleaseVersion>6.0.0-pre1</ReleaseVersion>
4+
<ReleaseVersion>6.0.0-pre2</ReleaseVersion>
5+
<AvaloniaVersion>11.1.3</AvaloniaVersion>
56
</PropertyGroup>
67
</Project>

Directory.Packages.props

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
<Project>
22
<PropertyGroup>
3-
<ManagePackageVersionsCentrally>true</ManagePackageVersionsCentrally>
3+
<ManagePackageVersionsCentrally>true</ManagePackageVersionsCentrally>
44
</PropertyGroup>
55
<ItemGroup>
6-
<PackageVersion Include="Tmds.DBus" Version="0.20.0" />
6+
<PackageVersion Include="Tmds.DBus" Version="0.21.2" />
77
</ItemGroup>
88
<!-- Samples -->
99
<ItemGroup>
@@ -38,4 +38,4 @@
3838
<PackageVersion Include="Microsoft.SourceLink.GitHub" Version="1.1.1" />
3939
</ItemGroup>
4040
-->
41-
</Project>
41+
</Project>

Linux.Bluetooth.sln

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,12 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution
3030
EndProject
3131
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "BleTester", "samples\BleTester\BleTester.csproj", "{5794ABD8-6BE8-4878-B4B1-92426E984E49}"
3232
EndProject
33+
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "BleServerGui", "samples\BleServer\BleServerGui.csproj", "{E2918579-E426-4FF9-87D4-A571C71BA0A5}"
34+
EndProject
35+
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "GUI", "GUI", "{1A8CDB9B-703B-48AC-B196-A3A0358E635B}"
36+
EndProject
37+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "BleServerCli", "samples\BleServerCli\BleServerCli.csproj", "{A2947B49-83D1-4B32-8BA5-19895190F668}"
38+
EndProject
3339
Global
3440
GlobalSection(SolutionConfigurationPlatforms) = preSolution
3541
Debug|Any CPU = Debug|Any CPU
@@ -64,6 +70,14 @@ Global
6470
{5794ABD8-6BE8-4878-B4B1-92426E984E49}.Debug|Any CPU.Build.0 = Debug|Any CPU
6571
{5794ABD8-6BE8-4878-B4B1-92426E984E49}.Release|Any CPU.ActiveCfg = Release|Any CPU
6672
{5794ABD8-6BE8-4878-B4B1-92426E984E49}.Release|Any CPU.Build.0 = Release|Any CPU
73+
{E2918579-E426-4FF9-87D4-A571C71BA0A5}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
74+
{E2918579-E426-4FF9-87D4-A571C71BA0A5}.Debug|Any CPU.Build.0 = Debug|Any CPU
75+
{E2918579-E426-4FF9-87D4-A571C71BA0A5}.Release|Any CPU.ActiveCfg = Release|Any CPU
76+
{E2918579-E426-4FF9-87D4-A571C71BA0A5}.Release|Any CPU.Build.0 = Release|Any CPU
77+
{A2947B49-83D1-4B32-8BA5-19895190F668}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
78+
{A2947B49-83D1-4B32-8BA5-19895190F668}.Debug|Any CPU.Build.0 = Debug|Any CPU
79+
{A2947B49-83D1-4B32-8BA5-19895190F668}.Release|Any CPU.ActiveCfg = Release|Any CPU
80+
{A2947B49-83D1-4B32-8BA5-19895190F668}.Release|Any CPU.Build.0 = Release|Any CPU
6781
EndGlobalSection
6882
GlobalSection(SolutionProperties) = preSolution
6983
HideSolutionNode = FALSE
@@ -74,7 +88,10 @@ Global
7488
{52EADF18-B84E-401D-A48C-4397F45CB3A3} = {8DCF476D-3F5A-4228-BE63-B7D6D9E5F629}
7589
{DA1BDB4E-CA5D-44D2-B9FD-B77AB9858422} = {5052ABFA-8EB7-4E54-B851-7203081BFB65}
7690
{936088A7-5002-4BD1-A1E9-643CB04ACB8D} = {5052ABFA-8EB7-4E54-B851-7203081BFB65}
77-
{5794ABD8-6BE8-4878-B4B1-92426E984E49} = {8DCF476D-3F5A-4228-BE63-B7D6D9E5F629}
91+
{5794ABD8-6BE8-4878-B4B1-92426E984E49} = {1A8CDB9B-703B-48AC-B196-A3A0358E635B}
92+
{E2918579-E426-4FF9-87D4-A571C71BA0A5} = {1A8CDB9B-703B-48AC-B196-A3A0358E635B}
93+
{1A8CDB9B-703B-48AC-B196-A3A0358E635B} = {8DCF476D-3F5A-4228-BE63-B7D6D9E5F629}
94+
{A2947B49-83D1-4B32-8BA5-19895190F668} = {8DCF476D-3F5A-4228-BE63-B7D6D9E5F629}
7895
EndGlobalSection
7996
GlobalSection(ExtensibilityGlobals) = postSolution
8097
SolutionGuid = {00669A67-D800-45CB-8AF3-2B4EB823A37C}

docs/Design-Specifications-6.0.md

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
# Linux.Bluetooth 6.0
2+
3+
## New Additions
4+
5+
* LEAdvertisement
6+
* `DBusBase` class
7+
8+
### Server Example
9+
10+
Although Linux.Bluetooth already supports creating a Server; make a simple example.
11+
12+
## Design Considerations
13+
14+
### DBus Base Class
15+
16+
Base class `DBusBase` will be used to inherit common DBus method functionality.
17+
18+
* `GetAllAsync`
19+
* `GetAsync`
20+
* `SetAsync`
21+
* `WatchPropertiesAsync`
22+
23+
### Refactoring Namespaces
24+
25+
Refactored namespaces to match Bluetooth hierarchy
26+
27+
1. Place GATT classes under `Linux.Bluetooth.Gatt`.
28+
* i.e. `Characteristics`, `Service`, `Descriptor`.
29+
2. Place generic Advertisements under `Linux.Bluetooth.Advertisements`.
30+
3. Split up `DBusInterfaces` to respective hierarchy
31+
* i.e. `GattInterfaces`, `CoreInterfaces`
32+
33+
### Extensions
34+
35+
Eliminate the `Linux.Bluetooth.Extensions` namespace, and place in the same namespace as the class which it extends.
36+
37+
## Under Consideration
38+
39+
* Support BT Classic

docs/Icon.png

4.06 KB
Loading

0 commit comments

Comments
 (0)