MESH message transmission

Hello, I have defined the vendor_model and the corresponding opcode on the mesh, but the client and server cannot correctly transmit the information, so I can input the corresponding opcode on the model of the server with a mobile phone to transmit the information to the server. However, access_model_publish cannot publish the information to the client. I want to transfer the information from the client to the server through the vendormodel.

Parents
  • Hello, Elfving,

    I have created the corresponding opcode,like this:

    const access_opcode_handler_t m_server_opcode_handlers[] =
    {
    {ACCESS_OPCODE_VENDOR HX_MODEL_CLIENT_OPCODE_TX, SERVER_COMPANY_IDENTIFIER),hx_model_client_opcode_tx},
    };

    And I can control the corresponding server through the vendor model of the mobile phone

    But instead of using the phone, I want to use the client side to transmit OPCDE to transmit the message, but I enter the corresponding opcode on the client side and then send the corresponding message to the server with Access_model_publish(), no error, the message appears to have been sent, but the server does not process the message.

    Am I doing this the wrong way? Or do you know the function through which mesh network nodes transmit messages?

  • Hello,

    Are you sure you've configured the two correctly, eg. set the correct AppKeys and addresses? 

    And are the server and client on different nodes btw? 

    Regards,

    Elfving

Reply Children
No Data
Related