How do I use SRU_BT to run channel hopping mode which may be requested by regulation tests in the MSD40NBT/SSD40NBT in WINCE/WM platform?

Answer

Some regulation tests may request to check BT power in channel hopping. Use SRU_BT and run the HCI command, which can achieve the following:

HCI Command:

51 FC 10 43 29 b1 55 00 00 01 4E 04 00 0f FD 03 08 08 00

MAC:

4329b1550000

Hopping mode:

0: 79 channel hopping

1: Single frequency

2: Fix pattern

Channel:  X (2402+X)

Modulation type:

4: PRBS9 Pattern

Logical Channel:

0: ACL_EDR (GFSK)

1: ACL_Basic (8PSK)

Packet type:

Value

Description

0x0

NULL

0x1

POLL

0x2

FHS

0x3

DM1

0x4

DH1 / 2-DH1

0x5

HV1

0x6

HV2 / 2-EV3

0x7

HV3 / EV3 / 3-EV3 

0x8

DV / 3-DH1

0x9

AUX1 / PS  

0xA

DM3 / 2-DH3  

0xB

DH3 / 3-DH3

0xC 

EV4 / 2-EV5

0xD 

EV5 / 3-EV5  

0xE

DM5 / 2-DH5  

0xF 

DH5 / 3-DH5  

Packet length:

FD 03: 1021 bytes (ACL_EDR)

53 01: 339 bytes (ACL_BASIC)

Channel power:

08: 8dBm