
Security News
Open Source Maintainers Feeling the Weight of the EU’s Cyber Resilience Act
The EU Cyber Resilience Act is prompting compliance requests that open source maintainers may not be obligated or equipped to handle.
zebra-rfid-library
Advanced tools
Warning: requires script injection from eb to be enabled
It is advised to setup enterprise browser's script tag injection to inject required libraries (eb-module.js & elements.js) into the page.
useEffect(() => {
rfidlib.attach();
return rfidlib.detach;
}, []);
this is to prevent memory leaks and conflicts between different components which use the library
boolean
attaches the library to the current component call detach when unmounting/onDestroy NOTE: params are to be passed as an object
detaches library from component resetting callbacks & properties
number
Calls "onEnumerate" callback function and returns the number of rfid scanners
locates a tag with the given rfid
performs inventory and triggers tagEvent
Scans a single rfid tag
function
function
function
function
Object
boolean
Kind: global function
Returns: boolean
- operation success/failure
Link: for the list of parameters see official zebra documentation: https://techdocs.zebra.com/enterprise-browser/3-3/api/re2x/rfid/
Param | Type | Description |
---|---|---|
props | object | rfid object properties |
NOTE: params are to be passed as an objectent
Kind: global function
Param | Type | Description |
---|---|---|
success | function | gets called on connection event |
failure | function | gets called on connection event |
detaches library from component resetting callbacks & properties
Kind: global function
Param | Type | Description |
---|---|---|
onDisconnection | function | called on disconnection event |
number
Calls "onEnumerate" callback function and returns the number of rfid scanners
Kind: global function
Returns: number
- number of rfid scanners found
may crash when starting an rfid operation">rogram
may crash when starting an rfid operation()he program Kind: global function
Kind: global function
Param | Type | Description |
---|---|---|
callback | onEnumerateEvent | function that gets called during "enumerate()" execution |
Kind: global function
Param | Type | Description |
---|---|---|
callback | onTagLocateEvent | function called when locating a tag |
locates a tag with the given rfid
performs inventory and triggers tagEvent
Kind: global function
Param | Type | Description |
---|---|---|
callback | onInventoryEvent | function that gets called during "startInventory()" execution |
Scans a single rfid tag
Object
Kind: global typedef
Param | Type | Description |
---|---|---|
name | string | name of the status to be associated with statusManager |
errorCode | string | |
method | string | |
internalCode | string | unique assigned code with which to identify associated callbacks |
FAQs
Warning: requires script injection from eb to be enabled
The npm package zebra-rfid-library receives a total of 4 weekly downloads. As such, zebra-rfid-library popularity was classified as not popular.
We found that zebra-rfid-library demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
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.
Security News
The EU Cyber Resilience Act is prompting compliance requests that open source maintainers may not be obligated or equipped to handle.
Security News
Crates.io adds Trusted Publishing support, enabling secure GitHub Actions-based crate releases without long-lived API tokens.
Research
/Security News
Undocumented protestware found in 28 npm packages disrupts UI for Russian-language users visiting Russian and Belarusian domains.