Skip to content

Commit 654ebce

Browse files
committed
Fix for Prism and Litebeam 878
1 parent a41436e commit 654ebce

File tree

3 files changed

+11
-5
lines changed

3 files changed

+11
-5
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,12 @@
22

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

5+
## [0.3.1] - 2025-08-22
6+
7+
### Added
8+
9+
- Making antenna_gain and nol_* optional for support of 8.7.8 models as reported
10+
511
## [0.3.0] - 2025-08-15
612

713
### Added

airos/data.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -370,7 +370,6 @@ class Remote(AirOSDataClass):
370370
tx_ratedata: list[int]
371371
tx_bytes: int
372372
rx_bytes: int
373-
antenna_gain: int
374373
cable_loss: int
375374
ethlist: list[EthList]
376375
ipaddr: list[str]
@@ -385,6 +384,7 @@ class Remote(AirOSDataClass):
385384
gps: GPSData | None = (
386385
None # Reported NanoStation 5AC 8.7.18 without GPS Core 150491
387386
)
387+
antenna_gain: int | None = None # Reported on Prism 6.3.5? and LiteBeam 8.7.8
388388

389389
@classmethod
390390
def __pre_deserialize__(cls, d: dict[str, Any]) -> dict[str, Any]:
@@ -456,7 +456,6 @@ class Wireless(AirOSDataClass):
456456
compat_11n: int
457457
hide_essid: int
458458
apmac: str
459-
antenna_gain: int
460459
frequency: int
461460
center1_freq: int
462461
dfs: int
@@ -469,8 +468,6 @@ class Wireless(AirOSDataClass):
469468
chanbw: int
470469
rx_chainmask: int
471470
tx_chainmask: int
472-
nol_state: int
473-
nol_timeout: int
474471
cac_state: int
475472
cac_timeout: int
476473
rx_idx: int
@@ -484,6 +481,9 @@ class Wireless(AirOSDataClass):
484481
sta: list[Station]
485482
sta_disconnected: list[Disconnected]
486483
mode: WirelessMode | None = None # Investigate further (see WirelessMode in Remote)
484+
nol_state: int | None = None # Reported on Prism 6.3.5? and LiteBeam 8.7.8
485+
nol_timeout: int | None = None # Reported on Prism 6.3.5? and LiteBeam 8.7.8
486+
antenna_gain: int | None = None # Reported on Prism 6.3.5? and LiteBeam 8.7.8
487487

488488
@classmethod
489489
def __pre_deserialize__(cls, d: dict[str, Any]) -> dict[str, Any]:

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
44

55
[project]
66
name = "airos"
7-
version = "0.3.0"
7+
version = "0.3.1"
88
license = "MIT"
99
description = "Ubiquity airOS module(s) for Python 3."
1010
readme = "README.md"

0 commit comments

Comments
 (0)