Skip to content

Commit

Permalink
Merge pull request #70 from highvolt-dev/bugfix/arcadyan_enbid_calcul…
Browse files Browse the repository at this point in the history
…ation

calculate arcaydyan eNB ID using decimal base fixes #68 caused by fir…
  • Loading branch information
highvolt-dev authored May 8, 2022
2 parents a87e6f1 + 9ba038a commit f5941ba
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 f5941ba

Please sign in to comment.