Hi Mark, On 06/04/2014 03:26 AM, Mark vd. Putten wrote: > I have got a PH8 Cinterion modem. > > gatmux.c -> g_at_mux_setup_gsm0710 > Queries the modem for available multiplex modes > The modem only returns a list with mode 0 > > ofonod[7120]: Setup: > AT+CMUX=?\r > ofonod[7120]: Setup: < \r\n+CMUX: (0)\r\n\r\nOK\r\n > > This is not correctly handles by > gatmux.c -> mux_query_cb > > It expects another subset > 798 /* Subset */ > 799 if (!g_at_result_iter_open_list(&iter)) > 800 goto error; > > Multiplex port is on USB and therefore has no requirements on speed. subset parameter is not about speed. It has been a while, but I believe we only support UIH framing mode, hence why that code checks for subset=0. > > What would be the best solution in changing this? > Hack the gatmux.c? > In general GAtMux tries to make the most intelligent choice based on the standard CMUX syntax (per 27.007). In cases where a modem does something different and this logic breaks down, one can always setup the MUX manually. Refer to plugins/ifx.c and plugins/sim900.c for examples. Regards, -Denis