MENU
    SDK Test
    • 28 Mar 2025
    • 1 Минута для чтения
    • Авторы

    SDK Test


    The content is currently unavailable in Русский. You are viewing the default English version.
    Вводный текст

    Learn how to test your newly built Edge Driver

    Introduction

    1. What you will learn
      1. How to test an edge driver project
    2. What you will need (pre-requisites)
      1. A ready-to-run Edge Driver - check out SDK Develop and SDK Create first if you haven't already.

    Testing your Driver in Tulip Player

    By default, Tulip Player runs with built-in drivers that work out of the box. However, you can also run your custom driver locally in Tulip Player, even without a Tulip instance. To do this, you can launch Player from the command line with the path to your driver's dist directory. Download and install Tulip Player from here.

    On Windows, this is done by using the set command in the terminal to set the TULIP_PLAYER_CUSTOM_DRIVERS_PATH environment variable, then running the "Tulip Player.exe" from the same terminal:

    C:\Users\Bob> set "TULIP_PLAYER_CUSTOM_DRIVERS_PATH=C:\Users\Bob\Documents\esp32-diy-sensor\dist"
    C:\Users\Bob> "C:\Users\Bob\AppData\Local\tulip-player-desktop\Tulip Player.exe"
    Bat

    Once player starts, open Browser Developer Tools in the Player app and go to the Console tab.
    SDK

    Filter messages with "[CED]" to see your driver logs.

    SDK

    If successful, you should see "data" events logging temperature and humidity values in real time.


    Была ли эта статья полезной?