我一直试图了解 Analytics and Telemetry WG 中给出的示例代码的目的。
我能够运行示例应用程序而没有任何错误。但是,我没有看到正在使用任何分析。sample_service 的输出如下:
AllJoyn Library version: v14.12.000.
AllJoyn Library build info: AllJoyn Library v14.12.000 (Built Mon Mar 16 10:55:04 UTC 2015 by tcs - Git: alljoyn branch: '(detached from v14.12-rc1)' tag: 'v14.12-rc1' (+0 changes) commit ref: 0d71b216bb3a3cadc615c3eda6f8200093c5e117).
up and running
Accepting join session request from :ogb1Tlqe.3 (opts.proximity=ff, opts.traffic=1, opts.transports=ff7f).
Session Joined SessionId = 2474780947
RequestCredentials for authenticating peer name :ogb1Tlqe.3 using mechanism ALLJOYN_ECDHE_PSK authCount 0
Authentication Complete ALLJOYN_ECDHE_PSK successful
* Hostname was NOT found in DNS cache
* Trying 127.0.0.1...
* Connected to localhost (127.0.0.1) port 80 (#0)
> POST /xampp HTTP/1.1
Host: localhost
Accept: */*
Content-type: application/x-protobuf
Content-Length: 226
* upload completely sent off: 226 out of 226 bytes
< HTTP/1.1 301 Moved Permanently
< Date: Fri, 27 Mar 2015 06:17:20 GMT
* Server Apache/2.4.10 (Unix) OpenSSL/1.0.1j PHP/5.6.3 mod_perl/2.0.8-dev Perl/v5.16.3 is not blacklisted
< Server: Apache/2.4.10 (Unix) OpenSSL/1.0.1j PHP/5.6.3 mod_perl/2.0.8-dev Perl/v5.16.3
< Location: http://localhost/xampp/
< Content-Length: 231
< Content-Type: text/html; charset=iso-8859-1
<
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>301 Moved Permanently</title>
</head><body>
<h1>Moved Permanently</h1>
<p>The document has moved <a href="http://localhost/xampp/">here</a>.</p>
</body></html>
* Connection #0 to host localhost left intact
而 sample_client 是:
> AllJoyn Library version: v14.12.000. AllJoyn Library build info:
> AllJoyn Library v14.12.000 (Built Mon Mar 16 10:55:04 UTC 2015 by tcs
> - Git: alljoyn branch: '(detached from v14.12-rc1)' tag: 'v14.12-rc1' (+0 changes) commit ref: 0d71b216bb3a3cadc615c3eda6f8200093c5e117).
> Waited 0 seconds for JoinSession completion. JoinSession SUCCESS
> (Session id=-1820186349). RequestCredentials for authenticating peer
> name :ogb1Tlqe.2 using mechanism ALLJOYN_ECDHE_PSK authCount 0
> Authentication Complete ALLJOYN_ECDHE_PSK successful SetVendorData
> success SetDeviceData success SubmitEvent success SubmitEvent success
> SubmitEvent success RequestDelivery success
Git 回购:https ://git.allseenalliance.org/cgit/analytics-telemetry/analytics.git/
请帮助我理解这个程序打算做什么。