![background image](http://html1.mh-extra.com/html/qeedji/slate-series/slate-series_user-manual_3136891036.webp)
General diagram
graph TB
%% Nodes
S0((Boot))
S1[Initializations]
S2[Update display]
S3[Start<br/>MassStorage]
S4(("Sleep"))
S5[USB MassStorage]
S6[Check rpk<br/>Process config<br/>Update display]
S7[Check rpk<br/>Process config<br/>Update display]
S8(After<br/>USB MS<br/>actions)
S9(After<br/>testcard<br/>actions)
S10(After<br/>heartbeat<br/>actions)
S11(After<br/>NFC writer<br/>actions)
S12(After<br/>NFC tag<br/>actions)
S13("After<br/>key<br/>actions (8)")
S14(After<br/>vibration<br/>actions)
S15["Check rpk<br/>Process config<br/>Update display<br/>(11)"]
S16(("Sleep (7)"))
S17("After<br/>USB Power<br/>actions")
S20(NFC and/or key enabled ?)
S21["Launch NFC (4)<br/>Launch key (5)"]
%%Links
S0 --> S1
S1 --> S2
S2 -- "USB cable<br/>is connected" --> S3
S2 -- "USB cable<br/>is not connected" --> S4
S3 -- "ok" --> S5
S3 -. "USB cable unplugged" .-> S17
S3 -- "timeout (9)" --> S4
S4 -. "USB cable plugged" .-> S3
S5 -. "USB cable unplugged" .-> S6
S7 --> S5
S5 -. "Eject<br/>(10)" .-> S7
S6 --> S8
S4 -. "USB cable unplugged" .-> S17
S4 -. "Heartbeat (1)" .-> S10
S4 -. "Vibration <br/>sensor <br/>detection (2)" .-> S20
S20 -- "yes (3)" --> S21
S20 -- "no" --> S14
S21 -. "NFC writer found" .-> S11
S21 -. "NFC tag found" .-> S12
S21 -. "Key detected" .-> S13
S21 -. "Timeout" .-> S14
S4 -- "(6)" --> S9
S8 --> S15
S9 --> S15
S10 --> S15
S11 --> S15
S12 --> S15
S13 --> S15
S14 --> S15
S17 --> S15
S15 --> S16
%% Style
classDef sleep fill:#f9f,stroke:#333,stroke-width:3px;
classDef startend fill:#,stroke:#333,stroke-width:4px;
classDef action fill:#f96,stroke:#333,stroke-width:3px;
class S4,S16 sleep
class S0 startend
class S8,S9,S10,S11,S12,S13,S14,S17 action
(1) : Only if done inside the active interval and when
pictureframe.wakeup.heartbeat.mode
is not
none
. Note: if the RTC has never been updated, the active interval is 7/7
days 24/24 hours. If the action
Folder synchronization with WPAN1 (image, config, firmware)
is programmed
After heartbeat
wake-up source, and
WPAN1
communication has an error, 2 others automatic retries are done.
(2) : Only if done inside the active interval and
pictureframe.vibration_sensor.enabled
is
true
. Note: if the RTC has never been updated, the active interval is 7/7 days
24/24 hours.
(3) :
Yes
means
pictureframe.key.enabled
=
true
or
pictureframe.nfc.enabled
=
true
.
(4) : Launch NFC detection for NFC writer and NFC tag for a fixed duration.
(5) : If
Unlock/lock keys
action is programmed for
After NFC tag
or
After NFC Writer
wake-up reason,the NFC detection is done first. Once the NFC is detected, the
key detection is done just after, if the key is unlocked. If a key is detected, the
After key
actions are done. Then the actions
Send HID tag over WPAN1
or
NFC Writer NDEF
actions become possible during
After key
actions. If no key is detected, the actions
After NFC writer
or
After NFC Tag
can be done.
(6) : If
pictureframe.testcard.enabled
is
true
and if an USB power bank is connected, the SLATE106 is exiting sleep mode automatically until the powerbank is unplugged.
36