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

  • Hi,

    ok so, i could not observe the fade on through this command even i set the tansition period to zero

    but in the example they gave

    Issuing the Occupancy On event or the Light On event triggers the following chain of events

    this case  why i am not getting fade on light instead of that i am getting immediate on and off

    2.To send the occupancy command from the lc client can you suggest what should use..

    I am using as below but the property command is not receiving by lc server and throwing the following exception can you please post or suggest if you have tried this and working for you

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

    case 4:
    {
    (void)access_model_reliable_cancel(m_clients[0].model_handle);
    light_lc_client_property_set(&m_clients[0],&pro_set_params);
    break;
    }

    Error:

    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");

  • Hi,

    Sorry for the late response. 

    Have you had any progress with this?

    thukeri said:
    i could not observe the fade on through this command even i set the tansition period to zero

    Did you set to a value bigger than 0? 

    thukeri said:
    To send the occupancy command from the lc client can you suggest what should use..

    To set the Occupancy mode you should use: light_lc_client_occupanc_mode_set()

    thukeri said:
    I am using as below but the property command is not receiving by lc server and throwing the following exception can you please post or suggest if you have tried this and working for you

    I have not tried this myself so not sure what you are missing. Seems like you are using the correct function. Do you get any error messages? Does the function return NRF_SUCCESS?

Related