Quectel BG95 Support
Hello,
unfortunately there is no support for Quectel BG95 in ofono. But nevertheless i tried to adapt the existing Quectel implementation for BG95. So i added:
udevng.c
------- 8< -------------
{ "quectelqmi", "qmi_wwan", "2c7c", "0700" },
{ "quectelqmi", "qcserial", "2c7c", "0700" },
{ "quectel", "option", "2c7c", "0700" },------- >8 -------------
It helps to recognize the modem, but it seems to be BUG in "setup_quectel" fucntion in "udevng.c" file. Since checking for "modem->serial" in the function produces a segfault. so i just commented it out. But after that the next problems popped up in "quectel.c"-Modul.
------- 8< ---------------------------------------- ofonod[273]: Aux: > AT+CGMM\r
ofonod[273]: Aux: < \r\nBG95-M3\r\n\r\nOK\r\n ofonod[273]: plugins/quectel.c:cgmm_cb() 0x165dd0 ok 1 ofonod[273]: Failed to query modem model ------- >8 -----------------------------------------
As you can see it failed to query the model modem, even though the modem is answering correct. so i digged deeper and found out, that only the number of lines save in result-argument which is a "GATResult" is actually zero! That means somewho the answer of the modem is not parsed right!
Any help is welcome!
Best Regards
Arash
Hello!
Quoted 10 lines · arash.javanmard(a)inro-et.de
Hello,
unfortunately there is no support for Quectel BG95 in ofono. But nevertheless i tried to adapt the existing Quectel implementation for BG95. So i added:
udevng.c
------- 8< -------------{ "quectelqmi", "qmi_wwan", "2c7c", "0700" }, { "quectelqmi", "qcserial", "2c7c", "0700" }, { "quectel", "option", "2c7c", "0700" },------- >8 -------------
I do not know for sure, but I think this is wrong. Either your modem is serial and using the quectel driver or it is a qmi modem with quectelqmi as driver, but not both.
Well, maybe your modem supports both, but you can only use one at a time.
Regards,
Lars