So looking to it more, this may be an issue with our interface with Modem manager in mmsd. The one that exists now is extremely simple (hence the title "simple.c"). One of the things that looks needing to be done is set up the ability to do the proxy service from within mmsd.
At a quick glance, this may need to be done from within "bearer handler"? But I have not looked too much into this.
However I would say, if you have the know how, this would be a great way to help get MMS, if you could get the MMS proxy integrated into the mmsd plugin.
EDIT:
So looking at this a bit more, I am seeing a couple of functions that look promising:
mms_service_bearer_notify() and mms_service_set_bearer_handler().
mms_service_bearer_notify() looks like it has references to setting a proxy, and it's pretty straight foward to integrate it into simple.c (in line 82 where it says:
Change the "NULL" to the proxy service and see how that works.
mms_service_set_bearer_handler() may have to be set, but I am not sure what it does. Perhaps look at the ofono.c plugin and see how it sets up the proxy too? This is how the debug looks for me:
At a quick glance, this may need to be done from within "bearer handler"? But I have not looked too much into this.
However I would say, if you have the know how, this would be a great way to help get MMS, if you could get the MMS proxy integrated into the mmsd plugin.
EDIT:
So looking at this a bit more, I am seeing a couple of functions that look promising:
mms_service_bearer_notify() and mms_service_set_bearer_handler().
mms_service_bearer_notify() looks like it has references to setting a proxy, and it's pretty straight foward to integrate it into simple.c (in line 82 where it says:
Code:
mms_service_bearer_notify(service, TRUE, "wwan0", NULL);
Change the "NULL" to the proxy service and see how that works.
mms_service_set_bearer_handler() may have to be set, but I am not sure what it does. Perhaps look at the ofono.c plugin and see how it sets up the proxy too? This is how the debug looks for me:
Code:
mmsd[3297]: src/service.c:mms_service_create() service 0x55abbb9dc0
mmsd[3297]: src/service.c:mms_service_set_identity() service 0x55abbb9dc0 identity any
mmsd[3297]: src/service.c:mms_service_set_mmsc() service 0x55abbb9dc0 mmsc http://mms.msg.eng.t-mobile.com/mms/wapenc
mmsd[3297]: src/service.c:mms_service_bearer_notify() service=0x55abbb9dc0 active=1 iface=wwan0 proxy=(null)
mmsd[3297]: src/service.c:mms_service_bearer_notify() interface wwan0 proxy (null)
clearing proxy