Commit Graph

199 Commits

Author SHA1 Message Date
Claudio Takahasi
1f4fd0b880 Fake input: added uinput send key/event 2007-02-26 17:45:51 +00:00
Claudio Takahasi
e67c250c80 Fake input: fixed get_class 2007-02-26 15:53:47 +00:00
Claudio Takahasi
15b4716767 Fake input: Added function to decode keys 2007-02-26 15:38:33 +00:00
Claudio Takahasi
22021d175f Fake input: added watch for RFCOMM IO channel 2007-02-26 15:05:03 +00:00
Claudio Takahasi
14f36096be Fake input: added uinput create function 2007-02-23 20:58:43 +00:00
Claudio Takahasi
6130f3819a Fake input: added rfcomm connect callback function 2007-02-23 20:11:08 +00:00
Claudio Takahasi
57e21703e2 Fake input: added rfcomm_connect 2007-02-23 19:04:43 +00:00
Claudio Takahasi
c436cfee30 Fake input: added initial skeleton for Connect method 2007-02-23 18:45:54 +00:00
Claudio Takahasi
e977c52ef2 Fake input: missing input device fake struct free 2007-02-23 18:26:47 +00:00
Claudio Takahasi
2957490728 Fake input: added function to create the D-Bus fake input path 2007-02-23 18:22:03 +00:00
Claudio Takahasi
0f08988e53 Code cleanup: removing deep indentation and added error messages 2007-02-23 13:44:11 +00:00
Claudio Takahasi
a83064cf50 Don't hide errors returned by hcid 2007-02-22 21:13:54 +00:00
Claudio Takahasi
45bbf75895 Fake input: added headset record parsing 2007-02-22 21:03:27 +00:00
Claudio Takahasi
86fa3713b1 Fake input: added code to request the headset service record 2007-02-22 20:12:27 +00:00
Claudio Takahasi
c90bdcc8c0 Fake input: added initial code for headset support 2007-02-22 18:45:59 +00:00
Claudio Takahasi
928217b1ac Return NotSupported error if the remote device doesn't support the required services(compliant to audio daemon) 2007-02-13 17:51:09 +00:00
Marcel Holtmann
6a56059543 Rename input-service.[ch] into device.[ch] 2007-01-28 18:06:45 +00:00
Claudio Takahasi
f84e31fac1 Close the control and interrupt sockets after call ioctl HIDPCONNADD 2007-01-26 16:21:47 +00:00
Claudio Takahasi
10cdcaa9bc Check if the HCI_LM_ENCRYPT is already active 2007-01-26 15:02:48 +00:00
Claudio Takahasi
5d6c22d60f Code standard(variables names): replaced sba to src and dba to dst 2007-01-26 14:19:07 +00:00
Marcel Holtmann
5753e415a5 Add encryption support 2007-01-26 09:53:30 +00:00
Claudio Takahasi
aa6e167ce4 Code cleanup 2007-01-25 18:08:37 +00:00
Claudio Takahasi
97e3051ec5 set_nonblocking: removed err argument 2007-01-25 17:27:52 +00:00
Marcel Holtmann
1f1bd7f99b Initialize subpath with '\0' 2007-01-25 15:13:45 +00:00
Marcel Holtmann
24aaa3c382 Small cleanup 2007-01-25 15:06:06 +00:00
Claudio Takahasi
8462276d52 Code cleanup 2007-01-25 14:44:06 +00:00
Marcel Holtmann
8362c93efb No #ifdef magic for local file includes 2007-01-25 14:38:38 +00:00
Claudio Takahasi
d0dc2769f9 Moved HID store related functions to a new file 2007-01-25 14:25:07 +00:00
Claudio Takahasi
d8dc9633f5 Code cleanup(missing static modifier) 2007-01-24 22:02:06 +00:00
Claudio Takahasi
0e1bf96370 Set the default idle timeout to 30 sec 2007-01-24 20:17:08 +00:00
Claudio Takahasi
a0aeaf15ca Moved set_nonblocking to common/dbus.c 2007-01-24 19:47:56 +00:00
Claudio Takahasi
3ff37c8650 Added GetVendorId 2007-01-24 19:03:36 +00:00
Claudio Takahasi
b40a22456a Added GetProductId 2007-01-24 19:00:49 +00:00
Claudio Takahasi
ffe5dd5b56 Added IsConnected 2007-01-24 18:47:11 +00:00
Claudio Takahasi
ccf0880203 Check if the input is already connected when "Connect" is requested 2007-01-24 17:44:58 +00:00
Claudio Takahasi
818548335c Device unplug method removed: RemoveDevice is going to address this functionality 2007-01-24 17:26:44 +00:00
Claudio Takahasi
7bd6035a57 Delete the stored HID info when removing the input device 2007-01-24 17:22:15 +00:00
Claudio Takahasi
e232c19d04 Store the default adapter Bluetooth address to use it when creating/removing devices 2007-01-24 17:17:48 +00:00
Marcel Holtmann
b992c01c50 Add errors when server setup fails 2007-01-24 15:43:06 +00:00
Marcel Holtmann
e1ebd6405a Back to the database interface 2007-01-24 14:19:55 +00:00
Claudio Takahasi
e0e5d97ac3 Disconnect(if applied) when removing the device 2007-01-24 14:14:36 +00:00
Claudio Takahasi
e5e024113e Added function to store HID info 2007-01-24 13:21:51 +00:00
Marcel Holtmann
96a229f169 Service registration is done via the manager interface 2007-01-24 10:11:11 +00:00
Marcel Holtmann
398f681448 Add support for service debugging 2007-01-24 05:45:11 +00:00
Claudio Takahasi
bf9a016885 Added HID unplug method 2007-01-23 22:02:47 +00:00
Claudio Takahasi
5f80c51858 Removed GIOChannel memory leak 2007-01-23 20:34:55 +00:00
Claudio Takahasi
49cc58fa6f Workaround to use the default local adapter 2007-01-23 20:04:55 +00:00
Claudio Takahasi
7fee6d805c Fixed wrong pending connection unref 2007-01-23 19:01:57 +00:00
Claudio Takahasi
6ff980e40b Added input disconnect 2007-01-23 19:00:39 +00:00
Claudio Takahasi
64b9c9c1a2 Code cleanup: missing HID control socket close and fixed code standard 2007-01-23 17:48:40 +00:00
Claudio Takahasi
706b8b6df5 Added L2CAP HID interrupt channel connect callback 2007-01-23 17:29:52 +00:00
Claudio Takahasi
86ac7d9186 Added L2CAP HID control channel connect callback 2007-01-23 16:45:29 +00:00
Claudio Takahasi
4ddff0e350 Connect: Added initial functionality 2007-01-23 13:53:49 +00:00
Marcel Holtmann
77a277e667 Make echo and input service configurable 2007-01-23 07:18:07 +00:00
Marcel Holtmann
93c24ae06c Hand incoming HID sessions over to the kernel 2007-01-23 05:31:49 +00:00
Claudio Takahasi
5869694c6f Added GetName 2007-01-22 20:36:05 +00:00
Claudio Takahasi
339f5da8b6 Added GetAddress 2007-01-22 20:32:35 +00:00
Claudio Takahasi
a00358121e Register well known(stored) inputs when the daemon starts 2007-01-22 20:21:10 +00:00
Claudio Takahasi
58c5351058 Removed mem leak(input paths) 2007-01-22 14:59:35 +00:00
Claudio Takahasi
3bb4d3dea5 Added function to retrive the stored HID data 2007-01-22 14:48:00 +00:00
Claudio Takahasi
1f07bf88cf CreateDevice: minor code standard changes 2007-01-22 14:05:09 +00:00
Claudio Takahasi
e248da53cf Added DeviceRemove method 2007-01-22 13:58:53 +00:00
Marcel Holtmann
90d8e71b0f Re-activate getting the default adapter 2007-01-22 03:23:32 +00:00
Claudio Takahasi
512e954ad4 Created function to register the input device D-Bus path and send the DeviceCreated signal 2007-01-22 00:05:47 +00:00
Marcel Holtmann
65ce50f3ae Include server.h header file 2007-01-22 00:00:50 +00:00
Marcel Holtmann
72217a2993 Add skeleton for server handling 2007-01-21 23:23:19 +00:00
Claudio Takahasi
ea16654e9f Fixed input device D-Bus path creation error 2007-01-21 22:34:10 +00:00
Marcel Holtmann
0d7b614648 Don't request default adapter 2007-01-21 21:20:08 +00:00
Marcel Holtmann
3067733e2e Do a proper cleanup on exit 2007-01-21 21:16:23 +00:00
Claudio Takahasi
72d07f466c Added function to parse the HID and PnP record 2007-01-21 21:08:54 +00:00
Claudio Takahasi
01c923cbee Added function to create the input device D-Bus path 2007-01-20 21:47:30 +00:00
Marcel Holtmann
e9cc32a5d3 Add service description file 2007-01-20 15:06:03 +00:00
Marcel Holtmann
818744abec Don't use a D-Bus well known name at the moment 2007-01-20 14:30:42 +00:00
Marcel Holtmann
8cc5595d90 Make it possible to support an embedded GLib 2007-01-20 05:26:15 +00:00
Marcel Holtmann
884cfe825d Don't install services that are in experimental state 2007-01-20 02:36:57 +00:00
Marcel Holtmann
e36b830e0b Don't become a daemon 2007-01-19 22:11:39 +00:00
Marcel Holtmann
23875e5b1b Rename service and install it 2007-01-19 21:40:33 +00:00
Claudio Takahasi
b820ab01df Added function to request the HID record 2007-01-19 21:12:49 +00:00
Marcel Holtmann
4f2bc2345b Rename daemon 2007-01-19 21:04:35 +00:00
Claudio Takahasi
2f8c48d485 Added function to request PnP service record 2007-01-19 20:58:42 +00:00
Claudio Takahasi
e989bd9c02 Added function to search HID handle 2007-01-19 19:49:47 +00:00
Claudio Takahasi
ed95fffdbb Added function to search PnP handle 2007-01-19 18:31:11 +00:00
Claudio Takahasi
4f411bad65 Retrieve the default local adapter 2007-01-19 17:14:41 +00:00
Claudio Takahasi
87113c3bda CreateDevice: initial skeleton 2007-01-19 16:07:37 +00:00
Marcel Holtmann
d3d68f09fa Return the path on device creation 2007-01-18 21:54:03 +00:00
Marcel Holtmann
fb0189533b Small clenaup to the API definitions 2007-01-18 21:43:08 +00:00
Claudio Takahasi
fd8be9d63d fixed minor code standard issue 2007-01-18 17:30:54 +00:00
Claudio Takahasi
b7781d4cbc Removed forward declaration and fixed code standard. 2007-01-18 17:10:29 +00:00
Claudio Takahasi
d1ae2b4841 Added ListDevices 2007-01-18 17:02:50 +00:00
Claudio Takahasi
c6cd1ad500 Added unregister code for input manager path 2007-01-18 14:28:18 +00:00
Claudio Takahasi
8a7d174304 Added methods skeleton 2007-01-18 13:42:11 +00:00
Marcel Holtmann
c97480f11b Allow compilation against GLib 2007-01-12 00:37:42 +00:00
Johan Hedberg
e95363393f Call Register asynchronously 2006-11-13 17:51:56 +00:00
Marcel Holtmann
a409375989 Establish well known name for input service 2006-11-13 16:18:20 +00:00
Johan Hedberg
bb83060114 Preparation for the Input interface implementation 2006-11-13 15:15:00 +00:00
Johan Hedberg
8512236a40 code cleanup/fixes 2006-11-13 11:51:55 +00:00
Marcel Holtmann
40e3342c52 Add D-Bus name setup to common function 2006-11-13 07:58:40 +00:00
Johan Hedberg
3eb0a5cd95 Initial service skeleton for bt.inputd 2006-11-11 23:14:14 +00:00
Marcel Holtmann
c761480865 Add skeletons for service implementations 2006-10-27 14:46:36 +00:00