Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Clean up AT+NREC behavior and API | Johan Hedberg | 2008-12-04 | 3 | -4/+24 |
| | | | | | | In HFP 1.5 only AT+NREC=0 should be possible, but to accomodate for future profile changes make the telephony.h API such that AT+NREC=1 is possible without breaking the API. | ||||
* | Add another missing check for btd_device_add_uuid. | Luiz Augusto von Dentz | 2008-12-02 | 1 | -1/+6 |
| | |||||
* | Check if btd_device_add_uuid succeeded. | Luiz Augusto von Dentz | 2008-12-02 | 1 | -1/+4 |
| | |||||
* | Use valid number type for HFP | Johan Hedberg | 2008-11-29 | 1 | -3/+4 |
| | |||||
* | Add some common phone number type definitions | Johan Hedberg | 2008-11-29 | 1 | -0/+7 |
| | |||||
* | Fix AT result code syntax | Johan Hedberg | 2008-11-28 | 1 | -14/+14 |
| | | | | | According to ITU-T V.250 there should be a space after the colon in AT result codes. | ||||
* | Implement support for AT+NREC | Johan Hedberg | 2008-11-27 | 3 | -0/+24 |
| | | | | | This patch adds support for the AT+NREC command which can be used for disabling noice reduction and echo canceling features on the AG side. | ||||
* | Fix proble with concurrent clients connecting audio socket. | Luiz Augusto von Dentz | 2008-11-26 | 3 | -8/+33 |
| | | | | | Concurrent connections is needed in order to support clients holding different access locks of the headset, eg. arecord | aplay. | ||||
* | Remove unused variable | Johan Hedberg | 2008-11-26 | 1 | -1/+0 |
| | |||||
* | Lock headset on stream start rather than stream configuration. | Luiz Augusto von Dentz | 2008-11-25 | 1 | -5/+5 |
| | |||||
* | Fix headset configuration and start. | Luiz Augusto von Dentz | 2008-11-25 | 2 | -21/+34 |
| | |||||
* | Fix bug which invalidates a device pointer before unlocking. | Luiz Augusto von Dentz | 2008-11-25 | 1 | -3/+2 |
| | |||||
* | Make hfp/hsp to suspend properly. | Luiz Augusto von Dentz | 2008-11-25 | 3 | -1/+58 |
| | |||||
* | Fix headset_request_stream to check for stream locks. | Luiz Augusto von Dentz | 2008-11-25 | 3 | -19/+32 |
| | | | | | A stream should only be configured if there is no other application holding the lock. | ||||
* | Fix +BSRF syntax | Johan Hedberg | 2008-11-19 | 1 | -1/+1 |
| | |||||
* | Make use of g_timeout_add_seconds whenever possible. | Luiz Augusto von Dentz | 2008-11-17 | 4 | -22/+30 |
| | |||||
* | Set stream timer in avdtp_sep_set_state instead of avdtp_suspend_resp | Johan Hedberg | 2008-10-25 | 1 | -4/+6 |
| | | | | | This ensures that the timer is not only set when we requested the suspend but also when the other side requested the suspend. | ||||
* | Fix whitespace in function pointer declaration | Johan Hedberg | 2008-10-24 | 1 | -1/+1 |
| | |||||
* | Clear pending ring if calling is stopped before SCO is up | Johan Hedberg | 2008-10-24 | 1 | -3/+12 |
| | |||||
* | Use g_dbus_send_message instead of dbus_connection_send | Johan Hedberg | 2008-10-24 | 2 | -12/+6 |
| | |||||
* | Make Headset.Play() succeed if there's a pending HFP triggered SCO | Johan Hedberg | 2008-10-24 | 1 | -0/+4 |
| | |||||
* | Fix manager_allow_headset_connection count check | Johan Hedberg | 2008-10-24 | 1 | -2/+4 |
| | |||||
* | Don't set the ring timer twice | Johan Hedberg | 2008-10-24 | 1 | -0/+2 |
| | |||||
* | No need to remove the ring timer twice in the terminate call case | Johan Hedberg | 2008-10-24 | 1 | -10/+0 |
| | |||||
* | Also remove ring timer if the HF rejects the call | Johan Hedberg | 2008-10-24 | 1 | -0/+10 |
| | |||||
* | Remove the ring timer imediately when ATA is received | Johan Hedberg | 2008-10-24 | 1 | -10/+4 |
| | |||||
* | Ensure that SCO is up before sending RINGs for inband ringtone | Johan Hedberg | 2008-10-24 | 1 | -50/+84 |
| | |||||
* | Remove bogus function | Johan Hedberg | 2008-10-24 | 1 | -5/+0 |
| | |||||
* | Use g_clear_error(&err) instead of g_error_free(err); err = NULL | Johan Hedberg | 2008-10-24 | 3 | -20/+10 |
| | |||||
* | Limit the amount of connected HSP/HFP devices and make it configurable | Johan Hedberg | 2008-10-24 | 4 | -0/+48 |
| | | | | | | | | It's very tricky to get the multiple connected HSP/HFP devices use case right. E.g. in the case of in-band ringtone the specification mandates us to open SCO to the HFP before sending RING indications. So, in the case of multiple connected devices we would have to open multimple simultaneous SCO connections which simply isn't a wise thing to do. | ||||
* | Return proper error replies in telephony-dummy | Johan Hedberg | 2008-10-22 | 1 | -9/+15 |
| | | | | | | Without this fix sending invalid arguments to telephony-dummy causes libgdbus to return NO_MEMORY to libdbus which in turn causes the method handler to be called in an infinite loop. | ||||
* | Perform a proper abort upon stream connect failure | Johan Hedberg | 2008-10-20 | 1 | -4/+8 |
| | |||||
* | Get rid of unnecessary finalize*errno(setup, 0) calls | Johan Hedberg | 2008-10-19 | 1 | -19/+6 |
| | |||||
* | Respond to a stream setup request also on Start_Ind | Johan Hedberg | 2008-10-19 | 1 | -0/+9 |
| | | | | | If the remote end sends a START_CMD while we're setting up the stream use it to notify the stream requestor (unix.c) of success. | ||||
* | Check for existing STREAMING state when receiving START_RSP | Johan Hedberg | 2008-10-19 | 1 | -1/+4 |
| | | | | | | | This could happen if both peers send START_CMD at the same time and the SNK peer doesn't reject the command (as it should according to the spec). This behaviour can be seen e.g. when using pulseaudio and the Mororola S9 headset. | ||||
* | Remove OPEN state change from avdtp_open_cmd | Johan Hedberg | 2008-10-19 | 1 | -1/+0 |
| | | | | | | | | | | | | Some time back the INT role OPEN transition was moved from receiving the OPEN response to actually having the stream L2CAP channel ready. Unfortunatly this patch forgot to change the ACP case so the code has so far attempted a double ->OPEN transition. According to the AVDTP spec the transition should happen before the stream L2CAP transport but this doesn't really make sense since several places want to have the stream fd ready when we go to the OPEN state. Therefore, this patch removes the ACP role OPEN transition from receiving the OPEN command and lets the state change be in having the stream L2CAP transport established. | ||||
* | Implement better support for AT+CHLD=<n> | Johan Hedberg | 2008-10-17 | 3 | -4/+30 |
| | |||||
* | Add network timeout CME error | Johan Hedberg | 2008-10-17 | 1 | -0/+1 |
| | | | | | This error code doesn't appear in the CME error table in the HFP spec but there are references to it in a couple of other places in the spec. | ||||
* | Fix indentation levels | Johan Hedberg | 2008-10-16 | 3 | -36/+30 |
| | |||||
* | Rename dbus_connection_emit_property_changed to emit_property_changed | Johan Hedberg | 2008-10-16 | 3 | -41/+29 |
| | |||||
* | Fix remaining places to use dict_append_entry too | Johan Hedberg | 2008-10-16 | 3 | -16/+9 |
| | |||||
* | Make server_is_enabled simply use the config file values for now | Johan Hedberg | 2008-10-10 | 2 | -45/+21 |
| | | | | | | | | There's something broken in the "profile enabled" logic at the moment which makes server_is_enabled return FALSE sometimes when it shouldn't which causes the necessary interface not to be added to remote device objects. Use simply the config file values for now since we don't support per-adapter server configuration anyway. | ||||
* | Fix situation where avctp_disconnect is called while connecting | Johan Hedberg | 2008-10-10 | 1 | -2/+12 |
| | | | | | | | Previously the avctp session would be free'd and the connect callback would try to access this free'd memory. Now we detect this situation properly but the fundamental problem remains that the bt_l2cap_connect API doesn't allow aborting the connect procedure. | ||||
* | Fix response and hold response logig | Johan Hedberg | 2008-10-09 | 1 | -6/+7 |
| | |||||
* | Implement operator selection (AT+COPS) support | Johan Hedberg | 2008-10-09 | 3 | -34/+86 |
| | |||||
* | Clean up properly if stream starting fails | Johan Hedberg | 2008-10-09 | 1 | -0/+6 |
| | | | | | | | | Remove the stream state callback if stream start fails. Without this patch the callback could still be called after a unix client has disconnected which in turn would cause a double-free to occur. There is code to remove the callback also in client_free() but it won't work since we remove any references to the session and stream in the resume callback. | ||||
* | Add mechanism for adding new UUIDs from the driver side | Johan Hedberg | 2008-10-09 | 4 | -34/+32 |
| | | | | | | With this patch drivers can notify the core daemon that a device supports some UUID. This is useful in case we don't have a service record for a profile which the remote device initiates a connection for. | ||||
* | Make device driver probe calls take UUID's instead of full records | Johan Hedberg | 2008-10-09 | 4 | -62/+62 |
| | | | | | This is preparation for allowing the device object to be correctly set up even when we don't have the full service records but only the remote UUID's. | ||||
* | Check for NULL stream | Johan Hedberg | 2008-10-09 | 1 | -0/+3 |
| | |||||
* | Fix parameter passing to headset_set_state | Johan Hedberg | 2008-10-09 | 1 | -1/+1 |
| |