This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Mesh Publishing problem

Hi, i am trying to add additional data to the Mesh Light Switch server example. I modify generic_onoff_common.h and generic_onoff_messages.h as follow.

typedef struct
{
    bool on_off;                                            /**< State to set */
    uint8_t tid;                                            /**< Transaction ID */
    uint8_t x;
    uint8_t y;
    uint8_t w;
    uint8_t h;
    bool c;
    uint16_t n;
    uint8_t array[24];

} generic_onoff_set_params_t;
typedef struct __attribute((packed))
{
    uint8_t on_off;                                         /**< State to set */
    uint8_t tid;                                            /**< Transaction number for application */
    //uint8_t transition_time;                                /**< Encoded transition time value */
    //uint8_t delay;                                          /**< Encoded message execution delay in 5 millisecond steps */
    uint8_t x;
    uint8_t y;
    uint8_t w;
    uint8_t h;
    bool c;
    uint16_t n;
    uint8_t array[24];
} generic_onoff_set_msg_pkt_t;
If the App connects to node A and sending data to node A, I can receive all the data from nRF Mesh APP. However, if the App connects to node A and sending data to node B, I cannot receive any data from nRF Mesh APP. I guess something is wrong with the publishing code. Please help me!

Thanks in advance.

Parents Reply Children
No Data
Related