I have connected the new Raspberry Pi 4 model b with the waveshare SIM7600E-H 4G HAT.
The os is Raspbian Buster Lite.
The configuration I use is the following:
1) The jumpers are placed in the middle position.
2) The shield connected onto the RPi gpio.
3) There is also a connection between the pi and the waveshare "USB" port (not "USB to UART")
4) raspi-config > Interfacing Options > Serial = Login shell over serial = NO Serial port hardware enabled = YES
5) /boot/config.txt has enable_uart=1
So far I have managed to give AT commnads succesfully, and even have access on the internet via ppp0 as it shown in the waveshare wiki page: https://www.waveshare.com/wiki/SIM868_P%20...%20Networking
However I haven't managed to find a way to access 4g network via wwan0. I assume that this is related with the fact that in the /dev/ folder there are no ttyUSB serial ports.
Following info I found here:
I gave the command:
sudo qmicli -d /dev/cdc-wdm0 --dms-set-operating-mode='online'
error: couldn't create QmiDevice: Couldn't query file info: Error when getting information for file “/dev/cdc-wdm0”: No such file or directory
since no /dev/cdc-wdm0 device exist.
I also tried to compile gobiserial from SIM7X00-Driver.7z. I updated the raspberrypi-kernel-headers but when I tried to compile the driver I got the following error:
GobiSerial.c:55:10: fatal error: linux/usb-wwan.h: No such file or directory
Has anyone any idea why no ttyUSB exist and how can wwan0 be configured