Skip to content

Allow configuration of set_udub ril op#2

Open
Pekkari wants to merge 1 commit into
mer-hybris:masterfrom
Pekkari:master
Open

Allow configuration of set_udub ril op#2
Pekkari wants to merge 1 commit into
mer-hybris:masterfrom
Pekkari:master

Conversation

@Pekkari

@Pekkari Pekkari commented Oct 31, 2021

Copy link
Copy Markdown

In some devices, like the Volla phone, the
operation of set_udub to request whether the
user is busy or not, produces a halt of the modem
dropping any on going call if the operation
happens, like rejecting a new incoming call
while one is active. This patch allows to
set the operation to a regular hangup.

Signed-off-by: José Pekkarinen jose.pekkarinen@foxhound.fi

In some devices, like the Volla phone, the
operation of set_udub to request whether the
user is busy or not, produces a halt of the modem
dropping any on going call if the operation
happens, like rejecting a new incoming call
while one is active. This patch allows to
set the operation to a regular hangup.

Signed-off-by: José Pekkarinen <jose.pekkarinen@foxhound.fi>
Comment thread ril_subscription.conf
# is busy through this function. This produces that, if you cancel an
# awaiting call because of an on going one, both calls will be hang up.
#
#rilRequestOnSetUdub=13

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

AFAICT the default for RIL_REQUEST_UDUB is 17, please mention that in a way similar to how it's done for other entries.

Comment thread src/ril_plugin.c
#include "ril_vendor.h"
#include "ril_devmon.h"
#include "ril_log.h"
#include "ril-constants.h"

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

src/ril_plugin.c:30:10: fatal error: ril-constants.h: No such file or directory
 #include "ril-constants.h"
          ^~~~~~~~~~~~~~~~~
compilation terminated.

I think you can just drop this line, this header must be included from elsewhere as <ofono/ril-constants.h>

Comment thread src/ril_plugin.c
}

/* rilRequestOnSetUdub */
if (ril_config_get_integer(file, group,

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

src/ril_plugin.c:1815:6: warning: implicit declaration of function 'ril_config_get_integer'; did you mean 'ril_config_get_ints'? [-Wimplicit-function-declaration]
  if (ril_config_get_integer(file, group,
      ^~~~~~~~~~~~~~~~~~~~~~

Should be ofono_conf_get_integer()

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants