Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
app-notes:dashboard [2025/07/25 06:28] – [Switch to another wanlink] klueppelapp-notes:dashboard [2025/08/21 10:43] (current) – [Adding the SDK script] klueppel
Line 69: Line 69:
         case "down":       return '<font color="red">down</font>';         case "down":       return '<font color="red">down</font>';
     }     }
- 
     return value;     return value;
 } }
Line 163: Line 162:
                                     );                                     );
  
 +                wlan_array = mkarray(sprintf("%s_STATE", wan_idx), 
 +                                    sprintf("%s_TYPE", wan_idx), 
 +                                    sprintf("%s_NETWORK", wan_idx),
 +                                    sprintf("%s_SIGNAL_LEVEL", wan_idx), 
 +                                    sprintf("%s_SIGNAL_QUALITY", wan_idx) 
 +                                    );
  
                 type = struct_get(wan, sprintf("WANLINK%d_TYPE", i));                 type = struct_get(wan, sprintf("WANLINK%d_TYPE", i));
Line 169: Line 174:
                             break;                             break;
                     case "wwan": tmp_array = wan_array;                     case "wwan": tmp_array = wan_array;
 +                            break;
 +                    case "wlan": tmp_array = wlan_array;
                             break;                             break;
                 }                 }
Line 205: Line 212:
 nb_page_unregister(page); nb_page_unregister(page);
 exit(0); exit(0);
- 
  
 </code> </code>