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

lc client

Lc client for nrf52840 dongle  is available in which sdk

Parents
  • Hi,

    Are you talking about Bluetooth Mesh? If so, there is no LC client example in our Mesh SDK. There are a LC client model in our SDK that you can implement into your project yourself. You can find the model under models\model_spec\light_lc\ in the SDK.

  • Hi,

    The light_lc_client_property_set() function sends a Property Set message to the server. The server will send back the status as a response, if the message is sent as acknowledged message.  

    thukeri said:

     using this command to set the property but not getting the response from the server 

     Are you using the LC server example from our SDK as the server? Which SDK are you using?

    Can you upload the logs?

  • yes using nrf server nRF5_SDK_17.0.2_d674dde

    nRF5_SDK_17.0.2_d674dde

    after sending the command  getting the acknowledge transfer timeout msg and making all the leds on..

    but the command status is getting success tried with below one also

    (void)access_model_reliable_cancel(m_clients[0].model_handle);
    status = light_lc_client_property_set(&m_clients[0],&pro_set_params);
    light_lc_client_property_set_unack(&m_clients[0],&pro_set_params,0);
    break;

    case ACCESS_RELIABLE_TRANSFER_TIMEOUT:
    hal_led_blink_ms(HAL_LED_MASK, LED_BLINK_SHORT_INTERVAL_MS, LED_BLINK_CNT_NO_REPLY);
    __LOG(LOG_SRC_APP, LOG_LEVEL_INFO, "Acknowledged transfer timeout.\n");
    break;

  • static light_lc_property_set_params_t pro_set_params=
    {
    .property_id = LIGHT_LC_SERVER_MOTION_SENSED_PID,
    .property_buffer[0]={100}
    };

    taking params like this

Reply Children
No Data
Related