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
  • I would suggest you to get familiar with the generic on/off model first. 

    You can find out if a packet is sent by enabling log level to DBG1: LOG_LEVEL_DBG1 and allow logging from  ACCESS library: LOG_SRC_ACCESS. You should be able to see if the packet is sent (look for "TX:" ) and when a packet is recevied ("RX") 

    An unack message shouldn't cause a transfer timeout, I'm not sure why that happens, could be related to how you implement your model. What exact function throws that error ? 

Reply
  • I would suggest you to get familiar with the generic on/off model first. 

    You can find out if a packet is sent by enabling log level to DBG1: LOG_LEVEL_DBG1 and allow logging from  ACCESS library: LOG_SRC_ACCESS. You should be able to see if the packet is sent (look for "TX:" ) and when a packet is recevied ("RX") 

    An unack message shouldn't cause a transfer timeout, I'm not sure why that happens, could be related to how you implement your model. What exact function throws that error ? 

Children
Related