This article describes all available Controls in Sense&Control with their short code identifiers and descriptions. The reader of this article should have basic understanding of the Sense&Control concept. If not, please visit the Sense&Control Introduction article first.
What is a Control?
The Control component can be seen as an output or endpoint in Sense&Control. Usually it changes hard- or software behavior of the Smartspot device. Depending on the type of Control, as soon as its input changes, a GPIO hardware output, LED or some other hard- or software component may be set, changed or reset. For more information about Controls and how to use them see Sense&Control Introduction.
Quick Reference List
Short Code ID | Name |
out1 | GPIO Hardware Output 1 |
out2 | GPIO Hardware Output 2 |
led{id} | Internal LEDs (not externally accessible!) |
ledg | LED Green |
ledr | LED Red |
ledfg | LED Front Green |
ledfr | LED Front Red |
snd{id} | Sounds |
pc | Clear All Presences |
rd | RFID Reader Disable |
rc | Set Max Number of RFID Reader Inventories |
rmm | RFID Antenna Disable Mask |
rma | RFID Antenna Force Select |
set{setid}{control} | Item Set Controls |
Detailed Reference List
out1
out2
GPIO Hardware Output 1 and 2
These GPIO Hardware outputs make it possible to connect external wiring to the Smartspot and control something from a Sense&Control flow. The two outputs are available via the green connector located near the Ethernet connector.
Input
0: reset (output switch is open)
>=1: set (output switch is closed)
led{id}
Internal LEDs
These internal LEDs aren't accessible from outside and therefore not meant to be used by the user. There are four internal LEDs available.
Arguments
id: Integer number in range of 1 and 4. Examples are: led1, led4.
Input
0: off
>=1: on
ledg
LED Green
This Control is a multicolored LED and is located near the Ethernet connector of the Smartspot device. This Control allows you to enable the color green. By default this Control is linked with the tick
Sense to indicate device's heartbeat.
Input
0: off
>=1: on
ledr
LED Red
This Control is a multicolored LED and is located near the Ethernet connector of the Smartspot device. This Control allows you to enable the color red. By default this Control is linked with the hit
Sense to indicate that RFID tags are being detected.
Input
0: off
>=1: on
ledfg
LED Front Green
This Control is a multicolored LED and is located at the cover near the Intellifi logo of the Smartspot device. This Control allows you to enable the color green. By default this Control is linked with the s
Sense to indicate that the Smartspot has a connection with the Brain server.
Input
0: off
>=1: on
ledfr
LED Front Red
This Control is a multicolored LED and is located at the cover near the Intellifi logo of the Smartspot device. This Control allows you to enable the color red. By default this Control is linked with a NOT Function Block and s
Sense to indicate that the Smartspot lost a connection with the Brain server.
Input
0: off
>=1: on
snd{id}
Sounds
These Controls enable you to trigger a sound. The Smartspot has five build in sounds that can be triggered with these Controls.
Arguments
id: Integer number in range of 0 and 5. Examples are: snd1, snd5.
Input
0: no sound
1: bleep low (high, med)
2: bleep high (med, high)
3: bleep error (med, med, med)
4: bleep down (high, med, low)
5: bleep up (low, med, high)
pc
Clear Presences
Clear all Item Presences and restart the inventory process.
Input
0: does nothing
>=1: clear
rd
RFID Reader Disable
Control the Smartspot RFID Reader while operating. This Control allows you to control RFID Readers via a Hardware Input (e.g. a proximity sensor), remotely to orchestrate multiple RFID Readers with each other or sync/start/stop the Inventory depending on your application state.
Input
0: enabled
>=1: disabled
rc
Set Max Number of RFID Reader Inventories
This Control allows you to select the number of RFID inventory rounds. If zero, the RFID Reader performs an infinite number of rounds.
Input
0: infinite number of inventories (default)
>=1: number of rounds before RFID reader switches to idle.
rmm
RFID Antenna Disable Mask
Disable RFID Antenna by updating the Antenna Disable mask using this Control. This makes it possible to skip certain antennas or select one or multiple antennas for the next inventory round.
Input Examples
0: b00000000: all antennas are enabled
1: b00000001: first antenna are disabled, rest enabled
15: b00001111: first four antennas are disabled, rest enabled
128: b10000000: eighth antenna is disabled, rest enabled
rma
RFID Antenna Force Select
Force a specific RFID Antenna to be selected while this setting is not zero. Note: This antenna needs to be connected and not disabled (Disabled Mask), otherwise the RFID Reader enters idle state.
Input Example
0: force select off
1: antenna 1 is scanned continuously
5: antenna 5 is scanned continuously
set{setid}{control}
Item Set Controls
These Controls allow you to perform actions on Smartspot Item Sets. For example add or remove an Item to one of the default Item List Sets (1,2) in cases that you're using the Smartspot in a stand alone application. This control operates on the closest item, that is the item with the highest RSSI (signal strength).
Note: It's not possible to change or modify Sets added through Brain as they currently don't allow local changes to be made.
Arguments
- setid: Integer number. Examples are: set1, set2.
- control:
- an: Add closest Item to List Set
- anu: Add closest Item, and not part of the List to List Set.
- rn: Remove closest Item from Item List Set
- rnk: Remove closest and listed Item from List Set
- ra: Removes all items from Item List Set.
Default Sets
The table below lists all the sets that are by default available in the Smartspot. Other (customized) sets may be added through Brain.
Setid | Set Type | Requirement |
0 | any | wildcard, all items match this set. |
1 | list | none, default empty list. |
2 | list | none, default empty list. |
101 | technology | rfid, All RFID items match this set. |
102 | technology | bluetooth, All Bluetooth items match this set. |
Input
0: no action
>=1: perform action
Comments
0 comments
Please sign in to leave a comment.