Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
34 commits
Select commit Hold shift + click to select a range
64bbef4
Added Client and Server example
Zeruxky Oct 16, 2020
3d4df06
Enabled logging through NLog
Oct 22, 2020
e2b6b63
Add POST method to ImageResource
Oct 27, 2020
c95205e
Add file upload example and observe example
Oct 29, 2020
eea0817
Enhanced ImageResource
Nov 5, 2020
ef817e9
Attempt to renew CoapClient similar to HttpClient
Nov 13, 2020
4b14abe
Partial rework of CoapClient
Nov 20, 2020
3da6f3a
Add BaseAddress and Port to CoapClient
Nov 20, 2020
a7e1b86
Merge pull request #3 from world-direct/develop
Nov 26, 2020
289ec9d
Attempt to implement Memory and Span
Nov 26, 2020
0e6df70
Removed old implementation
Dec 3, 2020
d18c920
Try to implement CoAP header
Dec 3, 2020
578fba0
Improve specs
Zeruxky Dec 4, 2020
d4b4fdc
Add MessageId
Dec 5, 2020
9a17fc5
Add Option, OptionDelta, OptionLength and Token
Dec 10, 2020
c0202be
Implement OptionSerializer
Dec 18, 2020
59c4c4e
Implement parsing of Options
Dec 30, 2020
c8b38d3
Add missing changes
Dec 30, 2020
fb5b040
Add specs for deserializing and serializing options
Dec 31, 2020
1cb4497
Fix failed specs
Dec 31, 2020
ee0de07
Add spec for OptionV1Serializer
Jan 1, 2021
1063efe
First attempt to implement other parsing method
Jan 14, 2021
b4787bf
Improve deserialization of messages
Jan 28, 2021
75f4a41
Improve MessageDeserializer
Zeruxky Jan 29, 2021
cc112d4
Refactore code
Feb 11, 2021
8bc05a2
Implement first attempt for client and server
Zeruxky Feb 13, 2021
7e7a659
Add service for server and dependency injection
Feb 18, 2021
afa0dce
Restructure code basis
Feb 25, 2021
7393c6c
Restructure code basis
Feb 25, 2021
f87d467
Fix some bugs
Zeruxky Feb 27, 2021
491bc26
Add some log messages
Mar 4, 2021
560b80b
Refactore code
Mar 8, 2021
628608a
Finish migration to .NET Standard 2.0 and added simple CoAP server
Mar 8, 2021
6dc5fca
Refactore code
Mar 9, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
12 changes: 12 additions & 0 deletions Client/Client.csproj
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>netcoreapp3.1</TargetFramework>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="CoAP" Version="1.1.0" />
</ItemGroup>

</Project>
20 changes: 20 additions & 0 deletions Client/Program.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
using System;

namespace Client
{
using System.Threading.Tasks;
using CoAP;

class Program
{
static async Task Main(string[] args)
{
var client = new CoapClient(new Uri("coap://127.0.0.1:5683/abc/def/ghi"));
while (true)
{
client.Get();
await Task.Delay(TimeSpan.FromSeconds(5)).ConfigureAwait(false);
}
}
}
}
21 changes: 0 additions & 21 deletions CoAP.Example/CoAP.Client/CoAP.Client.DNX.xproj

This file was deleted.

55 changes: 0 additions & 55 deletions CoAP.Example/CoAP.Client/CoAP.Client.NET40.csproj

This file was deleted.

54 changes: 0 additions & 54 deletions CoAP.Example/CoAP.Client/CoAP.Client.csproj

This file was deleted.

229 changes: 0 additions & 229 deletions CoAP.Example/CoAP.Client/ExampleClient.cs

This file was deleted.

Loading