Révision 58c56df1
TestTeoBluetooth/TestTeoBluetooth.Android/Connection/BluetoothConnection.cs | ||
---|---|---|
1 |
using Android.App; |
|
2 |
using Android.Content; |
|
3 |
using Android.OS; |
|
4 |
using Android.Runtime; |
|
5 |
using Android.Views; |
|
6 |
using Android.Widget; |
|
7 |
using System; |
|
8 |
using System.Collections.Generic; |
|
9 |
using System.Linq; |
|
10 |
using System.Text; |
|
11 |
|
|
12 |
namespace TestBLE.Droid.Connection |
|
13 |
{ |
|
14 |
/* Classe permettant d'établir une connection Bluetooth |
|
15 |
* Avec socket RFCOMM connecté au SPP |
|
16 |
*/ |
|
17 |
public class BluetoothConnection |
|
18 |
{ |
|
19 |
|
|
20 |
} |
|
21 |
} |
TestTeoBluetooth/TestTeoBluetooth.Android/Connection/InternConnection.cs | ||
---|---|---|
1 |
using Android.App; |
|
2 |
using Android.Content; |
|
3 |
using Android.OS; |
|
4 |
using Android.Runtime; |
|
5 |
using Android.Views; |
|
6 |
using Android.Widget; |
|
7 |
using System; |
|
8 |
using System.Collections.Generic; |
|
9 |
using System.Linq; |
|
10 |
using System.Text; |
|
11 |
|
|
12 |
namespace TestBLE.Droid.Connection |
|
13 |
{ |
|
14 |
/* Classe permettant d'établir une avec une applications tiers |
|
15 |
* Pré-installée sur l'appareil |
|
16 |
* Basée sur filtrage d'intent sur BroadcastReceiver |
|
17 |
*/ |
|
18 |
public class InternConnection |
|
19 |
{ |
|
20 |
} |
|
21 |
} |
TestTeoBluetooth/TestTeoBluetooth.Android/Connection/WifiConnection.cs | ||
---|---|---|
1 |
using Android.App; |
|
2 |
using Android.Content; |
|
3 |
using Android.OS; |
|
4 |
using Android.Runtime; |
|
5 |
using Android.Views; |
|
6 |
using Android.Widget; |
|
7 |
using System; |
|
8 |
using System.Collections.Generic; |
|
9 |
using System.Linq; |
|
10 |
using System.Text; |
|
11 |
|
|
12 |
namespace TestBLE.Droid.Connection |
|
13 |
{ |
|
14 |
/* Classe permettant d'établir une connection Wifi |
|
15 |
* NON IMPLEMENTEE |
|
16 |
*/ |
|
17 |
public class WifiConnection |
|
18 |
{ |
|
19 |
} |
|
20 |
} |
TestTeoBluetooth/TestTeoBluetooth.Android/TestTeoBluetooth.Android.csproj | ||
---|---|---|
54 | 54 |
<Reference Include="System.Numerics.Vectors" /> |
55 | 55 |
</ItemGroup> |
56 | 56 |
<ItemGroup> |
57 |
<PackageReference Include="Xamarin.Forms" Version="5.0.0.2012" />
|
|
58 |
<PackageReference Include="Xamarin.Essentials" Version="1.6.1" />
|
|
57 |
<PackageReference Include="Xamarin.Forms" Version="5.0.0.2515" />
|
|
58 |
<PackageReference Include="Xamarin.Essentials" Version="1.7.3" />
|
|
59 | 59 |
</ItemGroup> |
60 | 60 |
<ItemGroup> |
61 |
<Compile Include="Connection\BluetoothConnection.cs" /> |
|
62 |
<Compile Include="Connection\InternConnection.cs" /> |
|
63 |
<Compile Include="Connection\WifiConnection.cs" /> |
|
61 | 64 |
<Compile Include="MainActivity.cs" /> |
62 | 65 |
<Compile Include="Receivers\BluetoothReceiver.cs" /> |
63 | 66 |
<Compile Include="Resources\Resource.designer.cs" /> |
... | ... | |
90 | 93 |
<Folder Include="Resources\drawable\" /> |
91 | 94 |
</ItemGroup> |
92 | 95 |
<ItemGroup> |
93 |
<ProjectReference Include="..\TestBLE\TestTeoBluetooth.csproj">
|
|
96 |
<ProjectReference Include="..\TestTeoBluetooth\TestTeoBluetooth.csproj">
|
|
94 | 97 |
<Project>{5C87F357-DF5A-4AEC-9663-ED55C0E4904D}</Project> |
95 | 98 |
<Name>TestTeoBluetooth</Name> |
96 | 99 |
</ProjectReference> |
Formats disponibles : Unified diff