-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Modify set of things changed * Fix the version number and copyright notice * Update to -13 of OSCORE Try and get all of the -13 changes in the code. * Bugs found during client testing * Allow CoapClient to be passed a NULL URL on construction * Get the callbacks to work better for DTLS interfacing. * Change OSCORE option from 21 to 9 - Still not final value. * We need to be able to change the code on a message - set things up to allow this. * Fix problems with observe processing in OSCORE * Get netstardard 1.3 working Get the multiple frame work build running correct. Still need to figure out a story for testing. * Fix to use new build file * New version of nuget * Change version of nunit runners again * Package needs nunit installed * try again * restore on appveyor * Get newer nuget * correct section * copy it in by hand. * add package name * Try this way to get the package installed * Add more packages. * typo * Add more references * Add dependencies to client code * Kill unused file * Update the packages we need. * Find out wihch is failing Remove 2.0 * Update the media types Make the media types match the IANA registry. * More media types * Add multicast addresses to an endpoint Setup to add multicast endpoints to the system. * Checkpoint in Just put in everything to start the drop process. * Ifdef out all of the CWT stuff * Correct testing to use correct framework * Push up changes to examples build files * Get the versions right * update docs
- Loading branch information
Showing
66 changed files
with
2,261 additions
and
928 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
version: 2 | ||
jobs: | ||
build: | ||
docker: | ||
- image: microsoft/dotnet:2-sdk | ||
|
||
working_directory: ~/repo | ||
|
||
steps: | ||
- checkout | ||
|
||
- run: | ||
name: Get Examples | ||
command: git clone --depth 1 https://github.com/cose-wg/Examples Regressions | ||
|
||
- run: | ||
name: Unit Tests | ||
command: | | ||
ls | ||
dotnet build --framework=netcoreapp2.0 CoAP.Std10.sln | ||
dotnet test --framework=netcoreapp2.0 CoAP.Std10.sln | ||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,85 +1,27 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<Project Sdk="Microsoft.NET.Sdk"> | ||
|
||
<PropertyGroup> | ||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> | ||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> | ||
<ProductVersion>8.0.30703</ProductVersion> | ||
<SchemaVersion>2.0</SchemaVersion> | ||
<ProjectGuid>{30223FF5-4DCB-45B8-9B06-61EB9FBF9FA8}</ProjectGuid> | ||
<OutputType>Exe</OutputType> | ||
<AppDesignerFolder>Properties</AppDesignerFolder> | ||
<RootNamespace>Com.AugustCellars.CoAP.Examples</RootNamespace> | ||
<AssemblyName>CoAPClient</AssemblyName> | ||
<TargetFrameworkVersion>v4.6.2</TargetFrameworkVersion> | ||
<FileAlignment>512</FileAlignment> | ||
<TargetFrameworkProfile /> | ||
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects> | ||
<TargetFrameworks>netcoreapp2.0;net462</TargetFrameworks> | ||
</PropertyGroup> | ||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> | ||
<DebugSymbols>true</DebugSymbols> | ||
<DebugType>full</DebugType> | ||
<Optimize>false</Optimize> | ||
<IntermediateOutputPath>obj\Debug\Std10</IntermediateOutputPath> | ||
<OutputPath>bin\Debug\Std10\</OutputPath> | ||
<DefineConstants>DEBUG;TRACE</DefineConstants> | ||
<ErrorReport>prompt</ErrorReport> | ||
<WarningLevel>4</WarningLevel> | ||
</PropertyGroup> | ||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> | ||
<DebugType>pdbonly</DebugType> | ||
<Optimize>true</Optimize> | ||
<IntermediateOutputPath>obj\Release\Std10</IntermediateOutputPath> | ||
<OutputPath>bin\Release\Std10\</OutputPath> | ||
<DefineConstants>TRACE</DefineConstants> | ||
<ErrorReport>prompt</ErrorReport> | ||
<WarningLevel>4</WarningLevel> | ||
</PropertyGroup> | ||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Deploy|AnyCPU' "> | ||
<DebugType>pdbonly</DebugType> | ||
<Optimize>true</Optimize> | ||
<IntermediateOutputPath>obj\Deploy\Std10</IntermediateOutputPath> | ||
<OutputPath>bin\Deploy\Std10\</OutputPath> | ||
|
||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'"> | ||
<DefineConstants>TRACE</DefineConstants> | ||
<ErrorReport>prompt</ErrorReport> | ||
<WarningLevel>4</WarningLevel> | ||
</PropertyGroup> | ||
|
||
<ItemGroup> | ||
<Compile Include="ExampleClient.cs" /> | ||
<Compile Include="Properties\AssemblyInfo.cs" /> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<None Include="app.config" /> | ||
<None Include="packages.config" /> | ||
<Compile Remove="Properties\AssemblyInfo.cs" /> | ||
</ItemGroup> | ||
|
||
|
||
<ItemGroup> | ||
<ProjectReference Include="..\..\CoAP.NET\CoAP.Std10.csproj"> | ||
<Project>{45db1e45-4831-4e4a-bb1e-ae92eea182e3}</Project> | ||
<Name>CoAP.Std10</Name> | ||
</ProjectReference> | ||
<Folder Include="Properties\" /> | ||
</ItemGroup> | ||
|
||
|
||
<ItemGroup> | ||
<Reference Include="System" /> | ||
<Reference Include="System.ComponentModel.Composition" /> | ||
<Reference Include="System.IO.Compression.FileSystem" /> | ||
<Reference Include="System.Numerics" /> | ||
<Reference Include="System.Xml" /> | ||
<Reference Include="System.Xml.Linq" /> | ||
<Reference Include="CBOR, Version=3.0.3.0, Culture=neutral, PublicKeyToken=9cd62db60ea5554c, processorArchitecture=MSIL"> | ||
<HintPath>..\..\packages\PeterO.Cbor.3.0.3\lib\netstandard1.0\CBOR.dll</HintPath> | ||
</Reference> | ||
<Reference Include="Numbers, Version=1.0.2.0, Culture=neutral, PublicKeyToken=9cd62db60ea5554c, processorArchitecture=MSIL"> | ||
<HintPath>..\..\packages\PeterO.Numbers.1.0.2\lib\netstandard1.0\Numbers.dll</HintPath> | ||
</Reference> | ||
<Reference Include="COSE, Version=1.3.0.0, Culture=neutral, PublicKeyToken=feba232d7e8953ed"> | ||
<HintPath>..\..\packages\Com.AugustCellars.COSE.1.3.0\lib\netstandard1.0\COSE.dll</HintPath> | ||
</Reference> | ||
<ProjectReference Include="..\..\CoAP.NET\CoAP.Std10.csproj" /> | ||
</ItemGroup> | ||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> | ||
<!-- To modify your build process, add your task inside one of the targets below and uncomment it. | ||
Other similar extension points exist, see Microsoft.Common.targets. | ||
<Target Name="BeforeBuild"> | ||
</Target> | ||
<Target Name="AfterBuild"> | ||
</Target> | ||
--> | ||
</Project> | ||
|
||
</Project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,79 +1,27 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<Project Sdk="Microsoft.NET.Sdk"> | ||
|
||
<PropertyGroup> | ||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> | ||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> | ||
<ProductVersion>8.0.30703</ProductVersion> | ||
<SchemaVersion>2.0</SchemaVersion> | ||
<ProjectGuid>{05CC2E5E-B663-4560-844C-C8E52ED1C9D1}</ProjectGuid> | ||
<OutputType>Exe</OutputType> | ||
<AppDesignerFolder>Properties</AppDesignerFolder> | ||
<RootNamespace>Com.AugustCellars.CoAP.Examples</RootNamespace> | ||
<AssemblyName>CoAPServer</AssemblyName> | ||
<TargetFrameworkVersion>v4.6.2</TargetFrameworkVersion> | ||
<FileAlignment>512</FileAlignment> | ||
<TargetFrameworkProfile /> | ||
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects> | ||
<TargetFrameworks>netcoreapp2.0;net462</TargetFrameworks> | ||
</PropertyGroup> | ||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> | ||
<DebugSymbols>true</DebugSymbols> | ||
<DebugType>full</DebugType> | ||
<Optimize>false</Optimize> | ||
<IntermediateOutputPath>obj\Debug\Std10</IntermediateOutputPath> | ||
<OutputPath>bin\Debug\Std10\</OutputPath> | ||
<DefineConstants>TRACE;DEBUG</DefineConstants> | ||
<ErrorReport>prompt</ErrorReport> | ||
<WarningLevel>4</WarningLevel> | ||
</PropertyGroup> | ||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> | ||
<DebugType>pdbonly</DebugType> | ||
<Optimize>true</Optimize> | ||
<IntermediateOutputPath>obj\Release\Std10</IntermediateOutputPath> | ||
<OutputPath>bin\Release\Std10\</OutputPath> | ||
<DefineConstants>TRACE</DefineConstants> | ||
<ErrorReport>prompt</ErrorReport> | ||
<WarningLevel>4</WarningLevel> | ||
</PropertyGroup> | ||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Deploy|AnyCPU' "> | ||
<DebugType>pdbonly</DebugType> | ||
<Optimize>true</Optimize> | ||
<IntermediateOutputPath>obj\Deploy\Std10</IntermediateOutputPath> | ||
<OutputPath>bin\Deploy\Std10\</OutputPath> | ||
|
||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'"> | ||
<DefineConstants>TRACE</DefineConstants> | ||
<ErrorReport>prompt</ErrorReport> | ||
<WarningLevel>4</WarningLevel> | ||
</PropertyGroup> | ||
|
||
<ItemGroup> | ||
<Compile Include="ExampleServer.cs" /> | ||
<Compile Include="Properties\AssemblyInfo.cs" /> | ||
<Compile Include="Resources\CarelessResource.cs" /> | ||
<Compile Include="Resources\FibonacciResource.cs" /> | ||
<Compile Include="Resources\HelloWorldResource.cs" /> | ||
<Compile Include="Resources\ImageResource.cs" /> | ||
<Compile Include="Resources\LargeResource.cs" /> | ||
<Compile Include="Resources\MirrorResource.cs" /> | ||
<Compile Include="Resources\SeparateResource.cs" /> | ||
<Compile Include="Resources\StorageResource.cs" /> | ||
<Compile Include="Resources\TimeResource.cs" /> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<ProjectReference Include="..\..\CoAP.NET\CoAP.Std10.csproj"> | ||
<Project>{45DB1E45-4831-4E4A-BB1E-AE92EEA182E3}</Project> | ||
<Name>CoAP.Std10</Name> | ||
</ProjectReference> | ||
<Compile Remove="Properties\AssemblyInfo.cs" /> | ||
</ItemGroup> | ||
|
||
|
||
<ItemGroup> | ||
<None Include="app.config" /> | ||
<Folder Include="Properties\" /> | ||
</ItemGroup> | ||
|
||
|
||
<ItemGroup> | ||
<Reference Include="System" /> | ||
<ProjectReference Include="..\..\CoAP.NET\CoAP.Std10.csproj" /> | ||
</ItemGroup> | ||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> | ||
<!-- To modify your build process, add your task inside one of the targets below and uncomment it. | ||
Other similar extension points exist, see Microsoft.Common.targets. | ||
<Target Name="BeforeBuild"> | ||
</Target> | ||
<Target Name="AfterBuild"> | ||
</Target> | ||
--> | ||
</Project> | ||
|
||
</Project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.