Thread (24 messages) 24 messages, 5 authors, 2010-09-18

Re: [RFC] BlueZ D-Bus Sim Access Profile Server API description

From: Suraj Sumangala <hidden>
Date: 2010-09-13 11:31:47

Hi Johan,

On 9/13/2010 4:29 PM, Johan Hedberg wrote:
Hi Suraj,

On Mon, Sep 13, 2010, Suraj Sumangala wrote:
quoted
+		void Response(string command, string result, object response)
This method should be removed. Instead, you should use the methor return
messages for the commands to relay the response information.
Ok,

Should we have the method like,
	struct RequestATR(string command, variant param)
	
	where, struct = { string, array{uint8} )
quoted
+Sim Access Server Agent hierarchy
+=================================
+
+Service         unique name
+Interface       org.bluez.SAPServerAgent
+Object path     freely definable
+
+Methods		Request(string command, object param)
Since the set of SAP commands is fixed and rather short it'd be much
simpler if you have a separate D-Bus method for each command
(particularly from the method and method return signature perspective).
You also seem to have some confusion about what an "object" type
parameter is. It seems you're using it for some sort of variant type
when it will only ever represent a simple object path.
Thanks, My mistake. I was referring to a variant type there.
Johan
Regards
Suraj
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help