社区
高通开发者论坛
帖子详情
各位高手,关于AllJoyn的近距离wfifP2P通讯技术 好不好开发
aplssljl
2014-01-14 03:10:09
各位高手,关于AllJoyn的近距离wfifP2P通讯技术 好不好开发
或者说需要设计到底层的东西吗,就凭现在4.0提供的API能不能实现,只需要各位给点意见,感激不尽
...全文
1971
2
打赏
收藏
各位高手,关于AllJoyn的近距离wfifP2P通讯技术 好不好开发
各位高手,关于AllJoyn的近距离wfifP2P通讯技术 好不好开发 或者说需要设计到底层的东西吗,就凭现在4.0提供的API能不能实现,只需要各位给点意见,感激不尽
复制链接
扫一扫
分享
转发到动态
举报
AI
作业
写回复
配置赞助广告
用AI写文章
2 条
回复
切换为时间正序
请发表友善的回复…
发表回复
打赏红包
aplssljl
2014-01-14
打赏
举报
回复
05-21 18:22:27.319: D/WifiHW(130): Wifi driver is ready for now. timeout=149 05-21 18:22:27.319: E/SoftapController_rtl(70): SoftapController::stopDriver 05-21 18:22:27.319: D/SoftapController_rtl(70): Softap driver stop: 0 05-21 18:22:27.319: D/SoftapController_rtl(70): Softap fwReload - Ok 05-21 18:22:27.329: D/SoftapController_rtl(70): startDriver 05-21 18:22:27.329: D/RTL8188_WiFiHW10(70): DetectWifiIfNameFromProc: wlan0 05-21 18:22:27.329: D/RTL8188_WiFiHW10(70): DetectWifiIfNameFromProc: wlan0 05-21 18:22:27.329: E/RTL8188_WiFiHW10(70): rtl8188CU change interface wlan0 -> wl0.1, fnum = 0x8bf8 05-21 18:22:27.329: W/Netd(70): No subsystem found in netlink event 05-21 18:22:27.329: D/NetlinkEvent(70): Unexpected netlink message. type=0x11 05-21 18:22:27.349: D/SoftapController_rtl(70): Softap driver start: 0 05-21 18:22:27.359: D/Tethering(130): sendTetherStateChangedBroadcast 1, 0, 0 05-21 18:22:27.359: D/Tethering(130): InitialState.processMessage what=4 05-21 18:22:27.369: D/Tethering(130): sendTetherStateChangedBroadcast 0, 0, 0 05-21 18:22:27.379: D/RTL8188_WiFiHW10(70): DetectWifiIfNameFromProc: wl0.1 05-21 18:22:27.379: D/RTL8188_WiFiHW10(70): DetectWifiIfNameFromProc: wl0.1 05-21 18:22:27.379: D/SoftapController_rtl(70): Softap set - Ok 05-21 18:22:27.879: D/SoftapController_rtl(70): SoftapController::startSoftap 05-21 18:22:27.879: D/SoftapController_rtl(70): SoftapController::wifi_start_hostapd. started from init.rk29board.rc 05-21 18:22:27.879: D/SoftapController_rtl(70): unlink /data/misc/wifi/hostapd/wl0.1 05-21 18:22:27.879: D/SoftapController_rtl(70): hostapd daemon_cmd = hostapd_rtl 05-21 18:22:27.879: D/SoftapController_rtl(70): hostapd running 1 05-21 18:22:27.879: D/SoftapController_rtl(70): Softap startap - Ok, PID=1 05-21 18:22:28.479: D/NetworkManagementService(130): rsp <213 00:13:ef:60:31:20 0.0.0.0 0 [up broadcast running multicast]> 05-21 18:22:28.489: D/CommandListener(70): Setting iface cfg 05-21 18:22:28.489: D/CommandListener(70): Trying to bring up wl0.1 05-21 18:22:28.489: D/Tethering(130): Tethering wl0.1 05-21 18:22:28.489: E/Tethering(130): Tried to Tether an unknown iface :wl0.1, ignoring 05-21 18:22:28.489: E/WifiStateMachine(130): Error tethering on wl0.1 05-21 18:22:28.489: D/NetworkManagementService(130): flags <[up broadcast running multicast]> 05-21 18:22:28.529: D/Tethering(130): sendTetherStateChangedBroadcast 1, 0, 0 05-21 18:22:28.539: D/NetworkManagementService(130): rsp <213 00:13:ef:60:31:20 192.168.43.1 24 [up broadcast running multicast]> 05-21 18:22:28.549: D/CommandListener(70): Setting iface cfg 05-21 18:22:28.549: D/CommandListener(70): Trying to bring up wl0.1 05-21 18:22:28.549: D/Tethering(130): Tethering wl0.1 05-21 18:22:28.549: D/Tethering(130): InitialState.processMessage what=2 05-21 18:22:28.549: D/Tethering(130): sendTetherStateChangedBroadcast 0, 0
aplssljl
2014-01-14
打赏
举报
回复
这个点对点技术,是不需要服务器中转的,我现在遇到的问题是,怎么知道对方的地址的,打印出来的logcat设计到底层的东西,所以我很怕,以下是打印出来的logcat 05-21 18:22:07.049: D/[TCP_SERVER](1281): Enter send:65 bytes to send 05-21 18:22:07.049: D/[TCP_SERVER](1281): Enter send:65 bytes to send 05-21 18:22:07.049: D/[TCP_SERVER](1281): (Main Thread)one session is found from sessionIdMap 05-21 18:22:07.049: D/[TCP_SERVER](1281): (Main Thread)To write data : A channel is writable 05-21 18:22:07.049: D/[TCP_SERVER](1281): (Main Thread)one session found for a selection key 05-21 18:22:07.059: D/[TCP_SERVER](1281): (Main Thread) 8 bytes writen to channel 05-21 18:22:07.059: D/[TCP_SERVER](1281): (Main Thread) 71 bytes writen to channel 05-21 18:22:07.059: D/[TCP_SERVER](1281): (Main Thread)all data sent, so set key as OP_READ 05-21 18:22:07.059: D/[TCP_SERVER](1281): (Main Thread)closeSessions 05-21 18:22:07.059: D/[TCP_SERVER](1281): (Main Thread)one session is found from sessionIdMap 05-21 18:22:07.059: D/[TCP_SERVER](1281): Session:#192(16777408) is already closed 05-21 18:22:07.059: D/[TCP_SERVER](1281): (Main Thread)discardDataForSid:16777408 05-21 18:22:07.059: D/[TCP_SERVER](1281): (Main Thread) ready to select 05-21 18:22:07.059: D/[TCP_SERVER](1281): (Main Thread)setWritableOps 05-21 18:22:07.059: D/[TCP_SERVER](1281): (Main Thread)one session is found from sessionIdMap 05-21 18:22:07.059: D/[TCP_SERVER](1281): (Main Thread)one socket set to write opts 05-21 18:22:07.059: D/[TCP_SERVER](1281): (Main Thread)To write data : A channel is writable 05-21 18:22:07.069: D/[TCP_SERVER](1281): (Main Thread)one session found for a selection key 05-21 18:22:07.069: D/[TCP_SERVER](1281): (Main Thread) 8 bytes writen to channel 05-21 18:22:07.069: D/[TCP_SERVER](1281): (Main Thread) 65 bytes writen to channel 05-21 18:22:07.069: D/[TCP_SERVER](1281): (Main Thread)all data sent, so set key as OP_READ 05-21 18:22:07.069: D/[TCP_SERVER](1281): (Main Thread) ready to select 05-21 18:22:07.069: D/[TCP_SERVER](1281): (Main Thread)setWritableOps 05-21 18:22:07.069: E/[TCP_SERVER](1281): (Main Thread)Data Received: A channel is readable 05-21 18:22:07.069: D/[TCP_SERVER](1281): (Main Thread)one session found for a selection key 05-21 18:22:07.069: D/[TCP_SERVER](1281): Session:#193(16777409)enter: readHeader 05-21 18:22:07.069: D/[TCP_SERVER](1281): Session:#193(16777409)tryToRead: -1 bytes read 05-21 18:22:07.069: E/[TCP_SERVER](1281): Session:#193(16777409)ERROR: a tcp session is on error status 05-21 18:22:07.069: W/[TCP_SERVER](1281): Session:#193(16777409)a connection is closed #1 05-21 18:22:07.069: D/[TCP_SERVER](1281): Session:#193(16777409) is closing 05-21 18:22:07.069: D/[TCP_SERVER](1281): Session:#193(16777409) is closed 05-21 18:22:07.069: E/[TCP_SERVER](1281): Session:#193(16777409)@OnError dispatched to uplayer 05-21 18:22:07.069: E/[PMP_SERVER](838): token: E+qWgSjm0F6FBC41's task does not exist 05-21 18:22:07.079: D/[TCP_SERVER](1281): (Main Thread)closeSessions 05-21 18:22:07.079: D/[TCP_SERVER](1281): (Main Thread)one session is found from sessionIdMap 05-21 18:22:07.079: D/[TCP_SERVER](1281): Session:#193(16777409) is already closed 05-21 18:22:07.079: D/[TCP_SERVER](1281): (Main Thread)discardDataForSid:16777409 05-21 18:22:07.079: D/[TCP_SERVER](1281): (Main Thread) ready to select 05-21 18:22:07.079: D/[TCP_SERVER](1281): (Main Thread)setWritableOps 05-21 18:22:07.079: D/dalvikvm(1281): GC_CONCURRENT freed 431K, 17% free 6320K/7559K, paused 1ms+3ms 05-21 18:22:07.079: E/[TCP_SERVER](1281): (Main Thread)Data Received: A channel is readable 05-21 18:22:07.079: D/[TCP_SERVER](1281): (Main Thread)one session found for a selection key 05-21 18:22:07.089: D/[TCP_SERVER](1281): Session:#194(16777410)enter: readHeader 05-21 18:22:07.099: D/[TCP_SERVER](1281): Session:#194(16777410)tryToRead: -1 bytes read 05-21 18:22:07.099: E/[TCP_SERVER](1281): Session:#194(16777410)ERROR: a tcp session is on error status 05-21 18:22:07.099: W/[TCP_SERVER](1281): Session:#194(16777410)a connection is closed #1 05-21 18:22:07.099: D/[TCP_SERVER](1281): Session:#194(16777410) is closing 05-21 18:22:07.099: D/[TCP_SERVER](1281): Session:#194(16777410) is closed 05-21 18:22:07.099: E/[TCP_SERVER](1281): Session:#194(16777410)@OnError dispatched to uplayer 05-21 18:22:07.099: E/[PMP_SERVER](838): token: E+qWgSjm7A15CDAD's task does not exist 05-21 18:22:07.099: D/[TCP_SERVER](1281): (Main Thread)closeSessions 05-21 18:22:07.099: D/[TCP_SERVER](1281): (Main Thread)one session is found from sessionIdMap 05-21 18:22:07.099: D/[TCP_SERVER](1281): Session:#194(16777410) is already closed 05-21 18:22:07.099: D/[TCP_SERVER](1281): (Main Thread)discardDataForSid:16777410 05-21 18:22:07.099: D/[TCP_SERVER](1281): (Main Thread) ready to select 05-21 18:22:07.099: D/[TCP_SERVER](1281): (Main Thread)setWritableOps 05-21 18:22:07.119: D/[TCP_SERVER](1281): (Main Thread) ready to select 05-21 18:22:07.119: D/[TCP_SERVER](1281): (Main Thread)setWritableOps 05-21 18:22:19.919: D/gralloc(1472): unmap_buffer: Successfully unmapped 0x38000 bytes at address 0x5fab0000, SharedFd=56, map_count = 3 05-21 18:22:19.919: D/gralloc(1472): unmap_buffer: Successfully unmapped 0x38000 bytes at address 0x5f86e000, SharedFd=57, map_count = 2 05-21 18:22:19.919: D/gralloc(73): free_buffer: Freeing 0x38000 bytes, mIonFd=22 SharedFd=29 05-21 18:22:19.919: D/gralloc(73): unmap_buffer: Successfully unmapped 0x38000 bytes at address 0x45b43000, SharedFd=29, map_count = 8 05-21 18:22:19.929: I/hwcomposer(73): hwc_prepare(314):Fail back to 3D composition path 05-21 18:22:19.939: D/AudioHardware(76): AudioHardware pcm playback is exiting standby. 05-21 18:22:19.939: D/AudioHardware(76): openPcmOut_l() mPcmOpenCnt: 0 05-21 18:22:19.949: I/hwcomposer(73): hwc_prepare(314):Fail back to 3D composition path 05-21 18:22:19.959: I/hwcomposer(73): hwc_prepare(314):Fail back to 3D composition path 05-21 18:22:19.969: W/InputManagerService(130): Window already focused, ignoring focus gain of: com.android.internal.view.IInputMethodClient$Stub$Proxy@412cc548 05-21 18:22:19.989: I/hwcomposer(73): hwc_prepare(314):Fail back to 3D composition path 05-21 18:22:19.999: I/hwcomposer(73): hwc_prepare(314):Fail back to 3D composition path 05-21 18:22:20.009: I/hwcomposer(73): hwc_prepare(314):Fail back to 3D composition path 05-21 18:22:20.019: I/hwcomposer(73): hwc_prepare(314):Fail back to 3D composition path 05-21 18:22:20.029: I/hwcomposer(73): hwc_prepare(314):Fail back to 3D composition path 05-21 18:22:20.039: I/hwcomposer(73): hwc_prepare(314):Fail back to 3D composition path 05-21 18:22:20.069: I/hwcomposer(73): hwc_prepare(314):Fail back to 3D composition path 05-21 18:22:20.079: I/hwcomposer(73): hwc_prepare(314):Fail back to 3D composition path 05-21 18:22:20.089: I/hwcomposer(73): hwc_prepare(314):Fail back to 3D composition path 05-21 18:22:20.099: I/hwcomposer(73): hwc_prepare(314):Fail back to 3D composition path 05-21 18:22:20.109: I/hwcomposer(73): hwc_prepare(314):Fail back to 3D composition path 05-21 18:22:20.119: I/hwcomposer(73): hwc_prepare(314):Fail back to 3D composition path 05-21 18:22:20.159: D/gralloc(73): free_buffer: Freeing 0x38000 bytes, mIonFd=22 SharedFd=27 05-21 18:22:20.159: D/gralloc(73): unmap_buffer: Successfully unmapped 0x38000 bytes at address 0x45a3f000, SharedFd=27, map_count = 7 05-21 18:22:20.289: D/dalvikvm(130): GC_CONCURRENT freed 527K, 17% free 8349K/9991K, paused 11ms+23ms 05-21 18:22:21.979: I/ActivityManager(130): START {act=android.settings.WIRELESS_SETTINGS cmp=com.android.settings/.Settings$WirelessSettingsActivity} from pid 1472 05-21 18:22:22.019: D/ConnectivityService(130): onUidRulesChanged(uid=1000, uidRules=0) 05-21 18:22:22.069: W/System.err(556): Removed 2131231159 05-21 18:22:22.069: W/System.err(556): Removed 2131231166 05-21 18:22:22.139: D/gralloc(73): alloc_buffer: Successfully allocated 0x168000 bytes, mIonFd=22, SharedFd=27 05-21 18:22:22.199: D/OpenGLRenderer(1472): Flushing caches (mode 1) 05-21 18:22:22.369: D/dalvikvm(556): GC_CONCURRENT freed 449K, 16% free 6964K/8263K, paused 9ms+10ms 05-21 18:22:22.469: D/gralloc(556): map_buffer: Successfully mapped 0x168000 bytes at address 0x6122d000, SharedFd=110, map_count = 1 05-21 18:22:22.479: I/ActivityManager(130): Displayed com.android.settings/.Settings$WirelessSettingsActivity: +468ms 05-21 18:22:22.499: D/webviewglue(556): nativeDestroy view: 0xd34d60 05-21 18:22:22.539: D/OpenGLRenderer(1472): Flushing caches (mode 0) 05-21 18:22:22.589: D/gralloc(73): alloc_buffer: Successfully allocated 0x168000 bytes, mIonFd=22, SharedFd=29 05-21 18:22:22.599: D/gralloc(1472): unmap_buffer: Successfully unmapped 0x168000 bytes at address 0x5f948000, SharedFd=54, map_count = 1 05-21 18:22:22.599: D/gralloc(556): map_buffer: Successfully mapped 0x168000 bytes at address 0x61795000, SharedFd=111, map_count = 2 05-21 18:22:22.619: D/gralloc(1472): unmap_buffer: Successfully unmapped 0x168000 bytes at address 0x5fc6a000, SharedFd=55, map_count = 0 05-21 18:22:22.619: D/gralloc(73): free_buffer: Freeing 0x168000 bytes, mIonFd=22 SharedFd=25 05-21 18:22:22.619: D/gralloc(73): unmap_buffer: Successfully unmapped 0x168000 bytes at address 0x45f77000, SharedFd=25, map_count = 8 05-21 18:22:22.699: D/gralloc(73): free_buffer: Freeing 0x168000 bytes, mIonFd=22 SharedFd=23 05-21 18:22:22.699: D/gralloc(73): unmap_buffer: Successfully unmapped 0x168000 bytes at address 0x458d7000, SharedFd=23, map_count = 7 05-21 18:22:22.709: D/ConnectivityService(130): onUidRulesChanged(uid=10050, uidRules=0) 05-21 18:22:25.979: D/WifiHW(130): wifi_load_driver: DRIVER_MODULE_PATH = /system/lib/modules/wlan.ko, DRIVER_MODULE_ARG =
高通推出
近距离
P2P
通讯
技术
AllJoyn
高通也推出了
近距离
P2P
通讯
技术
AllJoyn
,两台同样使用
AllJoyn
技术
的设备可以快速实现数据共享。 与此前的一些近场
通讯
技术
相比,
AllJoyn
的突出之处主要有两点。首先是不需要依赖GPS和3G,而是利用蓝牙或Wi-Fi来进行定位和文件传输。
Alljoyn
的sdk下载
Alljoyn
最新api与demo下载、最新sdk
深入解析
AllJoyn
核心软件框架
一个很好的深入解析
AllJoyn
核心软件框架
AllJoyn
15.04 文档手册(html格式)
这是
alljoyn
15.04版的API手册,如果觉得直接下载官方SDK麻烦,可以用这个
中文版 深入解析
AllJoyn
瘦客户端
中文版 深入解析
AllJoyn
瘦客户端,
ALLJoyn
开发
者必看.
高通开发者论坛
5,381
社区成员
5,923
社区内容
发帖
与我相关
我的任务
高通开发者论坛
本论坛以AI、WoS 、XR、IoT、Auto、生成式AI等核心板块组成,为开发者提供便捷及高效的学习和交流平台。 高通开发者专区主页:https://qualcomm.csdn.net/
复制链接
扫一扫
分享
社区描述
本论坛以AI、WoS 、XR、IoT、Auto、生成式AI等核心板块组成,为开发者提供便捷及高效的学习和交流平台。 高通开发者专区主页:https://qualcomm.csdn.net/
人工智能
物联网
机器学习
技术论坛(原bbs)
北京·东城区
社区管理员
加入社区
获取链接或二维码
近7日
近30日
至今
加载中
查看更多榜单
社区公告
暂无公告
试试用AI创作助手写篇文章吧
+ 用AI写文章