Skip to content

Commit

Permalink
Merge pull request #166 from NebraLtd/murat/add-cotx3
Browse files Browse the repository at this point in the history
Added Cotx X3 hardware definition parameters
  • Loading branch information
MuratUrsavas authored May 26, 2022
2 parents 8b7dca2 + 22a2fa4 commit e397f90
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 1 deletion.
19 changes: 19 additions & 0 deletions hm_pyhelper/hardware_definitions.py
Original file line number Diff line number Diff line change
Expand Up @@ -420,6 +420,25 @@ def is_raspberry_pi() -> bool:
'CONTAINS_IC_IDS': []
},

# COTX X3 Hotspot
'COMP-COTX3': {
'FRIENDLY': 'COTX X3',
'SPIBUS': 'spidev0.0', # There is a CSN1 pin which is connected to GPIO6 (HAT Pin 31)
'KEY_STORAGE_BUS': '/dev/i2c-0',
'RESET': 22,
'MAC': 'eth0',
'STATUS': 21, # Stub. There is no status LED on X3. I2C-3 is used for display
# communication (HAT pins 5,7)
'BUTTON': 23,
'ECCOB': True,
'TYPE': 'Full',
'CELLULAR': False, # There is a 4G option on the HAT board.
'FCC_IDS': [],
'CONTAINS_FCC_IDS': [],
'IC_IDS': [],
'CONTAINS_IC_IDS': []
},

# DIY Pi Supply Hotspot HAT
'DIY-PISLGH': {
'FRIENDLY': 'DIY Pi Supply Hotspot HAT',
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

setup(
name='hm_pyhelper',
version='0.13.22',
version='0.13.23',
author="Nebra Ltd",
author_email="[email protected]",
description="Helium Python Helper",
Expand Down

0 comments on commit e397f90

Please sign in to comment.