Skip to content

Commit

Permalink
calculate arcaydyan eNB ID using decimal base fixes #68 caused by fir…
Browse files Browse the repository at this point in the history
…mware update
  • Loading branch information
highvolt-dev committed May 8, 2022
1 parent a87e6f1 commit 9ba038a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tmo_monitor/gateway/arcadyan.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ def get_site_info(self):
meta = stat_request.json()['cell']['4g']

return {
'eNBID': math.floor(int(meta['ecgi'][6:], 16)/256),
'eNBID': math.floor(int(meta['ecgi'][6:])/256),
'PLMN': meta['mcc'] + '-' + meta['mnc']
}
def reboot(self):
Expand Down

0 comments on commit 9ba038a

Please sign in to comment.