RFID Software: Receiving event notifications. Tutorial.
Receiving event notifications
The LLRP Reader Protocol module can generate two types of internal events (Figure 17) in the following cases:
When tag disappears from FOV (LLRP_RFID_OUT).
When a predefined situation is detected, an internal event with the respective identifier will be generated. You can process the internal event using the modules on the "Event processing" tab. Below you can see an example of configuring the "Events notification" module to send an email message upon processing the LLRP_RFID_2 internal event.
1. Select an event handling module (Figure 18).
2. Add an event handler (Figure 19).
3. Select the newly added handler in the left-side tree (Figure 20) and configure the notification parameters. In this case, it is sending of an email message.
4. Configure the SMTP server parameters, which will be used by the application to send email messages (Figure 21). On the figure below you can see an example for Gmail.
If needed, create a message template for the handler (Figure 22). You can use special tags (Table 3) in the template body. When sending a message, the tags will be replaced with the corresponding values.
Note: For the LLRP_RFID_IN and LLRP_RFID_OUT events, you can also use the variables from Table 1. Enclose each variable in the % signs (for example, %TAGREPORTDATA_EPCDATA%).