Lc client for nrf52840 dongle is available in which sdk
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;
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
thukeri said:yes using nrf server nRF5_SDK_17.0.2_d674dde
nRF5_SDK_17.0.2_d674dde
A correction from my previous reply:
Are you using the LC server example from our Mesh SDK as the server? Which Mesh SDK are you using?
Also, uploading the whole log would be helpful.
I want to check other command also light_lc_client_light_onoff_set
with this command from client i am able operated light off and light on with full brightness on the server
but how to get the gradual fade on and fade off on the client please suggest which command i need to use
I want to check other command also light_lc_client_light_onoff_set
with this command from client i am able operated light off and light on with full brightness on the server
but how to get the gradual fade on and fade off on the client please suggest which command i need to use
i am setting all the params on the mobile side(like prolong lightness,fade on time -10sec etc...)
it will be appreciate if you suggest this answer
thukeri said:but how to get the gradual fade on and fade off on the client please suggest which command i need to use
Do you mean like a dimmable light? I suggest you take a look at the Light lightness example.