Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 |
| | |||||
* | Check for headset connected state when unregistering | Johan Hedberg | 2008-10-08 | 1 | -0/+6 |
| | | | | | | | | In theory a headset could be in a connected state when the driver for it gets unregistered. Do proper cleanup in this case (call headset_set_state(hs, DISCONNECTED)). Currently this happens even in practice due to a bug where we incorrectly assume that a device has removed a profile when in fact it's just hiding it while it's connected. | ||||
* | Fix typo | Johan Hedberg | 2008-10-08 | 1 | -1/+1 |
| | |||||
* | Move dev->sink initialization as acceptor to correct place | Johan Hedberg | 2008-10-08 | 1 | -3/+19 |
| | | | | | | | We can't initialize dev->sink in the AVDTP server callback since at this point we don't know if the remote device will be acting in audio source or audio sink role. So, do the initialization when we get the SetConfiguration command since then we can check the type of the SEP that was selected. | ||||
* | Create audio device objects on incoming connections if necessary | Johan Hedberg | 2008-10-08 | 4 | -14/+34 |
| | | | | | | If we haven't done SDP yet the data structures will be uninitialized. This patch makes sure that the structures are properly initialized if we get an incoming connection before service discovery has been done. | ||||
* | Add separate function for creating new audio device objects | Johan Hedberg | 2008-10-08 | 2 | -9/+55 |
| | | | | | This is needed in preparation of supporting remotely initated audio device pairing and connections (when we haven't done SDP to the remote device yet). | ||||
* | Reject non-voice calls in headset.c | Johan Hedberg | 2008-10-08 | 2 | -15/+16 |
| | | | | | | Basicly reverts the previous commit since data calls just don't make sense with HFP. Check for proper voice call dial string and pass the number without the terminating semicolon to the telephony driver. | ||||
* | Minor coding style fix | Johan Hedberg | 2008-10-08 | 1 | -1/+1 |
| | |||||
* | Properly extract the phone number from the ATD string | Johan Hedberg | 2008-10-08 | 1 | -1/+15 |
| | | | | | | | Voice call ATD requests have a semicolon at the end of the string while data call requests don't. So detect this and don't copy the semicolon to the currently active number (possible sent back to the headset in subsequent operations). | ||||
* | Fail cleanly if we don't have knowledge of a connecting device | Johan Hedberg | 2008-10-08 | 1 | -5/+11 |
| | | | | | | Without this fix we segfault if a device pairs and connects to us before we have completed service discovery to it. Underneath is a more fundamental problem of how we initialize our data structures and this still needs fixing. | ||||
* | Fix use of uninitialized address variable | Johan Hedberg | 2008-10-08 | 1 | -1/+2 |
| | |||||
* | Don't do double g_io_channel_unref if btd_request_authorization fails | Johan Hedberg | 2008-10-08 | 1 | -2/+2 |
| | |||||
* | Fix channel mode string from dual to dual-channel. | Luiz Augusto von Dentz | 2008-10-07 | 1 | -1/+1 |
| | |||||
* | Fix channel mode string to joint-stereo. | Luiz Augusto von Dentz | 2008-10-07 | 1 | -1/+1 |
| | |||||
* | Send a proper reply to AT+CMEE | Johan Hedberg | 2008-10-07 | 1 | -1/+1 |
| | |||||
* | Assert that device->headset != NULL for each active device | Johan Hedberg | 2008-10-07 | 1 | -0/+3 |
| | | | | | | We got one segfault due to hs == NULL but I couldn't figure out how on earth in could happen. The best I can do right now is to have an assert to catch it instead of a direct segfault. | ||||
* | Send a proper reply to call waiting notification request | Johan Hedberg | 2008-10-07 | 1 | -1/+1 |
| | |||||
* | Fix coding style | Marcel Holtmann | 2008-10-06 | 1 | -2/+1 |
| | |||||
* | Cancel any pending authorization request if the connection gets droped | Johan Hedberg | 2008-10-06 | 1 | -0/+2 |
| | |||||
* | Don't call pending_connect_finalize in headset_cancel_stream | Johan Hedberg | 2008-10-06 | 1 | -2/+0 |
| | | | | | The pending connect is still needed when rfcomm_connect_cb gets informed of the failed connect attempt. | ||||
* | pending_connect_finalize() takes care of unreffing p->msg | Johan Hedberg | 2008-10-06 | 1 | -4/+1 |
| | |||||
* | Fix D-Bus method return creation logic in hfp_slc_complete() | Johan Hedberg | 2008-10-06 | 1 | -7/+9 |
| | |||||
* | Cleanup SCO server socket in audio_exit() | Johan Hedberg | 2008-10-05 | 1 | -1/+8 |
| | |||||
* | Change SCO server socket into a generic one | Johan Hedberg | 2008-10-04 | 2 | -56/+56 |
| | | | | | | Due to a kernel bug we can't initiate SCO connections if there's a server socket bound to the same adapter. Therefore use a global socket bound to BDADDR_ANY instead. | ||||
* | Fix uninitialized reply of multiple GetProperties methods | Marcel Holtmann | 2008-10-03 | 2 | -0/+8 |
| | |||||
* | Mark old plugins API as deprecated. | Luiz Augusto von Dentz | 2008-10-02 | 3 | -19/+26 |
| | |||||
* | Add code to emit PropertyChanged on control interface. | Luiz Augusto von Dentz | 2008-10-02 | 1 | -1/+16 |
| | |||||
* | Add property support for control interface. | Luiz Augusto von Dentz | 2008-10-02 | 1 | -0/+29 |
| | |||||
* | Add code to emit PropertyChanged on sink interface. | Luiz Augusto von Dentz | 2008-10-02 | 1 | -2/+26 |
| | |||||
* | Add property support for sink interface. | Luiz Augusto von Dentz | 2008-10-02 | 1 | -0/+36 |
| | |||||
* | Add code to emit PropertyChanged on headset interface. | Luiz Augusto von Dentz | 2008-10-02 | 1 | -3/+31 |
| | |||||
* | Add property support for headset interface. | Luiz Augusto von Dentz | 2008-10-02 | 1 | -8/+115 |
| | |||||
* | Check HFP status before checking cli_active variable | Johan Hedberg | 2008-10-02 | 1 | -0/+3 |
| | |||||
* | Use send_foreach_headset() for RING indication | Johan Hedberg | 2008-10-02 | 1 | -41/+38 |
| | |||||
* | Implement call waiting notification support | Johan Hedberg | 2008-10-02 | 2 | -7/+62 |
| | |||||
* | Update active call status when call is answered | Johan Hedberg | 2008-10-02 | 1 | -1/+2 |
| | |||||
* | Add some debug prints for the connected/disconnected callbacks | Johan Hedberg | 2008-10-02 | 1 | -0/+2 |
| | |||||
* | Make the features bits reflect what's actually supported currently | Johan Hedberg | 2008-10-02 | 1 | -1/+3 |
| | |||||
* | Remove unnecessary empty line | Johan Hedberg | 2008-10-02 | 1 | -1/+0 |
| |