Commit Graph

267 Commits

Author SHA1 Message Date
Johan Hedberg
8231df5273 Plug minor memory leak 2007-08-23 09:06:05 +00:00
Johan Hedberg
780fdf762e Rename SetSerialParams to SetSerialParameters 2007-08-23 08:29:21 +00:00
Johan Hedberg
a3dcbd3ab5 Add Port.GetDevice method
Rename 'name' dict key to 'device
2007-08-23 08:25:46 +00:00
Claudio Takahasi
26c787542c serial: added proxy for unix sockets 2007-08-22 15:01:52 +00:00
Claudio Takahasi
1f42e9d933 serial: proxy cleanup - it is not necessary apply the TTY settings at proxy registration 2007-08-17 14:21:32 +00:00
Claudio Takahasi
bcd8170e93 serial: added Proxy.SetSerialParams 2007-08-16 22:00:50 +00:00
Marcel Holtmann
193d3073f6 Small header cleanup 2007-08-16 18:06:18 +00:00
Claudio Takahasi
09e64106eb serial: proxy service record - fixed memory leak 2007-08-16 17:25:25 +00:00
Claudio Takahasi
768cffb8e0 serial: proxy - use uuid128 string instead of uuid_t 2007-08-16 16:50:11 +00:00
Claudio Takahasi
60bef734ae serial: fixed TTY settings control on proxy creation and daemon startup 2007-08-16 15:04:29 +00:00
Claudio Takahasi
7f0afa058e serial: RemoveProxy - remove the entry from the storage 2007-08-16 13:15:46 +00:00
Claudio Takahasi
57c2796d82 serial: proxy storage parsing - fixed Bluetooth source address 2007-08-16 13:10:42 +00:00
Claudio Takahasi
fb2bb3f2dc serial: only use automatic assigned channels when it is not provided by the user 2007-08-15 20:51:30 +00:00
Claudio Takahasi
97650b3f81 serial: fixed missing ProxyCreated signal for stored proxies 2007-08-15 20:33:34 +00:00
Claudio Takahasi
6fae334c9c serial: added parsing function for stored proxies 2007-08-15 20:27:20 +00:00
Claudio Takahasi
773651ca6b serial: proxy_store - replaced tty by uuid 2007-08-15 20:23:01 +00:00
Claudio Takahasi
74e5259eb0 serial: restore the initial TTY configuration when the proxy is unregistered 2007-08-15 14:02:10 +00:00
Claudio Takahasi
b8769c4814 serial: initial proxy storage implementation 2007-08-15 13:16:41 +00:00
Claudio Takahasi
e98f93aa5b serial: close the rfcomm/tty sockets and unreg the record when the proxy is removed 2007-08-14 16:51:31 +00:00
Claudio Takahasi
d7815ff6ee serial: fixed ListPorts - proxies paths should not be included 2007-08-14 14:55:32 +00:00
Claudio Takahasi
e375ab2250 serial: added proxy GetInfo implementation 2007-08-13 19:07:02 +00:00
Claudio Takahasi
d9b79bb83a serial: handle already enabled error for Proxy.Enable and not enabled error for Proxy.Disable 2007-08-13 18:06:48 +00:00
Claudio Takahasi
7a085c5eeb serial: added Proxy.Disable implementation 2007-08-13 17:35:15 +00:00
Claudio Takahasi
6d48df3906 serial: proxy - accept incomming connections and forward data 2007-08-13 17:15:51 +00:00
Claudio Takahasi
b42813af87 serial: added add_proxy_record implementation 2007-08-13 14:56:14 +00:00
Claudio Takahasi
88d221eba9 serial: added create_proxy_record implementation 2007-08-13 14:28:30 +00:00
Claudio Takahasi
807ba1a5ce serial: added proxy rfcomm_listen implementation 2007-08-13 13:52:41 +00:00
Claudio Takahasi
62f6b0087d serial: Proxy.Enable initial implementation 2007-08-10 20:47:16 +00:00
Claudio Takahasi
609a9e3c78 serial: RemoveProxy implementation 2007-08-10 20:18:21 +00:00
Claudio Takahasi
ef00bdddbc serial: ListProxies implementation 2007-08-10 19:55:44 +00:00
Claudio Takahasi
71d64082d4 serial: added proxy registration function 2007-08-10 19:49:57 +00:00
Claudio Takahasi
89d79b500b serial: CreateProxy - added arguments validation and CreateProxy signal emission 2007-08-10 19:01:52 +00:00
Claudio Takahasi
3d9624ac15 serial: added new error - AlreadyExists 2007-08-10 18:50:13 +00:00
Claudio Takahasi
152ee1375c serial: Added CreateProxy, ListProxies and RemoveProxy skeleton 2007-08-10 18:34:52 +00:00
Claudio Takahasi
d195a1ef06 serial-api: added serial port proxy 2007-08-10 18:10:26 +00:00
Claudio Takahasi
a74aceecae serial: missing close the RFCOMM socket 2007-05-25 20:18:11 +00:00
Claudio Takahasi
99fe5d4bd6 serial API: missing ConnectionCanceled error 2007-05-24 21:51:22 +00:00
Claudio Takahasi
c7449f91c8 serial: timeout leak removed, open_context struct removed 2007-05-24 21:38:06 +00:00
Claudio Takahasi
ac3d15d1a3 serial: release the node when device open fails 2007-05-24 20:21:16 +00:00
Claudio Takahasi
d69525e2de serial: Failed error is not returned by DisconnectService 2007-05-24 17:09:37 +00:00
Claudio Takahasi
683ab9d328 serial: release node called twice 2007-05-24 17:08:19 +00:00
Claudio Takahasi
7e0db39d85 serial: close the file descriptor before release the RFCOMM device 2007-05-24 13:17:00 +00:00
Johan Hedberg
dcc91e3ea4 add name listener support 2007-05-24 09:06:21 +00:00
Claudio Takahasi
dc2fadfce2 serial: removed unused error(NotAuthorized) 2007-05-19 02:19:57 +00:00
Claudio Takahasi
bb4707cb8c serial API: updated port path and possible errors 2007-05-19 02:19:14 +00:00
Claudio Takahasi
9b0bd8e682 serial: removed PortCreated signal when the daemon starts 2007-05-18 21:35:09 +00:00
Claudio Takahasi
bd94212baf serial: minor code cleanup 2007-05-18 21:27:11 +00:00
Claudio Takahasi
3ef17a4e93 serial: removed dev_id from GetInfo 2007-05-18 20:57:09 +00:00
Claudio Takahasi
e9e6822e7e serial: send PortRemoved signal for RemovePort calls only 2007-05-18 20:50:32 +00:00
Claudio Takahasi
68f208cc3b serial: code standard - use int16_t for dev_id 2007-05-18 20:39:10 +00:00
Claudio Takahasi
aab0210d3c serial: remove the entry from the persistent storage when RemovePort is called 2007-05-18 19:19:49 +00:00
Claudio Takahasi
d421185c6b serial: eglib build was broken 2007-05-18 16:00:34 +00:00
Claudio Takahasi
f7544168a7 serial: keep port_open static since Connect will not be implemented 2007-05-18 15:16:21 +00:00
Claudio Takahasi
d0b45fbc21 serial: removed unused function(port_get_owner) 2007-05-18 14:58:00 +00:00
Claudio Takahasi
09e2446227 serial: removed Connected/Disconnected and added GetInfo 2007-05-18 14:49:45 +00:00
Claudio Takahasi
098b83ac08 serial API: removed Connect/Disconnect and added GetInfo 2007-05-18 14:23:01 +00:00
Claudio Takahasi
b418fa69a7 serial: zero is a valid node id, missing node release. 2007-05-18 14:00:30 +00:00
Claudio Takahasi
0b9f4f5015 serial: added function to register/bind stored ports 2007-05-18 13:44:10 +00:00
Claudio Takahasi
2180c8458b serial: added port persistent storage 2007-05-18 12:20:15 +00:00
Claudio Takahasi
b779724baa serial: enabled RFCOMM_HANGUP_NOW bit when releasing the node 2007-05-17 19:47:07 +00:00
Claudio Takahasi
2fbfb83dae serial: added port GetAddress 2007-05-17 19:37:49 +00:00
Claudio Takahasi
01cb453b85 serial: added RemovePort and bonded node list 2007-05-17 19:08:16 +00:00
Claudio Takahasi
23a6e61e8c serial: fixed DisconnectService and added port_remove_listener 2007-05-17 18:09:14 +00:00
Claudio Takahasi
8bd6348b59 serial: release the node when the daemon exits 2007-05-17 16:51:30 +00:00
Claudio Takahasi
1dc1880aa3 serial: added ListPorts 2007-05-17 16:16:06 +00:00
Claudio Takahasi
3a3580f78f serial: Removed PortCreated signal when calling ConnectService 2007-05-17 13:12:05 +00:00
Claudio Takahasi
5caf7e18f9 serial: moving functions to port.c and added port methods declaration 2007-05-16 21:04:12 +00:00
Claudio Takahasi
2ebe2befb5 serial: Added CreatePort, ListPorts and RemovePort declaration 2007-05-15 17:07:22 +00:00
Claudio Takahasi
ceeb274a3b serial: moving error functions to error.c 2007-05-15 16:59:41 +00:00
Marcel Holtmann
e5d465b5ad Add new file skeletons 2007-05-15 14:15:52 +00:00
Claudio Takahasi
daea1f31fa serial: added G_IO_NVAL flag to fix potential busy loop 2007-05-14 21:05:45 +00:00
Claudio Takahasi
f32fbc4028 serial API: added experimental tag for "Port" methods 2007-05-10 16:52:34 +00:00
Claudio Takahasi
e26377ac2d serial: fixed returned error value for DisconnectService 2007-05-10 13:37:51 +00:00
Claudio Takahasi
8ee70afdca serial API: updated possible errors 2007-05-10 13:23:32 +00:00
Marcel Holtmann
07958fc361 Update API descriptions 2007-05-10 08:45:28 +00:00
Claudio Takahasi
d997f19122 serial: handle connection refused error and others SO_ERROR properly 2007-05-09 22:38:56 +00:00
Claudio Takahasi
c7ff83efff serial: handle socket errors properly - timeout waiting linkkey or other errors can happen 2007-05-09 21:28:22 +00:00
Claudio Takahasi
9e824dd2ce serial: handle the pending connects list properly when connect() in the first try happens 2007-05-09 19:33:49 +00:00
Claudio Takahasi
1dd87340fa serial: let the kernel handle device busy 2007-05-09 19:14:12 +00:00
Claudio Takahasi
a7fb39b7fe serial: using dbus_connection_emit_signal 2007-05-09 17:37:24 +00:00
Claudio Takahasi
366b8792a7 serial: service record leak and small pending connect fix 2007-05-09 17:07:48 +00:00
Johan Hedberg
98d1e9d7b3 Convert to using generic dbus message dispatching 2007-05-09 15:01:49 +00:00
Claudio Takahasi
f0f6c6e235 serial: added CancelConnectService 2007-05-09 14:02:11 +00:00
Claudio Takahasi
6f6bdcb3ae serial: missing free the pending_connects list and small code cleanup 2007-05-09 13:09:06 +00:00
Marcel Holtmann
3789ae5c5c Update serial API documentation 2007-05-09 12:22:27 +00:00
Claudio Takahasi
d57f86fa59 serial: added verification for pending connects 2007-05-09 12:15:39 +00:00
Marcel Holtmann
1bd19f3b62 Update serial service test script 2007-05-09 10:14:05 +00:00
Claudio Takahasi
2349a0b07a serial: small code cleanup 2007-05-08 21:51:08 +00:00
Claudio Takahasi
2580e81792 serial: added disconnect service 2007-05-08 21:22:12 +00:00
Claudio Takahasi
49cf828b67 serial: added friendly service name support for ConnectService 2007-05-08 20:30:09 +00:00
Claudio Takahasi
bbd9569c25 serial: added ServiceConnected/ServiceDisconnected signals 2007-05-08 18:36:29 +00:00
Marcel Holtmann
0416abb5d6 Make port hierarchy as experimental 2007-05-08 18:05:52 +00:00
Marcel Holtmann
c80c810165 Update API description 2007-05-08 17:59:19 +00:00
Claudio Takahasi
c4c2b3b842 serial: added name listener 2007-05-08 15:06:43 +00:00
Marcel Holtmann
fcba5ddbba Add service test scripts 2007-05-08 14:08:54 +00:00
Marcel Holtmann
331abb4c83 Allow configuration of serial service 2007-05-08 12:52:54 +00:00
Claudio Takahasi
5d9f545ef5 serial: added rfcomm_connect 2007-05-08 11:30:35 +00:00
Claudio Takahasi
fa6159b9a4 serial: added code to extract the channel 2007-05-07 20:30:15 +00:00
Claudio Takahasi
6b1cc18f00 serial: added get_record 2007-05-07 19:20:20 +00:00
Claudio Takahasi
4a653936cf serial: added get_handles and pending_connection struct 2007-05-07 19:06:44 +00:00
Claudio Takahasi
7026c4f01e serial: get the default adapter address 2007-05-07 18:08:13 +00:00
Claudio Takahasi
500a7637d7 serial: fixed record handle and channel values validation 2007-05-07 18:00:05 +00:00
Claudio Takahasi
71da6f84e4 serial: added pattern validation for ConnectService 2007-05-07 17:20:57 +00:00
Claudio Takahasi
a13e1f4616 serial: service refactory - Added skeleton 2007-05-07 14:27:51 +00:00
Claudio Takahasi
d8cd184883 serial: free port_paths and unregister the D-Bus path when the daemon exits 2007-05-01 19:13:39 +00:00
Claudio Takahasi
9aaae3b234 serial: added PortRemoved signal 2007-05-01 19:07:49 +00:00
Claudio Takahasi
3c15718664 serial: Added initial API description 2007-05-01 18:07:12 +00:00
Claudio Takahasi
f05b9d3834 serial: Added ListPorts 2007-05-01 17:36:54 +00:00
Claudio Takahasi
66570ffe00 serial: added PortCreated signal 2007-05-01 16:55:37 +00:00
Claudio Takahasi
d9b667c2ca serial: added RemovePort 2007-05-01 16:35:58 +00:00
Claudio Takahasi
701245f097 serial: added port methods skeleton 2007-05-01 13:56:28 +00:00
Claudio Takahasi
7c21f8711c serial: added manager methods skeleton 2007-05-01 11:50:48 +00:00
Claudio Takahasi
cdb1b7c343 serial: added main loop integration 2007-05-01 11:23:55 +00:00
Marcel Holtmann
712a661993 Add API description file 2007-04-23 17:16:10 +00:00
Marcel Holtmann
6dc594dbea Add skeleton for manager interface 2007-04-23 17:12:00 +00:00
Marcel Holtmann
e6fe40e5e9 Add skeleton for serial port service 2007-02-26 00:15:27 +00:00
Marcel Holtmann
be94d76f25 Add serial subdirectory 2007-01-20 01:25:50 +00:00