VOOZH about

URL: https://www.nuget.org/packages/Jacdac.NET.Transports.WebSockets/

⇱ NuGet Gallery | Jacdac.NET.Transports.WebSockets 1.3.10




👁 Image
Jacdac.NET.Transports.WebSockets 1.3.10

Prefix Reserved
dotnet add package Jacdac.NET.Transports.WebSockets --version 1.3.10
 
 
NuGet\Install-Package Jacdac.NET.Transports.WebSockets -Version 1.3.10
 
 
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Jacdac.NET.Transports.WebSockets" Version="1.3.10" />
 
 
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Jacdac.NET.Transports.WebSockets" Version="1.3.10" />
 
Directory.Packages.props
<PackageReference Include="Jacdac.NET.Transports.WebSockets" />
 
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Jacdac.NET.Transports.WebSockets --version 1.3.10
 
 
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Jacdac.NET.Transports.WebSockets, 1.3.10"
 
 
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Jacdac.NET.Transports.WebSockets@1.3.10
 
 
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Jacdac.NET.Transports.WebSockets&version=1.3.10
 
Install as a Cake Addin
#tool nuget:?package=Jacdac.NET.Transports.WebSockets&version=1.3.10
 
Install as a Cake Tool
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Jacdac for .NET

Jacdac is a plug-and-play hardware/software stack for microcontrollers and their peripherals (sensors/actuators), with applications to rapid prototyping, making, and physical computing.

This repository contains .NET Core (5+), .NET nanoframework and TinyCLR client libraries for the Jacdac protocol, as well as transports over USB, SPI, WebSockets.

Assemblies

The Jacdac project contains C# sources of the Jacdac protocol for various .NET runtime, including desktop or TinyClR. To avoid mscorlib issues, each platform recompiles these sources into its own assembly where C# files are simply shared as links. As a result, the C# used in the Jacdac project is .NET 5+/.NET nanoframework/TinyCLR compatible (and also inherits limitations thereof).

.NET Core and .NET IoT Core

  • Jacdac.NET, core runtime
  • Jacdac.NET.Clients, service clients
  • Jacdac.NET.Transports.Spi, SPI transport layer for SPI Jacdapter using .NET IoT
  • Jacdac.NET.Transports.WebSockets, WebSocket transport
  • Jacdac.NET.Transports.Hf2, HF2 protocol layer, .NET5
  • Jacdac.NET.Transports.Usb, Usb transport, .NET5 (not functional, experimental)

TinyCLR

  • Jacdac.TinyCLR, mirror of Jacdac library and UART transport
  • Jacdac.TinyCLR.Clients, service clients
  • Jacdac.TinyCLR.Storage, SD card storage support

.NET nanoframework

Under development: we need help to either write a native single wire serial transport... or build a SPI HAT for Feather S2.

  • Jacdac.Nano, mirror of Jacdac library and UART transport
  • Jacdac.Nano.Transports.Spi, SPI transport layer for SPI Jacdapter using .NET nanoframework
  • Jacdac.Nano.Clients, service clients

Sample sources

The samples are mostly foud in ./Jacdac/Samples and cross-compiled into these projects:

  • Jacdac.NET.Playground, change the command line argument to match the sample type name
  • Jacdac.TinyCLR.Playground, change the sample type name in Program.cs

Misc:

  • Jacdac.DevTools, a .NET Core web site/proxy to help with developing Jacdac applications
  • Jacdac.Tests, unit tests, .NET6
  • Jacdac, C# Jacdac sources. This package serves as a placeholder for C# files and and is not referenced anywhere. For development purposes only.

DevTools

Launch Jacdac.DevTools and use the WebSocket transport to connect your Jacdac bus to a local dashboard. This allows you to test your code against simulators and physical devices, and leverage the tooling available in the Jacdac network.

To installm,

dotnet tool install jacdac.devtools

To run,

jacdac.devtools

Add spi on Raspberry Pi to also connect to the JacHAT

Developer setup

The rest of this page is for developers of the jacdac-dotnet library. For user documentation, go to https://microsoft.github.io/jacdac-docs/clients/dotnet.

  • clone this repository and pull all submodules
git clone https://github.com/microsoft/jacdac-dotnet
git submodule update --init --recursive
git pull
  • Restore Nuget packages. (Either in your preferred IDE/Editor or using dotnet restore).
  • Execute the desired tool or build the core library using your IDE or dotnet build/dotnet run

Testing with .NET and Jacdac development server

  • install NodeJS 14+
  • install Jacdac cli
npm install -g jacdac-cli
  • launch Jacdac dev tools
jacdac devtools
  • start running or debugging Jacdac.NET.Playground. The webdashboard will serve as a connector to the hardware.

.NET IoT Raspberry Pi

  • Open bash
sh ./publish.sh
  • From a SSH session
cd dotnet
dotnet Jacdac.NET.Playground spi

Contributing

This project welcomes contributions and suggestions. Most contributions require you to agree to a Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us the rights to use your contribution. For details, visit https://cla.opensource.microsoft.com.

When you submit a pull request, a CLA bot will automatically determine whether you need to provide a CLA and decorate the PR appropriately (e.g., status check, comment). Simply follow the instructions provided by the bot. You will only need to do this once across all repos using our CLA.

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact with any additional questions or comments.

Trademarks

This project may contain trademarks or logos for projects, products, or services. Authorized use of Microsoft trademarks or logos is subject to and must follow Microsoft's Trademark & Brand Guidelines. Use of Microsoft trademarks or logos in modified versions of this project must not cause confusion or imply Microsoft sponsorship. Any use of third-party trademarks or logos are subject to those third-party's policies.

Product Versions Compatible and additional computed target framework versions.
.NET net5.0 net5.0 is compatible.  net5.0-windows net5.0-windows was computed.  net6.0 net6.0 was computed.  net6.0-android net6.0-android was computed.  net6.0-ios net6.0-ios was computed.  net6.0-maccatalyst net6.0-maccatalyst was computed.  net6.0-macos net6.0-macos was computed.  net6.0-tvos net6.0-tvos was computed.  net6.0-windows net6.0-windows was computed.  net7.0 net7.0 was computed.  net7.0-android net7.0-android was computed.  net7.0-ios net7.0-ios was computed.  net7.0-maccatalyst net7.0-maccatalyst was computed.  net7.0-macos net7.0-macos was computed.  net7.0-tvos net7.0-tvos was computed.  net7.0-windows net7.0-windows was computed.  net8.0 net8.0 was computed.  net8.0-android net8.0-android was computed.  net8.0-browser net8.0-browser was computed.  net8.0-ios net8.0-ios was computed.  net8.0-maccatalyst net8.0-maccatalyst was computed.  net8.0-macos net8.0-macos was computed.  net8.0-tvos net8.0-tvos was computed.  net8.0-windows net8.0-windows was computed.  net9.0 net9.0 was computed.  net9.0-android net9.0-android was computed.  net9.0-browser net9.0-browser was computed.  net9.0-ios net9.0-ios was computed.  net9.0-maccatalyst net9.0-maccatalyst was computed.  net9.0-macos net9.0-macos was computed.  net9.0-tvos net9.0-tvos was computed.  net9.0-windows net9.0-windows was computed.  net10.0 net10.0 was computed.  net10.0-android net10.0-android was computed.  net10.0-browser net10.0-browser was computed.  net10.0-ios net10.0-ios was computed.  net10.0-maccatalyst net10.0-maccatalyst was computed.  net10.0-macos net10.0-macos was computed.  net10.0-tvos net10.0-tvos was computed.  net10.0-windows net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on Jacdac.NET.Transports.WebSockets:

Package Downloads
Jacdac.NET.Playground

Package Description

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.3.10 867 1/14/2022
1.3.9 745 1/14/2022
1.3.8 647 1/14/2022
1.3.7 721 1/14/2022
1.3.6 738 1/14/2022
1.3.5 746 1/13/2022
1.3.4 573 1/13/2022
1.3.3 477 1/13/2022
1.3.2 703 1/13/2022
1.3.1 575 1/13/2022
1.3.0 592 1/12/2022
1.2.8 567 1/12/2022
1.2.7 725 1/12/2022
1.2.6 727 1/11/2022
1.2.5 567 1/11/2022
1.1.6 620 1/10/2022
1.1.5 437 1/9/2022
1.1.4 433 1/9/2022
1.1.3 438 1/8/2022
1.1.2 437 1/8/2022
Loading failed