https://redmine.replicant.us/https://redmine.replicant.us/favicon.ico?15984615062017-07-15T15:23:11ZReplicantReplicant - Issue #1819: radiooptions command is returning an errorhttps://redmine.replicant.us/issues/1819?journal_id=68242017-07-15T15:23:11ZWolfgang Wiedmeyerwreg@wiedmeyer.de
<ul><li><strong>Category</strong> set to <i>Telephony and mobile data</i></li><li><strong>Assignee</strong> set to <i>Wolfgang Wiedmeyer</i></li></ul><p><code>radiooptions</code> has the following help text:<br /><pre>
Usage: radiooptions [option] [extra_socket_args]
0 - RADIO_RESET,
1 - RADIO_OFF,
2 - UNSOL_NETWORK_STATE_CHANGE,
3 - QXDM_ENABLE,
4 - QXDM_DISABLE,
5 - RADIO_ON,
6 apn- SETUP_PDP apn,
7 - DEACTIVE_PDP,
8 number - DIAL_CALL number,
9 - ANSWER_CALL,
10 - END_CALL
The argument before the last one must be SIM slot
0 - SIM1,
1 - SIM2,
2 - SIM3,
3 - SIM4,
The last argument must be modem-socket style
0 - one modem for one debug-socket,
1 - one modem for multiple debug socket
</pre></p>
<p>So if you want to send a <code>RADIO_RESET</code>, you will need to run <code>radiooptions 0 0 0</code> as root. Does that work for you?</p> Replicant - Issue #1819: radiooptions command is returning an errorhttps://redmine.replicant.us/issues/1819?journal_id=68302017-07-18T19:05:07ZThomas Kitchinmuleyryan@fastmail.fm
<ul></ul><p>Yes. The syntax is different apparently in Android 6. I saw the help output and found it unclear: the most I had tried was 'radiooptions 0 0', and met with failure. Thank you.</p>
<p>Now to figure out if the radio is resetting on a successful command entry and still not fixing the intermittent problem I'm having or what the hell.</p>