linux-bluetooth.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [RFC 0/3] Add HDP .register_application method
@ 2014-03-25 14:34 Ravi kumar Veeramally
  2014-03-25 14:34 ` [RFC 1/3] android/hal-ipc-api: Add extra command to Health HAL api document Ravi kumar Veeramally
                   ` (3 more replies)
  0 siblings, 4 replies; 6+ messages in thread
From: Ravi kumar Veeramally @ 2014-03-25 14:34 UTC (permalink / raw)
  To: linux-bluetooth; +Cc: Ravi kumar Veeramally

Due to limited IPC_MTU and variable length of
fields from 'bthl_reg_param_t *', it is difficult to put them
in single command and send though IPC. So we split this command
to multiple calls. First command will be called with opcode of
HAL_OP_HEALTH_REG_APP with 'struct hal_cmd_health_reg_app' data.
Later command will be called with opcode of
HAL_OP_HEALTH_MDEP with 'struct hal_cmd_health_mdep' data for
number_of_mdeps times. Daemon (android/health) side it will
process after it received all data and response will be sent
along with last call of HAL_OP_HEALTH_MDEP.

This avoids increasing value of IPC_MTU and mainly because of
optional parameters in 'bthl_reg_param_t'. Incase of unfilled
optional parameters, fixed size arrays in hal commands will be
empty.

Ravi kumar Veeramally (3):
  android/hal-ipc-api: Add extra command to Health HAL api document
  android/hal-msg: Add extra struct for mdep data
  android/hal-health: Add HDP .register_application method

 android/hal-health.c    | 88 ++++++++++++++++++++++++++++++++++++++++++++++++-
 android/hal-ipc-api.txt | 34 +++++++++++--------
 android/hal-msg.h       | 37 ++++++++++-----------
 3 files changed, 126 insertions(+), 33 deletions(-)

-- 
1.8.3.2


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2014-03-31  8:03 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-03-25 14:34 [RFC 0/3] Add HDP .register_application method Ravi kumar Veeramally
2014-03-25 14:34 ` [RFC 1/3] android/hal-ipc-api: Add extra command to Health HAL api document Ravi kumar Veeramally
2014-03-25 14:34 ` [RFC 2/3] android/hal-msg: Add extra struct for mdep data Ravi kumar Veeramally
2014-03-25 14:34 ` [RFC 3/3] android/hal-health: Add HDP .register_application method Ravi kumar Veeramally
2014-03-28 13:48 ` [RFC 0/3] " Ravi kumar Veeramally
2014-03-31  8:03   ` Ravi kumar Veeramally

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).