Skip to content

Commit

Permalink
Merge pull request #227 from farlongsignal/master
Browse files Browse the repository at this point in the history
reconnect api
  • Loading branch information
Salamek authored Nov 7, 2024
2 parents a2bec16 + 5270592 commit b8af7c6
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions huawei_lte_api/api/Net.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,3 +81,8 @@ def cell_info(self) -> GetResponseType:

def csps_state(self) -> GetResponseType:
return self._session.get('net/csps_state')

def reconnect(self) -> SetResponseType:
return self._session.post_set('net/reconnect', OrderedDict((
('ReconnectAction', 1),
)))

0 comments on commit b8af7c6

Please sign in to comment.