Commits

Commit Message Author Age Changes
92ec1686 tools: Get rid of gint Use plain int instead of gint. In glib gint is always a typedef to int, so it's safe to use it even for callbacks with glib. Lucas De Marchi 12 years ago 1 file, +26, -26
78a51a09 core: Get rid of gint Use plain int instead of gint. In glib gint is always a typedef to int, so it's safe to use it even for callbacks with glib. Lucas De Marchi 12 years ago 9 files, +19, -19
de7e3aaa thermometer: Get rid of gint Use plain int instead of gint. In glib gint is always a typedef to int, so it's safe to use it even for callbacks with glib. Lucas De Marchi 12 years ago 1 file, +3, -3
2c07233a scanparam: Get rid of gint Use plain int instead of gint. In glib gint is always a typedef to int, so it's safe to use it even for callbacks with glib. Lucas De Marchi 12 years ago 1 file, +1, -1
f81021d0 input: Get rid of gint Use plain int instead of gint. In glib gint is always a typedef to int, so it's safe to use it even for callbacks with glib. Lucas De Marchi 12 years ago 2 files, +2, -2
f73959c6 heartrate: Get rid of gint Use plain int instead of gint. In glib gint is always a typedef to int, so it's safe to use it even for callbacks with glib. Lucas De Marchi 12 years ago 1 file, +3, -3
83a0806c health: Get rid of gint Use plain int instead of gint. In glib gint is always a typedef to int, so it's safe to use it even for callbacks with glib. Lucas De Marchi 12 years ago 4 files, +14, -14
2f458bfe gatt: Get rid of gint Use plain int instead of gint. In glib gint is always a typedef to int, so it's safe to use it even for callbacks with glib. Lucas De Marchi 12 years ago 1 file, +1, -1
20bacbd7 deviceinfo: Get rid of gint Use plain int instead of gint. In glib gint is always a typedef to int, so it's safe to use it even for callbacks with glib. Lucas De Marchi 12 years ago 1 file, +1, -1
ca87bc12 cyclingspeed: Get rid of gint Use plain int instead of gint. In glib gint is always a typedef to int, so it's safe to use it even for callbacks with glib. Lucas De Marchi 12 years ago 1 file, +3, -3
ad72eb58 audio: Get rid of gint Use plain int instead of gint. In glib gint is always a typedef to int, so it's safe to use it even for callbacks with glib. Lucas De Marchi 12 years ago 1 file, +1, -1
6f4bdbef plugins: Get rid of gint Use plain int instead of gint. In glib gint is always a typedef to int, so it's safe to use it even for callbacks with glib. Lucas De Marchi 12 years ago 1 file, +1, -1
65878a78 obexd: Get rid of gint Use plain int instead of gint. In glib gint is always a typedef to int, so it's safe to use it even for callbacks with glib. Lucas De Marchi 12 years ago 7 files, +14, -14
c1e4e183 gobex: Get rid of gint Use plain int instead of gint. In glib gint is always a typedef to int, so it's safe to use it even for callbacks with glib. Lucas De Marchi 12 years ago 2 files, +8, -8
45abbe7b attrib: Get rid of gint Use plain int instead of gint. In glib gint is always a typedef to int, so it's safe to use it even for callbacks with glib. Lucas De Marchi 12 years ago 3 files, +5, -5
890fac29 emulator: Remove unneeded btdev_set_bdaddr function Johan Hedberg 12 years ago 2 files, +0, -9
cc11bc19 lib: Fix list of company identifiers Fix minor typos on company names. Anderson Lizardo 12 years ago 1 file, +17, -17
4c54ceba shared: Remove static address assignment in hciemu If we need multiple virtual devices, addresses should not be the same. Inside the function btdev_create, a specific address is generated. Jefferson Delfes 12 years ago 1 file, +1, -9
0e5a333c shared: Return real address of master dev in hciemu Exports master btdev address in hciemu. Jefferson Delfes 12 years ago 1 file, +9, -2
b895b60d emulator: Add getter function for device address in btdev This helper function returns bdaddr field from btdev. Jefferson Delfes 12 years ago 2 files, +6, -0
1ba6ec3f attrib-server: Fix btd_device_get_storage_path failure handling Johan Hedberg 12 years ago 1 file, +14, -2
a06299a2 proximity: Fix btd_device_get_storage_path failure handling Johan Hedberg 12 years ago 1 file, +8, -0
e6ed482e gatt: Fix btd_device_get_storage_path failure handling Johan Hedberg 12 years ago 1 file, +8, -0
eb9bc1dc alert: Fix btd_device_get_storage_path failure handling Johan Hedberg 12 years ago 1 file, +4, -0
20785255 core: Refuse storage for private addressed devices Johan Hedberg 12 years ago 1 file, +6, -0
d56685d0 core: Fix storing info for private addressed devices Devices with private addresses cannot persistently be identified by their address. Therefore it doesn't make sense to store any information about them as the information couldn't be looked up later once the remote address has changed. Once the kernel receives support for private address resolution we'll start getting the public address of such devices to user space. However, until then we just have to ignore such devices from a storage perspective. Johan Hedberg 12 years ago 5 files, +80, -41
18d68b37 core: Remove useless attrib server confirm callback Johan Hedberg 12 years ago 1 file, +4, -16
10620c1c profile: Use btd_service for connect/disconnect Change the btd_profile connect/disconnect callbacks to receive a btd_service pointer. This should make it possible to handle multiple instances of the same profile in a specific device. The patch strongly influences how the profiles should interact with the core. The state transitions, previously reported using the device.h API (device_profile_connected() and device_profile_disconnected()), have now been replaced by the btd_service API. The transitions will then be propagated to device.c by means of the conventional state-changed callback mechanism. Mikel Astiz 12 years ago 19 files, +108, -289
32a4ce94 service: Add callbacks to track state changes Extend the btd_service API to support state observers. Mikel Astiz 12 years ago 2 files, +56, -0
a5c85eab service: Add error-code btd_service The error-code represents the result of a connection/disconnection procedure and can be useful when a state transition is detected. Mikel Astiz 12 years ago 2 files, +8, -0
8b58d5f8 tools: Fix parsing of PlayItem pdu in hcidump Luiz Augusto von Dentz 12 years ago 1 file, +1, -1
902ac11a monitor: Fix ATT Read By Type Response minimum length Johan Hedberg 12 years ago 1 file, +1, -1
916e1c3c input: Hold a reference to btd_service Profile implementations are allowed to hold a reference to probed services and make use of the service's userdata pointer, so update the input profiles accordingly. Mikel Astiz 12 years ago 1 file, +6, -5
920a0074 control: Bypass manager for connect state changes Move the code to propagate the AVRCP->core state changes from manager.c to control.c. Mikel Astiz 12 years ago 5 files, +45, -32
c751b09e audio: Hold a reference to btd_service Profile implementations are allowed to hold a reference to probed services, so update the audio profiles accordingly. Mikel Astiz 12 years ago 7 files, +49, -17
76ba5e2e network: Hold a reference to btd_service Profile implementations are allowed to hold a reference to probed services and make use of the service's userdata pointer, so update the network profiles accordingly. Mikel Astiz 12 years ago 1 file, +7, -5
d010757d core: Add user_data to btd_service Profile implementations can benefit from a user_data associated to a service, which will typically be set during probe. Mikel Astiz 12 years ago 2 files, +14, -0
b338b804 network: Add trivial helper function Simplify the code and make it more readable by adding a trivial helper function. Mikel Astiz 12 years ago 1 file, +7, -4
d6254b41 profile: Use btd_service for probing profiles Change the profile probe mechanism in order to pass the btd_service instance representing the remote service. This object is bound to a btd_profile and a btd_device, thus replacing the previous parameters. The probe callback is allowed to hold a reference to the btd_service by means of btd_service_ref(), which should be unreferenced during removal. Keeping such a reference of the btd_service allows supporting multiple instances of the same UUID, since the reference can serve as a handle during the interactions between the profile implementation and the core. Mikel Astiz 12 years ago 22 files, +115, -62
26663550 device: Replace pending profile list with services Use btd_service pointers to represent the list of services pending for connection. This list doesn't reference count the btd_service instances, since the pending services should be a subset of the available services, and thus they should already be referenced by device->services. This means special care must be taken to make sure any removed service is also removed from the pending list, as addressed in remove_service(). Mikel Astiz 12 years ago 1 file, +18, -20
6e564a3d device: Find services instead of profiles Trivially replace the former find_connectable_profile() with find_connectable_service(). Mikel Astiz 12 years ago 1 file, +7, -11
f2b3b447 device: Replace connected_profiles with btd_service The service state can provide enough information not to maintain such a connected_profiles list. Therefore, avoid duplicated information and remove the list. Mikel Astiz 12 years ago 1 file, +33, -29
22de25eb core: Add a state enum to btd_service Add a state to btd_service in order to distinguish which operations are allowed in a certain point in time. Mikel Astiz 12 years ago 2 files, +119, -1
e5ee0d80 core: Add connect/disconnect API to btd_service Make use of the btd_profile connect/disconnect callbacks directly within service.c instead of doing it inside device.c. Mikel Astiz 12 years ago 3 files, +68, -15
7b18e336 core: Add probe API to btd_service Make use of the btd_profile callbacks directly within service.c instead of doing it inside device.c. Mikel Astiz 12 years ago 3 files, +28, -14
a870ebe3 device: Use btd_service to represent profiles Maintain a list of btd_service pointers instead of btd_profile pointers, for services that have been probed for this device. This list will not only reference count the btd_service instances but also "own" them, in the sense of destroying them (make them completely unavailable) when the service is removed from the list. This is needed because the btd_service does not reference count the btd_device instance. Mikel Astiz 12 years ago 1 file, +54, -23
b5c33980 core: Add btd_service to represent device services Add a new object to centralize all data corresponding to a service provided by a remote device, coupling a pair of btd_profile and btd_device pointers. Mikel Astiz 12 years ago 3 files, +140, -0
4d35439d network: Bypass manager during probe/remove Use the internal device API to provide the btd_profile callback functions, without boilerplate code in manager.c. Mikel Astiz 12 years ago 3 files, +16, -39
c0376eb8 input: Remove useless forward declarations Johan Hedberg 12 years ago 1 file, +36, -40
d45be20a input: Bypass manager during probe/remove Use the internal device API to provide the btd_profile callback functions, without boilerplate code in manager.c. Mikel Astiz 12 years ago 3 files, +20, -45
Previous Next