3 Replies Latest reply on Oct 27, 2019 7:35 PM by YoIs_1298666

    How to use ClientControlMesh for Windows10

    YoIs_1298666

      Hello,

       

      I would like to use the Client Control Mesh for Window10.

      My conditions are below.

         - ModusToolbox1.1+BTSDK1.4.

         - CYBT-213043-MESH evaluation boards

        - "ClientControlMesh.exe" from "<Install Folder>\ModusToolbox_1.1\libraries\bt_20819A1-1.0\components\BT-

            SDK\common\apps\snip\mesh\ClientControl\Release"

          - "Mesh Provision Client" for evaluation board from "\Code-Examples-BT-SDK-for-ModusToolbox-master\CYBT-213043

            -MESH\apps\snip\mesh\mesh_provision_client" downloaded GitHub.

         - "Dimmable Light" for evaluation boards from BLE_Mesh_Dimmer installing "BT_SDK-1.4.0.993.cysdk"

         - refering "AN227069 Getting Started with Bluetooth Mesh" and "MeshClient and ClientControlMesh App User Guide"

       

      But, both "Provision UUID" and "Name" won't be found.

      How can I found it?

      Best regards,

      Yocchi

        • 1. Re: How to use ClientControlMesh for Windows10
          DheerajP_41

          Hi Yoshiharu Ishii,

           

          If you correctly upgraded ModusToolbox with BTSDK1.4, then you will be able to get ClientControlMesh from the below path. (please follow ModusToolbox BT SDK 1.4  to get installation help)

          ClientControMesh Path: \ModusToolbox_1.1\libraries\bt_sdk-1.1\components\BT-SDK\common\apps\snip\mesh\ClientControl\Release.

           

          Importing thing is if you are using CYBT-213043-MESH board then you will have to use baud rate 115200. If it is CYW920819EVB-02 then use 3000000 as baud rate.

           

          Please follow "WICED-MeshClient-And-ClientControlMesh-User-Guide.pdf" from to get instruction to use MeshClient and ClientControlMesh.

          (Document is located in \ModusToolbox_1.1\libraries\bt_sdk-1.1\docs\BT-SDK\WICED-MeshClient-And-ClientControlMesh-User-Guide.pdf)

          Attaching the same here also.

           

          Thanks,

          -Dheeraj

          • 2. Re: How to use ClientControlMesh for Windows10
            DheerajP_41

            Hi.

             

            Please follow below steps to use clientcontrolmesh:

            1. Download mesh_provision_client  and mesh_onoff_server (you can use any other server app) into two devices.
            2. Open "ClientControl - Light Control" tab and open COM port of the mesh_provision_client device. And then, provision mesh_onoff_server device.
            3. Note down the address allocated to mesh_onoff_server device (Eg: 0002).
            4. Goto ClientControl directory (.\components\BT-SDK\common\apps\snip\mesh\ClientControl\Release) and open Network.JSON. And note down the appKeys generated.
            5. Select model tab on MeshClientControl and use appropriate destination address and app_key_index. (For GET messages you have to use Generic appKey index and for SET messages you have to use Setup appKey index.)
            6. Select OnOff from the drop down menu and then use OnOff commands (On, Off...) to do operations.

             

            Use whichever app you want instead of Onoff_server app and select the appropriate commands from the clientcontrolmesh.

            if you are using CYBT-213043-MESH board then you will have to use baud rate 115200. If it is CYW920819EVB-02 then use 3000000 as baud rate.

             

            Thanks,

            -Dheeraj

            1 of 1 people found this helpful
            • 3. Re: How to use ClientControlMesh for Windows10
              YoIs_1298666

              Hello Dheeraj-san,

               

              Thank you very much for your support.

               

              I could find the baud rate as 115200bps in 90 line of mesh_app_hci.c.

              It can run well now.

               

              Best regards,

              Yocchi