Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@

All notable changes to this project will be documented in this file.

## [0.3.1] - 2025-08-22

### Added

- Making antenna_gain and nol_* optional for support of 8.7.8 models as reported

## [0.3.0] - 2025-08-15

### Added
Expand Down
8 changes: 4 additions & 4 deletions airos/data.py
Original file line number Diff line number Diff line change
Expand Up @@ -370,7 +370,6 @@ class Remote(AirOSDataClass):
tx_ratedata: list[int]
tx_bytes: int
rx_bytes: int
antenna_gain: int
cable_loss: int
ethlist: list[EthList]
ipaddr: list[str]
Expand All @@ -385,6 +384,7 @@ class Remote(AirOSDataClass):
gps: GPSData | None = (
None # Reported NanoStation 5AC 8.7.18 without GPS Core 150491
)
antenna_gain: int | None = None # Reported on Prism 6.3.5? and LiteBeam 8.7.8

@classmethod
def __pre_deserialize__(cls, d: dict[str, Any]) -> dict[str, Any]:
Expand Down Expand Up @@ -456,7 +456,6 @@ class Wireless(AirOSDataClass):
compat_11n: int
hide_essid: int
apmac: str
antenna_gain: int
frequency: int
center1_freq: int
dfs: int
Expand All @@ -469,8 +468,6 @@ class Wireless(AirOSDataClass):
chanbw: int
rx_chainmask: int
tx_chainmask: int
nol_state: int
nol_timeout: int
cac_state: int
cac_timeout: int
rx_idx: int
Expand All @@ -484,6 +481,9 @@ class Wireless(AirOSDataClass):
sta: list[Station]
sta_disconnected: list[Disconnected]
mode: WirelessMode | None = None # Investigate further (see WirelessMode in Remote)
nol_state: int | None = None # Reported on Prism 6.3.5? and LiteBeam 8.7.8
nol_timeout: int | None = None # Reported on Prism 6.3.5? and LiteBeam 8.7.8
antenna_gain: int | None = None # Reported on Prism 6.3.5? and LiteBeam 8.7.8

@classmethod
def __pre_deserialize__(cls, d: dict[str, Any]) -> dict[str, Any]:
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"

[project]
name = "airos"
version = "0.3.0"
version = "0.3.1"
license = "MIT"
description = "Ubiquity airOS module(s) for Python 3."
readme = "README.md"
Expand Down