Socket
Socket
Sign inDemoInstall

@helium/proto

Package Overview
Dependencies
Maintainers
6
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@helium/proto

Helium protobuf definitions compiled to JS with TypeScript types


Version published
Weekly downloads
881
increased by16.69%
Maintainers
6
Weekly downloads
 
Created
Source

lint workflow rust workflow node.js workflow erlang workflow cpp workflow

Using this repository requires protobuf's protoc to be installed. The package to be installed differs per host platform.

Contributing

  • Protobuf message definitions live in either:
    • src/service/*.proto if only used in gRPC service definitions, or
    • src/*.proto if used by service-free code or shared across gRPC services
  • Avoid float in Protobufs because representations differ across hardware architectures
    • There are many floating point representations from IEEE, plus others
    • i.e., some range of interior digits are random per float spec
  • Frequency should use uint32 and should be in Hz
  • rssi or signal is always negative, thus use sint32 and is in deci-dbm (aka ddbm) which is dbm * 10
  • snr is signal-to-noise ratio and should be uint32
  • Fetch and share time in nanos, then truncate to appropriate granularity as needed
    • e.g., get from OS in nanos
  • Reject any PR unless units are documented inline within Protobuf definition
  • Document units of fields
  • When exceptions to the above occur, please explain why within comments

FAQs

Package last updated on 19 Jul 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc