Skip to content

Commit

Permalink
add EC21 to modem list
Browse files Browse the repository at this point in the history
  • Loading branch information
DomAmato committed Nov 8, 2022
1 parent ee56815 commit f3ec4f0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion Hologram/Network/Cellular.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
from Hologram.Event import Event
from Exceptions.HologramError import NetworkError
from Hologram.Network.Route import Route
from Hologram.Network.Modem import Modem, E303, MS2131, E372, BG96, Nova_U201, NovaM, DriverLoader
from Hologram.Network.Modem import Modem, E303, MS2131, E372, BG96, EC21, Nova_U201, NovaM, DriverLoader
from Hologram.Network import Network, NetworkScope
import time
from serial.tools import list_ports
Expand All @@ -32,6 +32,7 @@ class Cellular(Network):
'ms2131': MS2131.MS2131,
'e372': E372.E372,
'bg96': BG96.BG96,
'ec21': EC21.EC21,
'nova': Nova_U201.Nova_U201,
'novam': NovaM.NovaM,
'': Modem
Expand Down
2 changes: 1 addition & 1 deletion Hologram/Network/Modem/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
__all__ = ['Modem', 'MockModem', 'MS2131', 'Nova', 'E303', 'E372']
__all__ = ['Modem', 'MockModem', 'MS2131', 'Nova', 'E303', 'E372', 'EC21', 'BG96']

from .IModem import IModem
from .Modem import Modem

0 comments on commit f3ec4f0

Please sign in to comment.