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,
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,
can you explain how to use the lc property commands on the client side and how it will interact with server to give response
(void)access_model_reliable_cancel(m_clients[0].model_handle);
transition_params.delay_ms = 50;
transition_params.transition_time_ms = 100;
status=light_lc_client_property_set(&m_clients[0],&pro_set_params);
if(status !=NRF_SUCCESS)
printf("\nfailed at client property set\n");
else
printf("\nsuccess\n");
break;
using this command to set the property but not getting the response from the server
from the logs it is getting as ACCESS_RELIABLE_TRANSFER_TIMEOUT msg please let me how to solve this problem
Thanks in advance...
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
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.