91av视频/亚洲h视频/操亚洲美女/外国一级黄色毛片 - 国产三级三级三级三级

  • 大小: 1.89MB
    文件類型: .rar
    金幣: 2
    下載: 0 次
    發布日期: 2023-09-20
  • 語言: 其他
  • 標簽: HCI??bluetooth??藍牙??usb??

資源簡介

藍牙芯片 HCI 層的傳輸驅動 , 使用 USB 總線, 適用于 windows 系統, 驅動實現了4個借口: SEND_HCI, GET_STATUS, WriteFile ReadFile;

資源截圖

代碼片段和文件信息

//
//?bluetooth_senderApp.cpp??:?Defines?the?entry?point?for?the?application.
//
//?Generated?by?C?DriverWizard?3.2.0?(Build?2485)
//?Requires?DDK?Only
//?File?created?on?2/15/2010
//
#include?“bluetooth_senderApp.h“

//?Array?of?possible?transfer?types
PTCHAR?g_TransferTypeArray[]?=
{
????_T(“ReadFile“)
????_T(“WriteFile“)
????_T(“IOCTL_SEND_CMD“)
????_T(“IOCTL_RECV_EVENT“)
????_T(““)
};

HANDLE??????????????g_hDevice?=?INVALID_HANDLE_VALUE;
HDEVNOTIFY??????????g_hInterfaceNotification?=?NULL;
BLUETOOTH_SENDER_LIST_ITEM???g_IoList;
CRITICAL_SECTION????g_IoListLock;
HANDLE??????????????g_hIoCompletionThreadTerminationEvent;
HANDLE??????????????g_hIoCompletionThread;

///////////////////////////////////////////////////////////////////////////////////////////////////
//??bluetooth_senderOutputText
//??????method?to?output?text?in?the?output?window
//
//??Arguments:
//??????IN??Format
//??????????????Text?format?to?print?to?output?window
//
//??Return?Value:
//??????None.
//
VOID?bluetooth_senderOutputText(LPCTSTR?Format?...)
{
????TCHAR???????str[MAX_STRING_LENGTH];
????va_list?????vaList;

????va_start(vaList?Format);

????_vstprintf(str?Format?vaList);

????OutputDebugString(_T(“bluetooth_sender:?“));
????OutputDebugString(str);
????OutputDebugString(_T(“\n“));

????va_end(vaList);

????return;
}

///////////////////////////////////////////////////////////////////////////////////////////////////
//??bluetooth_senderOutputBuffer
//??????method?to?output?text?in?the?output?window
//
//??Arguments:
//??????IN??Buffer
//??????????????Data?Buffer
//
//??????IN??Size
//??????????????Size?of?Data?Buffer
//
//??Return?Value:
//??????None.
//
VOID?bluetooth_senderOutputBuffer(PVOID?Buffer?ULONG?Size)
{
????TCHAR???????str[MAX_STRING_LENGTH];
????LONG????????length?=?(LONG)Size;
????PUCHAR??????p?=?(PUCHAR)Buffer;
????TCHAR???????data[MAX_STRING_LENGTH];
????TCHAR???????rawData[MAX_STRING_LENGTH];
????ULONG???????i;
????ULONG???????j;

????for?(i?=?0;?i?????{
????????ZeroMemory(str?sizeof(str));
????????ZeroMemory(rawData?sizeof(rawData));

????????_stprintf(str?_T(“%04.4X??“)?i);

????????for?(j?=?0;?j?????????{
????????????if?(length?>?0)
????????????{
????????????????_stprintf(data?_T(“%02X?“)?*p);
????????????}
????????????else
????????????{
????????????????_stprintf(data?_T(“???“));
????????????}

????????????_tcsncat(str?data?3);

????????????if?(length?>?0)
????????????{
????????????????TCHAR?c?=?(TCHAR)(*p);

????????????????if?(_istalnum(_TUCHAR(c)))
????????????????{
????????????????????_stprintf(data?_T(“%c“)?c);
????????????????}
????????????????else
????????????????{
????????????????????_tcsncat(rawData?_T(“?“)?1);
????????????????}

????????????????--length;
????????????}
????????}

????????_tcsncat(str?_T(“??“)?2);
????????_tcsncat(str?rawData?16);

????????OutputDeb

?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----

?????文件??????19972??2010-02-15?13:07??bluetooth_sender\app\bluetooth_senderApp.cpp

?????文件???????1571??2010-02-15?13:07??bluetooth_sender\app\bluetooth_senderApp.h

?????文件???????2256??2010-02-15?13:07??bluetooth_sender\app\bluetooth_senderApp.rc

?????文件???????6258??2010-02-15?13:09??bluetooth_sender\app\bluetooth_senderApp.vcproj

?????文件???????1418??2010-02-18?22:14??bluetooth_sender\app\bluetooth_senderApp.vcproj.ICT-BAMU.pxy.user

?????文件??????20200??2010-02-15?13:07??bluetooth_sender\app\bluetooth_senderIorw.cpp

????.......??????3758??2010-02-15?13:14??bluetooth_sender\app\buildchk.log

?????文件????????267??2010-02-15?13:07??bluetooth_sender\app\makefile

????.......???????558??2010-02-15?13:14??bluetooth_sender\app\obj\_objects.mac

?????文件??????15360??2010-02-15?13:14??bluetooth_sender\app\objchk\i386\bluetooth_senderApp.exe

?????文件??????27899??2010-02-15?13:14??bluetooth_sender\app\objchk\i386\bluetooth_senderapp.obj

?????文件?????132096??2010-02-15?13:14??bluetooth_sender\app\objchk\i386\bluetooth_senderApp.pdb

?????文件???????1456??2010-02-15?13:14??bluetooth_sender\app\objchk\i386\bluetooth_senderapp.res

?????文件??????26910??2010-02-15?13:14??bluetooth_sender\app\objchk\i386\bluetooth_senderiorw.obj

?????文件???????1052??2010-02-15?13:07??bluetooth_sender\app\resource.h

?????文件????????654??2010-02-15?13:07??bluetooth_sender\app\sources

?????文件????7146496??2010-02-18?22:14??bluetooth_sender\bluetooth_sender.ncb

?????文件???????1368??2010-02-15?13:09??bluetooth_sender\bluetooth_sender.sln

????..A..H.?????23040??2010-02-18?22:14??bluetooth_sender\bluetooth_sender.suo

?????文件???????9060??2010-02-15?13:07??bluetooth_sender\bluetooth_senderVars.xml

?????文件?????????35??2010-02-15?13:07??bluetooth_sender\dirs

?????文件??????39160??2010-02-16?22:01??bluetooth_sender\driver\bluetooth_sender.c

?????文件????????172??2010-02-15?13:07??bluetooth_sender\driver\bluetooth_sender.cat

?????文件?????????55??2010-02-15?13:07??bluetooth_sender\driver\bluetooth_sender.ctl

?????文件??????21307??2010-02-15?15:55??bluetooth_sender\driver\bluetooth_sender.h

?????文件???????3844??2010-02-15?13:07??bluetooth_sender\driver\bluetooth_sender.inf

?????文件???????1148??2010-02-15?13:07??bluetooth_sender\driver\bluetooth_sender.rc

?????文件??????46848??2010-02-18?22:07??bluetooth_sender\driver\bluetooth_sender.sys

?????文件???????7920??2010-02-15?13:09??bluetooth_sender\driver\bluetooth_sender.vcproj

?????文件???????1418??2010-02-18?22:14??bluetooth_sender\driver\bluetooth_sender.vcproj.ICT-BAMU.pxy.user

............此處省略48個文件信息

評論

共有 條評論