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

Trying to run light lightness application

hi,

I have developed light lightness model with the help of generic on/off and generic level model from the mesh SDK. And I have used these models by making changes in the light switch example, and used my light lightness in place of generic on/off.

Two things to note are, as i want to do initial testing, i have only implemented lightness actual related code, and i am not using generic on/off in my temporary test application because at this point I am not tessting any bindings,

Can a mesh developer please tell me any pointers or things that might get missed while developing the lightness model, app layers (for the above mentioned basic testing purposes).

All I'm trying see if the messages sent by my client are being received by the server with just logs (for now) on the server side, i am trying to send lightness_actual_set() and lightness_actual_set_unack() - with both these the client prints TRANSFER TIMEOUT, can anyone please shed some light on this.

I am using v310 of mesh sdk

Thanks!

Parents Reply Children
  • light_lightness_actual_set() gave a timeout error true, but set_unack() message also didn't the server.

    how can we debug server not receiving any client commands? i don't get any RX either on the server side, are the packets being dropped? is the server not recieving them at all?

  • Which destination address you used to send the data to ? Have you made sure the server subscribed to the address you sending to (unless you are sending to the unicast address). They should be provisioned in to the same network. 

    I would suggest to use the access layer directly to send test message. This mean you ignore the model layer. You can enable logging inside the access layer to see if the packet arrive at the destination. 

    I assume you have tested the generic onoff example ? You can do your test (sending packets on access layer) on the generic on off example first before continue. 

Related