diff options
| author | Claudio Takahasi <claudio.takahasi@openbossa.org> | 2006-11-08 18:28:52 +0000 | 
|---|---|---|
| committer | Claudio Takahasi <claudio.takahasi@openbossa.org> | 2006-11-08 18:28:52 +0000 | 
| commit | 6bf68118fef86f78d7e8450ea43de45a73a33921 (patch) | |
| tree | 2a413131f172e13a482bc89fc641bbc92dcf73e9 | |
| parent | ee8c7e7f6d6ad14e111ca15d5df1a385563cd1b6 (diff) | |
Fixed binary service record
| -rw-r--r-- | hcid/service-agent.c | 26 | 
1 files changed, 13 insertions, 13 deletions
| diff --git a/hcid/service-agent.c b/hcid/service-agent.c index 9f8744dd..a7e3a870 100644 --- a/hcid/service-agent.c +++ b/hcid/service-agent.c @@ -186,19 +186,19 @@ static int add_record(DBusConnection *conn, const char *service_path)  	DBusMessageIter iter, array_iter;  	DBusError err;  	unsigned char record[] = { -			0x35, 0x61, 0x09, 0x00, 0x00, 0x0a, 0x00, 0x01, -			0x00, 0x00, 0x09, 0x00, 0x01, 0x35, 0x03, 0x19, -			0x11, 0x01, 0x09, 0x00, 0x04, 0x35, 0x0c, 0x35, -			0x03, 0x19, 0x01, 0x00, 0x35, 0x05, 0x19, 0x00, -			0x03, 0x08, 0x17, 0x09, 0x00, 0x05, 0x35, 0x03, -			0x19, 0x10, 0x02, 0x09, 0x00, 0x06, 0x35, 0x09, -			0x09, 0x65, 0x6e, 0x09, 0x00, 0x6a, 0x09, 0x01, -			0x00, 0x09, 0x00, 0x09, 0x35, 0x08, 0x35, 0x06, -			0x19, 0x11, 0x01, 0x09, 0x01, 0x00, 0x09, 0x01, -			0x00, 0x25, 0x0b, 0x53, 0x65, 0x72, 0x69, 0x61, -			0x6c, 0x20, 0x50, 0x6f, 0x72, 0x74, 0x09, 0x01, -			0x01, 0x25, 0x08, 0x43, 0x4f, 0x4d, 0x20, 0x50, -			0x6f, 0x72, 0x74 }; +			0x35, 0x59, 0x09, 0x00, 0x01, 0x35, 0x03, 0x19, +	  		0x11, 0x01, 0x09, 0x00, 0x04, 0x35, 0x0c, 0x35, +	 		0x03, 0x19, 0x01, 0x00, 0x35, 0x05, 0x19, 0x00, +	  		0x03, 0x08, 0x01, 0x09, 0x00, 0x05, 0x35, 0x03, +	  		0x19, 0x10, 0x02, 0x09, 0x00, 0x06, 0x35, 0x09, +	  		0x09, 0x65, 0x6e, 0x09, 0x00, 0x6a, 0x09, 0x01, +	  		0x00, 0x09, 0x00, 0x09, 0x35, 0x08, 0x35, 0x06, +	 		0x19, 0x11, 0x01, 0x09, 0x01, 0x00, 0x09, 0x01, +	  		0x00, 0x25, 0x0b, 0x53, 0x65, 0x72, 0x69, 0x61, +	  		0x6c, 0x20, 0x50, 0x6f, 0x72, 0x74, 0x09, 0x01, +	  		0x01, 0x25, 0x08, 0x43, 0x4f, 0x4d, 0x20, 0x50, +	  		0x6f, 0x72, 0x74 }; +  	int i;  	msg = dbus_message_new_method_call("org.bluez", "/org/bluez", | 
