Connectivity

 View Only
  • 1.  Dashboard Wake On Lan

    Posted 11-27-2023 11:24

    Hi,

    I would like to do a WOL.

    Here, function that i use in javascript... Is somebody can help me to translate it inside dashboard? Thx a lot,

     
    function wakeOnLAN(macAddress, ipAddress, port) {
        
        const macBytes = macAddress.split(':').map(hex => parseInt(hex, 16));
        const magicPacket = new Uint8Array(6 + 16 * macBytes.length);
     
        
        magicPacket.fill(0xFF, 0, 6);
     
        
       /for (let i = 6; i < magicPacket.length; i += macBytes.length) {
            magicPacket.set(macBytes, i);
        }
        rosstalk.sendMessageWithResponse(ipAddress, port, magicPacket+'\n', '\n', callback);
    }
    Best regards,


    ------------------------------
    Sylvain Menet
    Technical Manager
    Dreamwall
    ------------------------------


  • 2.  RE: Dashboard Wake On Lan

    Posted 11-30-2023 11:49

    Hi Sylvain,

    I'd suggest posting this question in the dashboard community, they should be able to point you in the right direction. 

    https://rossvideo.community/communities/community-home?CommunityKey=94781415-eb0f-4f9a-b891-c44d41d870c8



    ------------------------------
    Mike Pomerleau
    Ross Video
    ------------------------------