首页
学习
活动
专区
圈层
工具
发布
首页
学习
活动
专区
圈层
工具
MCP广场
社区首页 >问答首页 >Alljoyn工作组中的分析和遥测示例代码的用途是什么?

Alljoyn工作组中的分析和遥测示例代码的用途是什么?
EN

Stack Overflow用户
提问于 2015-03-27 14:23:48
回答 1查看 102关注 0票数 1

我一直在尝试理解分析和遥测工作组中给出的示例代码的目的。

我能够运行示例应用程序而不会出现任何错误。然而,我没有看到任何分析被使用。sample_service的输出如下:

代码语言:javascript
运行
复制
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的版本是:

代码语言:javascript
运行
复制
> 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/

请帮助我理解这个程序的目的。

EN

Stack Overflow用户

发布于 2016-01-04 22:21:37

这个问题已经在mailing list上得到了回答。

AllJoyn AnalyticsEventAgent界面旨在将分析数据从IoT设备记录到分析云服务。示例代码包括示例客户端和服务。服务代码使用协议缓冲区将数据发布到云。

票数 1
EN
查看全部 1 条回答
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/29294528

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档