文件名称:btstack

  • 所属分类:
  • Linux驱动
  • 资源属性:
  • [Matlab] [源码]
  • 上传时间:
  • 2014-03-23
  • 文件大小:
  • 232kb
  • 下载次数:
  • 0次
  • 提 供 者:
  • z**
  • 相关连接:
  • 下载说明:
  • 别用迅雷下载,失败请重下,重下不扣分!

介绍说明--下载内容均来自于网络,请自行研究使用

蓝牙协议栈btstack的源码,用于iphone的开发。



在XCODE 4.6 /MAC OS LION 10.7.3 上编译btstack步骤:



btstack的官网上的介绍各种不靠谱,按照上面的说法根本无法编译成功。



注意:XCODE要和其他APP放在一起,路径为/Applications/Xcode.app。不可省事放在桌面上。



1、下载btstack

svn checkout http://btstack.googlecode.com/svn/trunk/ btstack



2、编译生成iphone上的静态库libBTstack.a和动态库libBTstack.dylib



cd btstack

./bootstrap.sh



修改configure.in文件,找到这几行,改成如下这样

[Specify toolchain path])], DEVELOPER_PATH=$withval, DEVELOPER_PATH= /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer )

AC_ARG_WITH(sdk-version, [AS_HELP_STRING([--with-sdk-version=6.1], [Specify SDK version])], SDK_VERS

-Btstack Bluetooth protocol stack source code for iphone development. In XCODE 4.6/MAC OS LION 10.7.3 compile btstack step: the official online presentation btstack various tricky, simply can not compile successfully in accordance with the above statement. Note: XCODE and other APP to put together, the path is/Applications/Xcode.app. Can not save on your desktop. 1, download btstack svn checkout http://btstack.googlecode.com/svn/trunk/ btstack 2, compiled on libBTstack.a iphone static library and dynamic library libBTstack.dylib cd btstack./Bootstrap.sh modify configure.in file, find these lines, so read as follows [Specify toolchain path])], DEVELOPER_PATH = $ withval, DEVELOPER_PATH = ' / Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer' ) AC_ARG_WITH (sdk-version, [AS_HELP_STRING ([- with-sdk-version = 6.1], [Specify SDK version])], SDK_VERS
(系统自动生成,下载前可以参看下载内容)

下载文件列表





btstack\addCopyright.sh

.......\bootstrap.sh

.......\.ttest\bttest\bttest\AppDelegate.h

.......\......\......\......\AppDelegate.m

.......\......\......\......\bttest-Info.plist

.......\......\......\......\bttest-Prefix.pch

.......\......\......\......\Default-568h@2x.png

.......\......\......\......\Default.png

.......\......\......\......\Default@2x.png

.......\......\......\......\devicemanager.c

.......\......\......\......\devicemanager.h

.......\......\......\......\en.lproj\InfoPlist.strings

.......\......\......\......\........\MainStoryboard.storyboard

.......\......\......\......\main.m

.......\......\......\......\ViewController.h

.......\......\......\......\ViewController.m

.......\......\.......xcodeproj\project.pbxproj

.......\......\................\........xcworkspace\contents.xcworkspacedata

.......\......\................\...................\xcuserdata\zhouziwei.xcuserdatad\UserInterfaceState.xcuserstate

.......\......\................\...................\..........\.....................\xcdebugger\Expressions.xcexplist

.......\......\................\xcuserdata\zhouziwei.xcuserdatad\xcdebugger\Breakpoints.xcbkptlist

.......\......\................\..........\.....................\..schemes\bttest.xcscheme

.......\......\................\..........\.....................\.........\xcschememanagement.plist

.......\config-iphone.h

.......\config-iphone.sh

.......\config.guess

.......\config.h

.......\config.sub

.......\configure.in

.......\include\btstack\ant_cmds.h

.......\.......\.......\btstack.h

.......\.......\.......\hal_cpu.h

.......\.......\.......\hal_tick.h

.......\.......\.......\hal_uart_dma.h

.......\.......\.......\hci_cmds.h

.......\.......\.......\linked_list.h

.......\.......\.......\memory_pool.h

.......\.......\.......\run_loop.h

.......\.......\.......\sdp_util.h

.......\.......\.......\utils.h

.......\ltmain.sh

.......\Makefile.am

.......\Makefile.iphone

.......\package.sh

.......\src\btstack.c

.......\...\btstack_memory.c

.......\...\btstack_memory.h

.......\...\btstack_memory_generator.py

.......\...\bt_control.h

.......\...\bt_control_iphone.h

.......\...\bt_control_iphone.m

.......\...\daemon.c

.......\...\debug.h

.......\...\get_version.sh

.......\...\hci.c

.......\...\hci.h

.......\...\hci_cmds.c

.......\...\hci_dump.c

.......\...\hci_dump.h

.......\...\hci_transport.h

.......\...\hci_transport_h4.c

.......\...\hci_transport_h4_dma.c

.......\...\hci_transport_h4_ehcill_dma.c

.......\...\hci_transport_h4_iphone.c

.......\...\hci_transport_h5.c

.......\...\hci_transport_usb.c

.......\...\l2cap.c

.......\...\l2cap.h

.......\...\l2cap_signaling.c

.......\...\l2cap_signaling.h

.......\...\linked_list.c

.......\...\Makefile.am.disabled

.......\...\Makefile.in

.......\...\Makefile.in.bak

.......\...\Makefile.iphone

.......\...\memory_pool.c

.......\...\platform_iphone.h

.......\...\platform_iphone.m

.......\...\remote_device_db.h

.......\...\remote_device_db_iphone.m

.......\...\remote_device_db_memory.c

.......\...\rfcomm.c

.......\...\rfcomm.h

.......\...\run_loop.c

.......\...\run_loop_cocoa.m

.......\...\run_loop_embedded.c

.......\...\run_loop_posix.c

.......\...\run_loop_private.h

.......\...\sdp.c

.......\...\sdp.h

.......\...\sdp_client.c

.......\...\sdp_client.h

.......\...\sdp_parser.c

.......\...\sdp_parser.h

.......\...\sdp_query_rfcomm.c

.......\...\sdp_query_rfcomm.h

.......\...\sdp_util.c

.......\...\socket_connection.c

.......\...\socket_connection.h

.......\...\utils.c

相关说明

  • 本站资源为会员上传分享交流与学习,如有侵犯您的权益,请联系我们删除.
  • 本站是交换下载平台,提供交流渠道,下载内容来自于网络,除下载问题外,其它问题请自行百度更多...
  • 请直接用浏览器下载本站内容,不要使用迅雷之类的下载软件,用WinRAR最新版进行解压.
  • 如果您发现内容无法下载,请稍后再次尝试;或者到消费记录里找到下载记录反馈给我们.
  • 下载后发现下载的内容跟说明不相乎,请到消费记录里找到下载记录反馈给我们,经确认后退回积分.
  • 如下载前有疑问,可以通过点击"提供者"的名字,查看对方的联系方式,联系对方咨询.

相关评论

暂无评论内容.

发表评论

*主  题:
*内  容:
*验 证 码:

源码中国 www.ymcn.org