Skip to main content
. 2022 Jan 7;22(2):431. doi: 10.3390/s22020431
Listing 3. Pseudo-code of the controller.
while (True):
 <query the OneM2M for the status of ROADM devices>
for every device:
  if malfunctioning is detected:
   <see connections of device>
   for every broken connection:
    <prepare message for the OneM2M>
    <send message>