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