unknown characteristic/service types downgraded to info

This commit is contained in:
Alex Janka 2024-03-07 09:26:02 +11:00
parent 401fd144cd
commit 341c347d3c

View file

@ -686,7 +686,7 @@ impl From<CharacteristicTypeInner> for CharacteristicType {
fn from(value: CharacteristicTypeInner) -> Self { fn from(value: CharacteristicTypeInner) -> Self {
match value { match value {
CharacteristicTypeInner::Unknown(v) => { CharacteristicTypeInner::Unknown(v) => {
log::warn!("unknown characteristic type: {v}"); log::info!("unknown characteristic type: {v}");
Self::Unknown Self::Unknown
} }
CharacteristicTypeInner::AccessControlLevel => Self::AccessControlLevel, CharacteristicTypeInner::AccessControlLevel => Self::AccessControlLevel,
@ -1206,7 +1206,7 @@ impl From<ServiceTypeInner> for ServiceType {
fn from(value: ServiceTypeInner) -> Self { fn from(value: ServiceTypeInner) -> Self {
match value { match value {
ServiceTypeInner::Unknown(v) => { ServiceTypeInner::Unknown(v) => {
log::warn!("unknown service type: {v}"); log::info!("unknown service type: {v}");
Self::Unknown Self::Unknown
} }
ServiceTypeInner::AccessControl => Self::AccessControl, ServiceTypeInner::AccessControl => Self::AccessControl,