Open mukulele opened 2 years ago
I have no experience with GPS or GSM interfaces so I really don't know how this hat could be integrated.
You would probably need to create a service that executes that command you mention either once when the system boots or periodically to update the data.
I'd like to add a SIM7000X NB-IoT HAT to your setuphelper. The hardware spec is published here: https://www.waveshare.com/wiki/SIM7000E_NB-IoT_HAT I have installed setuphelper, the module is recognized out-of-the-box in Venus OS large 2.90 with vendor ID 1e0e:9001. The device is displayed in the remote console as "Device List / Settings / GPS " and "Device List / Settings / GSM - Modem". So far so good.
1/ GPS By issuing a "/bin/echo -n -e "AT+CGNSPWR=1\r\n" > /dev/ttyUSB2" in the root shell, I get the GPS-out data into the Venus gps-dbus/remote console. Can you / how do I add this to to your script?
2/ What do yo recommend regarding the LTE Cat-M functionality? Is GSM - Modem appropriate or should I better add a new device class?
I confirm the CAT-M connection is working with a 1nce SIM card by issuing a series of AT commands (documented on 1nce website) or via libqmi (qualcomm msm interface) on Raspi OS ver. buster and bullseye.