Beta support: MMS on chatty/mmsd on Modem Manager - help/testing wanted!
#42
(01-08-2021, 12:10 PM)kent Wrote: Quick update. Think I've figured it out. The fix ends up requiring adding a line of code and commenting out another.

There were 2 issues.

1. The host name / ip address issue in gweb->do_request() I've already touched on. On that, I'm now 99% sure there will be no negative impacts from just commenting out the AI_NUMERICHOST flag and allowing the existing code to resolve the proxy host name. The explicit proxy host -> ip address conversion block is commented out and available if I'm wrong about that. It looks like this might come up again on sending messages, but I'm not there yet.

2. Requests to AT&T need to explicitly tell AT&T's servers to close connections. As a result, I was seeing absurdly long time-outs for every request. Fortunately mmsd has a parameter for that and the functionality is already there. I've added a line in service.c->mms_service_bearer_notify() to set the parameter. I am not sure if this will impact other carriers negatively.

Those two little tweaks has mmsd working quite well across AT&T's proxy now. If anyone wants to try out these changes on different carriers, I'd love to know if they break anything for anyone else.

My working repo is: https://source.puri.sm/Kent/mmsd

That's great!

If you could, could you do a MR with my repo so I can test the changes on T-Mobile? I don't expect that to affect T-mobile (since they don't use a proxy). You may want to also test it against my modem manager plugin as well (this is a lot more stable with Modem Manager):

https://source.puri.sm/kop316/mmsd/-/tree/ModemManager

EDIT: Or if I am understanding you right, I just need to add these two lines here:

https://source.puri.sm/Kent/mmsd/-/blob/...ce.c#L2531

and comment out this line:

https://source.puri.sm/Kent/mmsd/-/blob/...eb.c#L1336

And it is done to support AT&T right? If so, I will add it to the modem manager plugin.


Hey All,

I think I have a "0.1" release of the modem manager plugin! It is located here:

https://source.puri.sm/kop316/mmsd/-/tree/ModemManager

EDIT: Ok I got a bit excited, I now added a few things to ensure that you can understand the API and make sure the plugin is resiliant. Also as soon as I confirm the AT&T fixes, those will be added.
  Reply


Messages In This Thread
RE: Experimental support MMS on chatty - help/testing wanted! - by kop316 - 01-08-2021, 12:43 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  What File Manager Options Are There For The Pinephone? pinephoneuser22 7 2,619 10-18-2023, 08:37 AM
Last Post: luppivega
  A/B testing or Unit testing gulshan212 0 1,009 08-29-2023, 03:36 AM
Last Post: gulshan212
  Article: NuttX RTOS for PinePhone: 4G LTE Modem lupyuen 2 1,627 04-10-2023, 10:19 PM
Last Post: lupyuen
  changing from bullseye to bookworm to install mmsd-tng jyoung 8 3,102 04-09-2023, 06:08 PM
Last Post: zetabeta
Sad Modem is always visible/connected but stops working after a while dante404 6 3,226 11-08-2022, 09:12 AM
Last Post: dante404
  Downsides of the open-source modem firmware? alpineduck 4 2,724 10-25-2022, 05:28 PM
Last Post: Zebulon Walton
  Pinephone: OpenGL support? orbital 2 2,276 08-25-2022, 04:09 PM
Last Post: vortex
  Latest firmware for PinePhone modem! Subsentient 104 131,307 07-20-2022, 05:32 AM
Last Post: zetabeta
  Which PP OS currently has the best podcast support? kujo_marble 3 2,137 07-14-2022, 07:09 AM
Last Post: tophneal
  Help wanted: location of calls and chatty data files dukla2000 3 4,732 06-13-2022, 02:01 PM
Last Post: israel

Forum Jump:


Users browsing this thread: 2 Guest(s)