rfid read-write
npm install capacitor-rfid-plugin-ox
npx cap sync
isConnected()
startScan()
stopScan()
clearData()
getScanData()
getOutputPower()
setOutputPower(...)
getRange()
setRange(...)
getQueryMode()
setQueryMode(...)
getReaderType()
getFirmwareVersion()
writeEpc(...)
writeEpcString(...)
startSearch(...)
stopSearch()
isConnected() => Promise<{ connected: boolean; }>
Returns: Promise<{ connected: boolean; }>
startScan() => Promise<void>
stopScan() => Promise<void>
clearData() => Promise<void>
getScanData() => Promise<any>
Returns: Promise<any>
getOutputPower() => Promise<{ value: number; }>
Returns: Promise<{ value: number; }>
setOutputPower(options: { power: number; }) => Promise<{ value: number; }>
Param | Type |
---|---|
options |
{ power: number; } |
Returns: Promise<{ value: number; }>
getRange() => Promise<{ value: number; }>
Returns: Promise<{ value: number; }>
setRange(options: { range: number; }) => Promise<{ value: number; }>
Param | Type |
---|---|
options |
{ range: number; } |
Returns: Promise<{ value: number; }>
getQueryMode() => Promise<{ value: 0 | 1 | 2 | 3; }>
Returns: Promise<{ value: 0 | 1 | 2 | 3; }>
setQueryMode(options: { queryMode: 0 | 1 | 2 | 3; }) => Promise<{ value: number; }>
Param | Type |
---|---|
options |
{ queryMode: 0 | 1 | 2 | 3; } |
Returns: Promise<{ value: number; }>
getReaderType() => Promise<{ value: number; }>
Returns: Promise<{ value: number; }>
getFirmwareVersion() => Promise<{ value: string; }>
Returns: Promise<{ value: string; }>
writeEpc(options: { epc: string; password?: string; }) => Promise<{ value: number; }>
Param | Type |
---|---|
options |
{ epc: string; password?: string; } |
Returns: Promise<{ value: number; }>
writeEpcString(options: { epc: string; password?: string; }) => Promise<{ value: number; }>
Param | Type |
---|---|
options |
{ epc: string; password?: string; } |
Returns: Promise<{ value: number; }>
startSearch(options: { searchableTags: string[]; playSound: boolean; }) => Promise<void>
Param | Type |
---|---|
options |
{ searchableTags: string[]; playSound: boolean; } |
stopSearch() => Promise<void>