RFID Reader Interface User's Guide
2.3 Extending the Reach
Mobile Readers
Function Manual, 12/2010, J31069-D0198-U001-A2-7618
25
2.3.3
Wake me up before you go…
So far, so good – we will wait until the configuration has been finished. But how do we know
it has finished?
Luckily the RFID reader interface provides a notification mechanism which enables us as a
client of the API to know what is going on. Let’s have a closer look at what happens when a
new configuration from RF-MANAGER arrives:
ಭ5HFRQILJXUDWLRQಫ
ಭ6WDUWHGಫHYHQW
ಭ5HFRQILJXUDWLRQಫ
ಭ6WDUWHGಫHYHQW
&KDQJHGFRQILJ
HOHPHQWVHYHQW
&KDQJHGFRQILJ
HOHPHQWVHYHQW
WLPHW
W
W
W
W
W
5),'UHDGHU$3,
YDOLG
LQYDOLG
5)0$1$*(5
FRQILJXUDWLRQ
QHZ
DEVHQW
NQRZQ
5HDGHU6HUYLFH
UXQQLQJ
LQDFWLYH
Figure 2-8
RFID Reader Interface
Whenever the reader service receives configuration data from a connected RF-MANAGER
runtime it sends a "Reconfiguration:Started" notification telling you that it will now start
reconfiguration (t1 , t3). At this point in time the interfaces changes to the invalid state and
disables access. For you as a client this means, you should disable functions that use the
interface until reconfiguration has finished.
After the reconfiguration of the system has finished, the RFID reader interface changes its
state to valid and a second notification – containing either the changed configuration items
as parameters or just "Reconfiguraiton: Nochange" – is sent (t2 , t4). Now, that is the trigger
for an API client to start working with the RFID reader interface.
You can easily follow those conclusions, can’t you? But what happens if no new
configuration arrives because either a configuration is already available on the device or
there has not been a connection to an RF-MANAGER runtime yet? Do we have to wait
forever to detect these cases?
No, you don’t. The reader service and as a consequence the RFID reader interface will
always send a notification on startup as well. If there is
no configuration available on the
device the "Reconfiguration: Initial" event is sent. If a configuration is available you will either
get the changed items or the "Reconfiguration: Nochange" event.
Bear in mind, however, that in those cases no "Reconfiguration:Start" event will be issued
contrary to the arrival of new configuration data.
Содержание SIMATIC RF610M
Страница 2: ......
Страница 8: ...Introduction Mobile Readers 8 Function Manual 12 2010 J31069 D0198 U001 A2 7618 ...
Страница 79: ......