资源简介

此资源是用于苹果设备与外围设备通过USB按照流程协议获取认证芯片数据从而授权外设通讯资格。文件问demo code

资源截图

代码片段和文件信息

#include “SMB.h “

#define CP_DEV_ADDR 0x22

static void delay(unsigned long del_time)
{
while(--del_time);
}


void CP_ReadReg(unsigned char RegAddrunsigned char *bufunsigned char Leng)
{
SMB_Send(CP_DEV_ADDR&RegAddr1);
delay(100);   //delay about 1ms
SMB_Get(CP_DEV_ADDRbufLeng);
}

void CP_WriteReg(unsigned char *bufunsigned char Leng)
{
SMB_Send(CP_DEV_ADDRbufLeng);
}

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

     文件      49087  2012-04-27 11:56  iPod_Authentication_V3\Apple

     文件         86  2012-04-27 11:56  iPod_Authentication_V3\Apple.lnp

     文件      57588  2012-04-27 11:56  iPod_Authentication_V3\Apple.M51

     文件       3625  2012-04-27 11:56  iPod_Authentication_V3\Apple.Opt

     文件        488  2012-04-27 11:56  iPod_Authentication_V3\Apple.plg

     文件       2308  2012-04-20 14:24  iPod_Authentication_V3\Apple.Uv2

    .......      3624  2012-04-20 16:34  iPod_Authentication_V3\Apple_Opt.Bak

     文件       2308  2012-04-20 12:23  iPod_Authentication_V3\Apple_Uv2.Bak

     文件      17988  2007-01-20 11:06  iPod_Authentication_V3\c8051F310.h

     文件        408  2012-04-18 17:05  iPod_Authentication_V3\CP_Chip.c

     文件       2127  2012-04-18 16:34  iPod_Authentication_V3\CP_Chip.h

     文件       1468  2012-04-27 11:56  iPod_Authentication_V3\CP_Chip.LST

     文件       2828  2012-04-27 11:56  iPod_Authentication_V3\CP_Chip.OBJ

     文件         19  2012-04-20 16:20  iPod_Authentication_V3\ExtDll.iex

     文件      19500  2012-04-27 11:56  iPod_Authentication_V3\iPod_COM.c

     文件        120  2012-04-20 11:56  iPod_Authentication_V3\iPod_com.h

     文件      43635  2012-04-27 11:56  iPod_Authentication_V3\iPod_COM.LST

     文件      34194  2012-04-27 11:56  iPod_Authentication_V3\iPod_COM.OBJ

     文件       5208  2012-04-20 16:25  iPod_Authentication_V3\main.c

     文件        736  2012-04-14 09:28  iPod_Authentication_V3\main.h

     文件      10075  2012-04-27 11:56  iPod_Authentication_V3\main.LST

     文件       9897  2012-04-27 11:56  iPod_Authentication_V3\main.OBJ

     文件      11696  2012-04-20 10:15  iPod_Authentication_V3\SMB.c

     文件        637  2012-04-20 09:53  iPod_Authentication_V3\SMB.h

     文件      18081  2012-04-27 11:56  iPod_Authentication_V3\SMB.LST

     文件      11198  2012-04-27 11:56  iPod_Authentication_V3\SMB.OBJ

     目录          0  2012-04-27 11:56  iPod_Authentication_V3

----------- ---------  ---------- -----  ----

               308929                    27



............此处省略0个文件信息

评论

共有 条评论