This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
# -Author: Ravjot Singh Samra ([email protected])- | |
# This script is intended for using the Ericsson F5521gw (HP HS2340) WWAN card | |
# with GPSd. As of now (d13/m12/2018) it is still unusable with GPSd without | |
# configuring it first; however, GPSd does not send the Hayes AT command | |
# in the first place to start up the GPS. The solution is to send the AT | |
# commands, set the connection used for sending it to "sleep", and then | |
# use the device normally. This should seriously be done by GPSd instead. |