set the tx power of a tlm frame with the eddystone configuration service will result currently in an app error. call path is es_gatts_write_handle_unlocked_write -> es_slot_radio_tx_pwr_set -> set_ranging_data_for_slot. I propose the following change in components/ble/ble_services/eddystone/es_slot.c under function set_ranging_data_for_slot:
es_adv_frame_t * frame = &m_reg.slots[slot_no].adv_frame;
switch (frame->type)
{
case ES_FRAME_TYPE_UID:
{
es_uid_frame_t * uid = &frame->frame.uid;
uid->ranging_data = ranging_data;
break;
}
case ES_FRAME_TYPE_URL:
{
es_url_frame_t * url = &frame->frame.url;
url->ranging_data = ranging_data;
break;
}
case ES_FRAME_TYPE_EID:
{
es_eid_frame_t * eid = &frame->frame.eid;
eid->ranging_data = ranging_data;
break;
}
case ES_FRAME_TYPE_TLM:
- APP_ERROR_CHECK(NRF_ERROR_INVALID_PARAM);
break;
}