Merge pull request #156 from jpoutiai/master

[rilmodem] add missing brace characters
[rilmodem] Add Call Barring support

Signed-off-by: Miia Leinonen <miia.leinonen@oss.tieto.com>
[rilmodem] Fix for Call Barring commit

Signed-off-by: Miia Leinonen <miia.leinonen@oss.tieto.com>
[rilmodem] Add initial SIM ATK support

Add initial SIM ATK implementation to rilmodem driver, supporting
proactive command, terminal response and envelope.

Signed-off-by: Petri Takalokastari <petri.takalokastari@oss.tieto.com>

[rilmodem] Fix proactive command and terminal response handling

Convert the proactive commands and terminal responses to correct
format

[rilmodem] Fix for envelope sending

Fix typo in envelope sending causing ofono crash

[rilmodem] stk: adjust timings

Adjust the registeration of the rilmodem stk service and usage of timer
when reporting to RIL when ready to receive proactive commands

[rilmodem] Fix for terminal response and envelope construction

Remove usage of strlen, so the terminal responses and envelopes ending
with value 0x00 are sent properly.

[rilmodem] Remove timer usage from start up sequence

Remove usage of timers in startup sequence. Report ofono readiness to
receive proactive commands only when agent has registered.

[rilmodem] Fine tuning of start up sequence

Register to listen STK specific unsolicited messages only if UI STK agent
has registered. This because RILD will send and buffer proactive commands
also if not received RIL_REQUEST_REPORT_STK_SERVICE_IS_RUNNING
previously. RILD will buffer the proactive command until receiving
RIL_REQUEST_REPORT_STK_SERVICE_IS_RUNNING or terminal
response to (sent) proactive command.
By this change oFono core/rilmodem will not handle proactive commands
until STK UI agent has been registered to oFono.

[rilmodem] Change envelope sending request

Changed envelope sending request from
RIL_REQUEST_STK_SEND_ENVELOPE_WITH_STATUS to
RIL_REQUEST_STK_SEND_ENVELOPE_COMMAND as it seems that RILD
does not support RIL_REQUEST_STK_SEND_ENVELOPE_WITH_STATUS
properly.
Also cleaned up some excessive tracing.
[rilmodem] Ack sms receiving also when error

According to ril api also the failed receiving of SMS should be
acked to ril.

Signed-off-by: Jussi Kangas <jussi.kangas@oss.tieto.com>
Merge pull request #163 from marttipiirainen/next

Merge Call Barring support, SIM ATK support and SMS ACK bugfix from 'next' to 'master'
[voicecall] Read the EFECC also if SIM goes straigth to READY

It is possible that ofono starts so that SIM is already in
in READY state when voicecall gets the information. In that case
without this fix core never asks the emergency numbers

Signed-off-by: Jussi Kangas <jussi.kangas@oss.tieto.com>
Merge pull request #168 from jkangas/master

Request for pulling EFECC reading when READY to main branch
[init] Added boot-time requirement to be started after dbus service

Signed-off-by: Pekka Lundstrom <pekka.lundstrom@jollamobile.com>
Merge pull request #173 from plundstr/master

[init] Added boot-time requirement to be started after dbus service
[rilmodem] Allow subscription of stk notifications only once

Allow subscription of stk notifications only when simkit agent registers
for first time. This implementation fixes double subscription problems
which may happen if simkit agent has exited and restarts subscribing to
stk commands again.

Signed-off-by: Petri Takalokastari <petri.takalokastari@oss.tieto.com>
Merge pull request #175 from ptakalok/subs_master

[rilmodem] Allow subscription of stk notifications only once
[packaking] get rid off .yaml

Signed-off-by: Pekka Lundstrom <pekka.lundstrom@jollamobile.com>
[packaking] Add fail safe to post scripts

Signed-off-by: Pekka Lundstrom <pekka.lundstrom@jollamobile.com>
No restart on update

Signed-off-by: Pekka Lundstrom <pekka.lundstrom@jollamobile.com>
Merge pull request #181 from plundstr/master

Packaging fixes