首页 星云 工具 资源 星选 资讯 热门工具
:

PDF转图片 完全免费 小红书视频下载 无水印 抖音视频下载 无水印 数字星空

iOS MFI认证代码及文档

物联网 3.15MB 64 需要积分: 1
立即下载

资源介绍:

最新iOS MFI认证流程文档说明及代码,代码是在iOS端实现的,但流程完整,按照流程可以轻松移入firmware端,希望可以帮到你。 zip文件中包含: - MFI授权认证流程.pptx - USB ATS Cable Connection.png (苹果ATS及USB分析仪连线图) - MFIAuthentication 工程,详细认证流程代码见 MFIFlow文件夹 - 苹果 iAP2 Sample Source R1.zip
/* * File: README.txt * Package: iAP2Link * Abstract: n/a * * Disclaimer: IMPORTANT: This Apple software is supplied to you, by Apple * Inc. ("Apple"), in your capacity as a current, and in good standing, * Licensee in the MFi Licensing Program. Use of this Apple software is * governed by and subject to the terms and conditions of your MFi License, * including, but not limited to, the restrictions specified in the provision * entitled “Public Software”, and is further subject to your agreement to * the following additional terms, and your agreement that the use, * installation, modification or redistribution of this Apple software * constitutes acceptance of these additional terms. If you do not agree with * these additional terms, please do not use, install, modify or redistribute * this Apple software. * * In consideration of your agreement to abide by the following terms, and * subject to these terms, Apple grants you a personal, non-exclusive * license, under Apple's copyrights in this original Apple software (the * "Apple Software"), to use, reproduce, and modify the Apple Software in * source form, and to use, reproduce, modify, and redistribute the Apple * Software, with or without modifications, in binary form. While you may not * redistribute the Apple Software in source form, should you redistribute * the Apple Software in binary form, in its entirety and without * modifications, you must retain this notice and the following text and * disclaimers in all such redistributions of the Apple Software. Neither the * name, trademarks, service marks, or logos of Apple Inc. may be used to * endorse or promote products derived from the Apple Software without * specific prior written permission from Apple. Except as expressly stated * in this notice, no other rights or licenses, express or implied, are * granted by Apple herein, including but not limited to any patent rights * that may be infringed by your derivative works or by other works in which * the Apple Software may be incorporated. * * The Apple Software is provided by Apple on an "AS IS" basis. APPLE MAKES * NO WARRANTIES, EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION THE * IMPLIED WARRANTIES OF NON-INFRINGEMENT, MERCHANTABILITY AND FITNESS FOR A * PARTICULAR PURPOSE, REGARDING THE APPLE SOFTWARE OR ITS USE AND OPERATION * ALONE OR IN COMBINATION WITH YOUR PRODUCTS. * * IN NO EVENT SHALL APPLE BE LIABLE FOR ANY SPECIAL, INDIRECT, INCIDENTAL OR * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS * INTERRUPTION) ARISING IN ANY WAY OUT OF THE USE, REPRODUCTION, * MODIFICATION AND/OR DISTRIBUTION OF THE APPLE SOFTWARE, HOWEVER CAUSED AND * WHETHER UNDER THEORY OF CONTRACT, TORT (INCLUDING NEGLIGENCE), STRICT * LIABILITY OR OTHERWISE, EVEN IF APPLE HAS BEEN ADVISED OF THE POSSIBILITY * OF SUCH DAMAGE. * * Copyright (C) 2013 Apple Inc. All Rights Reserved. * */ Introduction ============ The iAP2Link package is a reference implementation of the iAP2 link as documented in the MFi Accessory Interface Specification. The following source files are part of this package: README.txt iAP2LinkConfig_sample.h iAP2Link/ iAP2Link.c iAP2Link.h iAP2LinkPrivate.h iAP2LinkAccessory.c iAP2LinkRunLoop.c iAP2LinkRunLoop.h iAP2Packet.c iAP2Packet.h iAP2FileTransfer.c iAP2FileTransfer.h iAP2Utility/ iAP2BuffPool.c iAP2BuffPool.h iAP2BuffPoolImplementation.h iAP2Defines.h iAP2FSM.c iAP2FSM.h iAP2ListArray.c iAP2ListArray.h iAP2Log.h iAP2Misc.h iAP2Time.h iAP2UtilityImplementation/ iAP2BuffPoolImplementation.c iAP2Log.c iAP2Time.c iAP2TimeImplementation.h iAP2LinkConfig.h ---------------- This file must be provided by the accessory developer and configures the iAP2 link. A typical configuration is provided in iAP2LinkConfig_sample.h. iAP2Link -------- This folder contains the core iAP2 link implementation. iAP2Packet.h, iAP2Link.h, and iAP2LinkRunLoop.h describe the higher-level interfaces. See the comments in those files for information on usage. iAP2FileTransfer.c and iAP2FileTransfer.h provide an example implementation of an iAP2 File Transfer session. See iAP2FileTransfer.h for information on usage. Reference code contained in this folder is designed to be used as is and modifications are strongly discouraged. The only exception is iAP2Runloop.h. Developers may need to provide implementations for the following functions (depending on actual usage): iAP2LinkRunLoopInitImplementation iAP2LinkRunLoopCleanupImplementation iAP2LinkRunLoopProtectedCall iAP2LinkRunLoopWait iAP2LinkRunLoopSignal iAP2Utility ----------- This folder contains utility function implementations used by iAP2Link. Some files implement abstractions for hardware dependencies such as timers and memory management. The .h files are designed to be used as is and modifications are strongly discouraged. The .c files may be modified or used as is. iAP2UtilityImplementation ------------------------- This folder contains hardware-dependent implementation samples for certain functions used by iAP2Utility. The files in this folder must be modified to match the target hardware platform. Specifically, iAP2TimeImplementation.h is not a complete timer implementation and must be modified before use. Usage Notes =========== Other than the functions that need to be implemented, the following functions defined in iAP2Packet.h, iAP2Link.h, and iAP2LinkRunLoop.h are used to make use of the iAP2 link protocol reference implementation. iAP2PacketCreateEmptyRecvPacket iAP2PacketParseBuffer iAP2PacketIsComplete iAP2PacketCreateEmptySendPacket iAP2PacketGenerateBuffer iAP2PacketGetBuffer iAP2PacketDelete iAP2LinkRunLoopCreateAccessory iAP2LinkRunLoopRunOnce iAP2LinkRunLoopAttached iAP2LinkRunLoopDetached iAP2LinkRunLoopHandleReadyPacket iAP2LinkRunLoopQueueSendData iAP2LinkQueueSendData iAP2LinkQueueSendDataPacket Device/Accessory Attach/Detach ------------------------------ On attach to Device, call: iAP2LinkRunLoopAttached On detach from Device, call: iAP2LinkRunLoopDetached Inbound iAP2 traffic -------------------- The accessory should perform the following on incoming iAP2 traffic: 1) Create iAP2Packet by calling iAP2PacketCreateEmptyRecvPacket 2) Parse the incoming data by calling iAP2PacketParseBuffer (pass in data buffer and iAP2Packet structure) 3) Check if a full iAP2Packet has been parsed by calling iAP2PacketIsComplete 4) If a complete iAP2Packet has not been parsed, go to (2) 5) Pass the complete iAP2Packet to the link layer by calling iAP2LinkRunLoopHandleReadyPacket Outbound iAP2 traffic --------------------- The accessory should perform the following on outgoing iAP2 traffic: 1a) Create a data buffer containing the session data, or 1b) Create iAP2Packet by calling iAP2PacketCreateEmptySendPacket and fill the payload with session data. 2a) Call iAP2LinkRunLoopQueueSendData or iAP2LinkQueueSendData with a session data buffer, or 2b) Call iAP2LinkQueueSendDataPacket with iAP2Packet send packet with a payload containing session data. Once the packet is sent out successfully and has been ACK'd, iAP2PacketDelete will be called by iAP2Link. Notes ----- iAP2LinkRunLoopRunOnce should be called on every iteration of the accessory firmware's main run loop. Most link layer operations are handled by iAP2Link within iAP2LinkRunLoopRunOnce. Processing of iAP2 session data should be performed as quickly as possible; any lengthy handling should be spread over multiple run loop cycles or performed in a separate processing thread. This especially applies

资源文件列表:

iOS MFI认证代码及文档.zip 大约有88个文件
  1. iAP2 Sample Source R1.zip 144.73KB
  2. iAP2 Sample Source R1/
  3. iAP2 Sample Source R1/iAP2Link/
  4. iAP2 Sample Source R1/iAP2Link/iAP2FileTransfer.c 50.07KB
  5. iAP2 Sample Source R1/iAP2Link/iAP2FileTransfer.h 18.6KB
  6. iAP2 Sample Source R1/iAP2Link/iAP2Link.c 130.34KB
  7. iAP2 Sample Source R1/iAP2Link/iAP2Link.h 33.36KB
  8. iAP2 Sample Source R1/iAP2Link/iAP2LinkAccessory.c 40.1KB
  9. iAP2 Sample Source R1/iAP2Link/iAP2LinkPrivate.h 10.54KB
  10. iAP2 Sample Source R1/iAP2Link/iAP2LinkRunLoop.c 23.65KB
  11. iAP2 Sample Source R1/iAP2Link/iAP2LinkRunLoop.h 23.98KB
  12. iAP2 Sample Source R1/iAP2Link/iAP2Packet.c 69.63KB
  13. iAP2 Sample Source R1/iAP2Link/iAP2Packet.h 35.25KB
  14. iAP2 Sample Source R1/iAP2LinkConfig.h 3.8KB
  15. iAP2 Sample Source R1/iAP2Utility/
  16. iAP2 Sample Source R1/iAP2Utility/iAP2BuffPool.c 9.7KB
  17. iAP2 Sample Source R1/iAP2Utility/iAP2BuffPool.h 6.83KB
  18. iAP2 Sample Source R1/iAP2Utility/iAP2BuffPoolImplementation.h 13.14KB
  19. iAP2 Sample Source R1/iAP2Utility/iAP2Defines.h 3.16KB
  20. iAP2 Sample Source R1/iAP2Utility/iAP2FSM.c 9.62KB
  21. iAP2 Sample Source R1/iAP2Utility/iAP2FSM.h 7.83KB
  22. iAP2 Sample Source R1/iAP2Utility/iAP2ListArray.c 23.66KB
  23. iAP2 Sample Source R1/iAP2Utility/iAP2ListArray.h 15.46KB
  24. iAP2 Sample Source R1/iAP2Utility/iAP2Log.h 17.4KB
  25. iAP2 Sample Source R1/iAP2Utility/iAP2Misc.h 4.93KB
  26. iAP2 Sample Source R1/iAP2Utility/iAP2Time.h 11.58KB
  27. iAP2 Sample Source R1/iAP2UtilityImplementation/
  28. iAP2 Sample Source R1/iAP2UtilityImplementation/iAP2BuffPoolImplementation.c 9.44KB
  29. iAP2 Sample Source R1/iAP2UtilityImplementation/iAP2Log.c 27.7KB
  30. iAP2 Sample Source R1/iAP2UtilityImplementation/iAP2Time.c 18.71KB
  31. iAP2 Sample Source R1/iAP2UtilityImplementation/iAP2TimeImplementation.c 650B
  32. iAP2 Sample Source R1/iAP2UtilityImplementation/iAP2TimeImplementation.h 6.58KB
  33. iAP2 Sample Source R1/README.txt 7.95KB
  34. MFIAuthentication/
  35. MFIAuthentication/MFIAuthentication.xcodeproj/
  36. MFIAuthentication/MFIAuthentication.xcodeproj/project.pbxproj 15.14KB
  37. MFIAuthentication/MFIAuthentication.xcodeproj/project.xcworkspace/
  38. MFIAuthentication/MFIAuthentication.xcodeproj/project.xcworkspace/contents.xcworkspacedata 274B
  39. MFIAuthentication/MFIAuthentication.xcodeproj/project.xcworkspace/xcuserdata/
  40. MFIAuthentication/MFIAuthentication.xcodeproj/project.xcworkspace/xcuserdata/BluestarLynn.xcuserdatad/
  41. MFIAuthentication/MFIAuthentication.xcodeproj/project.xcworkspace/xcuserdata/BluestarLynn.xcuserdatad/UserInterfaceState.xcuserstate 26.2KB
  42. MFIAuthentication/MFIAuthentication.xcodeproj/project.xcworkspace/xcuserdata/EvanXie.xcuserdatad/
  43. MFIAuthentication/MFIAuthentication.xcodeproj/project.xcworkspace/xcuserdata/EvanXie.xcuserdatad/UserInterfaceState.xcuserstate 149.61KB
  44. MFIAuthentication/MFIAuthentication.xcodeproj/project.xcworkspace/xcuserdata/Linhua.xcuserdatad/
  45. MFIAuthentication/MFIAuthentication.xcodeproj/project.xcworkspace/xcuserdata/Linhua.xcuserdatad/UserInterfaceState.xcuserstate 13.55KB
  46. MFIAuthentication/MFIAuthentication.xcodeproj/xcuserdata/
  47. MFIAuthentication/MFIAuthentication.xcodeproj/xcuserdata/BluestarLynn.xcuserdatad/
  48. MFIAuthentication/MFIAuthentication.xcodeproj/xcuserdata/BluestarLynn.xcuserdatad/xcschemes/
  49. MFIAuthentication/MFIAuthentication.xcodeproj/xcuserdata/BluestarLynn.xcuserdatad/xcschemes/MFIAuthentication.xcscheme 3.37KB
  50. MFIAuthentication/MFIAuthentication.xcodeproj/xcuserdata/BluestarLynn.xcuserdatad/xcschemes/xcschememanagement.plist 489B
  51. MFIAuthentication/MFIAuthentication.xcodeproj/xcuserdata/EvanXie.xcuserdatad/
  52. MFIAuthentication/MFIAuthentication.xcodeproj/xcuserdata/EvanXie.xcuserdatad/xcdebugger/
  53. MFIAuthentication/MFIAuthentication.xcodeproj/xcuserdata/EvanXie.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist 7.66KB
  54. MFIAuthentication/MFIAuthentication.xcodeproj/xcuserdata/EvanXie.xcuserdatad/xcschemes/
  55. MFIAuthentication/MFIAuthentication.xcodeproj/xcuserdata/EvanXie.xcuserdatad/xcschemes/iAP2Implemetation.xcscheme 3.33KB
  56. MFIAuthentication/MFIAuthentication.xcodeproj/xcuserdata/EvanXie.xcuserdatad/xcschemes/xcschememanagement.plist 489B
  57. MFIAuthentication/MFIAuthentication.xcodeproj/xcuserdata/Linhua.xcuserdatad/
  58. MFIAuthentication/MFIAuthentication.xcodeproj/xcuserdata/Linhua.xcuserdatad/xcdebugger/
  59. MFIAuthentication/MFIAuthentication.xcodeproj/xcuserdata/Linhua.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist 91B
  60. MFIAuthentication/MFIAuthentication.xcodeproj/xcuserdata/Linhua.xcuserdatad/xcschemes/
  61. MFIAuthentication/MFIAuthentication.xcodeproj/xcuserdata/Linhua.xcuserdatad/xcschemes/iAP2Implemetation.xcscheme 3.33KB
  62. MFIAuthentication/MFIAuthentication.xcodeproj/xcuserdata/Linhua.xcuserdatad/xcschemes/xcschememanagement.plist 489B
  63. MFIAuthentication/MFIAuthentication/
  64. MFIAuthentication/MFIAuthentication/iAP2Core/
  65. MFIAuthentication/MFIAuthentication/iAP2Core/iAP2Defines.h 3.13KB
  66. MFIAuthentication/MFIAuthentication/iAP2Core/iAP2Link/
  67. MFIAuthentication/MFIAuthentication/iAP2Core/iAP2Link/iAP2Link.c 23.36KB
  68. MFIAuthentication/MFIAuthentication/iAP2Core/iAP2Link/iAP2Link.h 10.84KB
  69. MFIAuthentication/MFIAuthentication/iAP2Core/iAP2Link/iAP2LinkPrivate.h 4.4KB
  70. MFIAuthentication/MFIAuthentication/iAP2Core/iAP2Link/iAP2Packet.c 47.95KB
  71. MFIAuthentication/MFIAuthentication/iAP2Core/iAP2Link/iAP2Packet.h 30.4KB
  72. MFIAuthentication/MFIAuthentication/IO/
  73. MFIAuthentication/MFIAuthentication/IO/IOImplementation.c 1.25KB
  74. MFIAuthentication/MFIAuthentication/IO/IOImplementation.h 858B
  75. MFIAuthentication/MFIAuthentication/main.c 720B
  76. MFIAuthentication/MFIAuthentication/MFIFlow/
  77. MFIAuthentication/MFIAuthentication/MFIFlow/MFIAuthentication.c 11.32KB
  78. MFIAuthentication/MFIAuthentication/MFIFlow/MFIAuthentication.h 1.18KB
  79. MFIAuthentication/MFIAuthentication/MFIFlow/MFIGlobal.c 1.21KB
  80. MFIAuthentication/MFIAuthentication/MFIFlow/MFIGlobal.h 1020B
  81. MFIAuthentication/MFIAuthentication/MFIFlow/MFIIdentification.c 11.79KB
  82. MFIAuthentication/MFIAuthentication/MFIFlow/MFIIdentification.h 511B
  83. MFIAuthentication/MFIAuthentication/MFIFlow/MFIWorkFlow.c 2.37KB
  84. MFIAuthentication/MFIAuthentication/MFIFlow/MFIWorkFlow.h 741B
  85. MFIAuthentication/MFIAuthentication/MFIFlow/MFIWorkFlowCommands.c 7.43KB
  86. MFIAuthentication/MFIAuthentication/MFIFlow/MFIWorkFlowCommands.h 656B
  87. MFI授权认证流程.pptx 2.3MB
  88. USB ATS Cable Connection.png 634.24KB
0评论
提交 加载更多评论
其他资源 LockCop工具(排查死锁问题)
LockCop工具(排查死锁问题)
包含xss攻击的pdf文件
验证xss攻击的pdf文件
包含xss攻击的pdf文件
Visualizing and Understanding2014-中文译文
dfNet深度卷积网络论文
Visualizing and Understanding2014-中文译文 Visualizing and Understanding2014-中文译文 Visualizing and Understanding2014-中文译文
中文版VC6.0(32&64bit)rjazz.zip
中文版VC6.0(32&64bit)rjazz.zip
家政保洁上门预约小程序
家政行业作为服务行业的一种,如今已然成为很多家庭的刚需,随着市场规模的扩大,目前家政行业越来越需要新的方式适应新一代消费者的需要,近些年来,家政行业在手机上下单、上门服务已经是常态,保洁家政预约服务小程序正是基于这种背景下而开发的,服务家政企业开启网上接单模式,包含用户端,家政员端,管理端三方,能够清晰展现家政服务项目内容和价格,将服务步骤条理化、透明度,让潜在的用户能够足不出门地就掌握到服务信息内容,有益于降低供求间的信息差,本项目前后端完整,包括公告,家政员预约,后台管理,用户管理,预约名单管理,预约记录管理与导出,我的预约,历史浏览,我的收藏等模块,采用腾讯提供的小程序云开发解决方案,无须服务器和域名。
Vue.js devtools-6.6.3
vue.js devtools开发插件,解压缩里面有教程。
14161004_www.3bpp.com_nginx.zip
14161004_www.3bpp.com_nginx.zip
校园矢量化shp文件 图
校园矢量化shp文件