|
【文件名】:12928@52RD_H4DS Library Demo Application (bcore-me-036Pa).pdf
【格 式】:pdf
【大 小】:332K
【简 介】:The H4DS protocol provides “H4 with Deep Sleep”. The protocol is defined in [H4DS] and is described in
[H4DS_NOTES]. CSR’s implementation of H4DS in _‰Ï…`ÁÍ… ™ firmware is described in [H4DSBC].
CSR provides a C source code impl ementation of H4DS, described in [H4DSLIB]. This code is primarily for
porting to embedded systems. Users of this code must have a good understanding of the code’s structure as they
must provide wrapper code to bind it to their target systems. It is expected that some users will modify the
[H4DSLIB] code for their needs.
This document describes a trivial Windows
®
application that uses the [H4DSLIB] source code unmodified. The
application starts a Windows command line application that:
! Connects via a UART to a BlueCore device configured to use H4DS (e.g., build HCIStack2.0EDRv19.2
for BlueCore4-ROM)
! Reads the device’s Bluetooth address
! Uses HCI’s local loopback mode to pass a block of data into and out of BlueCore
This demo application has been provided mainly as an example of how the H4DS library code can be bound to a
target environment, so little effort has been expended to make the application into a useful tool. General
evaluation of H4DS is better done using CSR’s BTCLI program. The version of BTCLI bundled with BlueSuite
v1.21 includes support for H4DS.
【目 录】:Contents
1 Introduction .................................................................................................................................................... 3
2 Conditions of Use .......................................................................................................................................... 4
3 Context............................................................................................................................................................ 5
4 Building the Demo Application ..................................................................................................................... 6
5 Running the Demo Application..................................................................................................................... 7
5.1 rba ............................................................................................................................... ........................... 7
5.2 rbs ............................................................................................................................... ........................... 7
5.3 pim ............................................................................................................................... ........................... 7
5.4 epim............................................................................................................................... ......................... 7
5.5 wlm ............................................................................................................................... ........................... 8
5.6 wlmn............................................................................................................................... ......................... 8
5.7 data_len <length>............................................................................................................................ 8
5.8 data <period> ............................................................................................................................... ...... 8
5.9 stop............................................................................................................................... ......................... 8
5.10 debug <level> ............................................................................................................................... ...... 8
6 Example Output ............................................................................................................................................. 9
7 Demo Application Code Structure.............................................................................................................. 14
Document References ........................................................................................................................................ 15
Acronyms and Definitions.................................................................................................................................. 16
Record of Changes ............................................................................................................................................. 17
List of Figures
Figure 3.1: H4DS Demo Application ....................................................................................................................... 5
|
本帖子中包含更多资源
您需要 登录 才可以下载或查看,没有账号?注册
×
|