Skip to content

HSP profile implementation

Frédéric Dalleau ofono 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest9 patches 8 repliesIn review
  2. v15 patches 0 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/9bluetooth: add functions for sco connectionplugins/bluetooth.c plugins/bluetooth.h+129 -03 replies
2/9emulator: add hsp emulator typeinclude/emulator.h+1 -00 replies
3/9hsp_ag: add hsp atom typesrc/emulator.c src/ofono.h+5 -00 replies
4/9hsp_ag: Initial plugin commitMakefile.am plugins/hsp_ag.c+118 -00 replies
5/9hsp_ag: add modem watchplugins/hsp_ag.c+67 -90 replies
6/9emulator: add CKPD supportsrc/emulator.c+30 -03 replies
7/9emulator: add audio connection APIinclude/emulator.h+7 -00 replies
8/9emulator: implement audio connection APIsrc/emulator.c+16 -00 replies
9/9hsp_ag: add audio connection supportplugins/hsp_ag.c+27 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 0/9] HSP profile implementation

This patch will start providing an HSP profile implementation in oFono. This is work in progress, and based of what was done for HFP profile. Finally added the audio connection, that will provide a base for discussion. To avoid emulator depend upon btio, there is a callback fom the emulator to the hsp plugin to connect audio,

Some question remains :

* How should pulse audio be notified?
* What is the behavior of hsp when receiving CKPD=200?

Next step will be to dial/hangup a call.

Frédéric Dalleau (9):
bluetooth: add functions for sco connection
emulator: add hsp emulator type
hsp_ag: add hsp atom type
hsp_ag: Initial plugin commit
hsp_ag: add modem watch
emulator: add CKPD support
emulator: add audio connection API
emulator: implement audio connection API
hsp_ag: add audio connection support

 Makefile.am         |    3 +
 include/emulator.h  |    8 ++
 plugins/bluetooth.c |  122 +++++++++++++++++++++++++++++++
 plugins/bluetooth.h |    7 ++
 plugins/hsp_ag.c    |  200 +++++++++++++++++++++++++++++++++++++++++++++++++++
 src/emulator.c      |   50 +++++++++++++
 src/ofono.h         |    1 +
 7 files changed, 391 insertions(+), 0 deletions(-)
 create mode 100644 plugins/hsp_ag.c