Socket
Socket
Sign inDemoInstall

cmbf-device

Package Overview
Dependencies
7
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    cmbf-device

CMBF plugin used to communicate with a connected device. Reuse websocket channels and supports offline data caching


Version published
Weekly downloads
1
decreased by-50%
Maintainers
1
Install size
6.26 MB
Created
Weekly downloads
 

Readme

Source

Device Plugin

The device plugin provides a high-level interface to manage data storage on specific devices. Our goal is to propagate useful data on the device to avoid roundtrips and increase application performance. The propagation is controlled by each plugin, based on its needs. The device plugin will manage the connection with the device, through the websocket plugin.

Device Local Storage

Some plugins might want to store and sync data on all devices. This is achieved by sending subscriptions to the device for specific collection subset. When the device is connected, the plugin will make sure that the subscription is in sync and forward any incoming changes (like Meteor DDP).

createSubscription syncSubscription removeSubscription

The query is provided, with certain fields like deviceId, owner, userId being available to scope the collection.

The subscription can be applied to specific devices only by geolocation, by country, language, account level, etc.

FAQs

Last updated on 11 Mar 2016

Did you know?

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc