Skip to contentSkip to conversation

New Methods/Signals.

Bluez-devel Alok 2 participants 2 messages Dec 18, 2007 Bluetooth drivers

lore
Share & tools
lore

Alok

author
#0 lore raw

Marcel/Johan,

some new Methods/Signals are required for HFP in the audio service. Here are the ones needed as of now.

Method:
void CallSetup(uint16 value)

Used to send "callsetup" indicator value to the HF.

Signal:
void TerminateCall()

This signal is sent when an ongoing call is terminated.

An appropriate method name would be IndicateCall(), But thats already used for Alerting(RING) the Headset/HFP.

Is it possible to use Alert() instead of IndicateCall() to RING the headset/HF and use IndicateCall to send "callsetup" indicator?

The headset method implementations start with hs_* . Should the hf methods prepend hf_ to them for distinguishing them from headset methods ?

-Alok

-------------------------------------------------------------------------
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services
for just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel

maintainer
#1 lore raw

Hi Alok,

Quoted 2 lines

some new Methods/Signals are required for HFP in the audio service. Here are the ones needed as of now.

are they using the org.bluez.audio.Headset interface or are they meant to be in a org.bluez.audio.Handsfree interface?

Quoted 5 lines

Method:
void CallSetup(uint16 value)

Used to send "callsetup" indicator value to the HF.

Quoted 8 lines

Signal:
void TerminateCall()

This signal is sent when an ongoing call is terminated.

An appropriate method name would be IndicateCall(), But thats already used for Alerting(RING) the Headset/HFP.

In case they are in the audio.Headset interface, then use SetupCall. Can we use strings to express the value parameter?

Quoted 2 lines

Is it possible to use Alert() instead of IndicateCall() to RING the headset/HF and use IndicateCall to send "callsetup" indicator?

We can't change the API. Only a move to BlueZ 4.x could change the API.

Quoted 3 lines

The headset method implementations start with hs_* . Should the hf methods prepend hf_ to them for distinguishing them from headset methods ?

Sure.

Regards

Marcel

-------------------------------------------------------------------------
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services
for just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel