Bluetooth 5 extended advertising using 88W9098/88Q9098 chip

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Bluetooth 5 extended advertising using 88W9098/88Q9098 chip

1,436 Views
ytpark
Contributor I

 

Hello, NXP community.

We are working on Bluetooth 5 LE extended advertising using BT module based-on 88W909/88Q09098 chip. We recognized that he module supports all Bluetooth 5 LE extended features in a document we received.

I brought up the module on our system and It worked well about BLE advertising.

But we want to use BLE extended advertising.

I used following HCI commands to receive BLE extended advertising.

  • hcitool cmd 0x03 0x0003  (Reset)
  • hcitool cmd 0x08 0x0001 0xFD 0xFF 0x00 0x00 0x00 0x00 0x00 0x00 (Set event mask)
  • hcitool cmd 0x08 0x0031 0x00 0x04 0x04 (Set default phy)
  • hcitool cmd 0x08 0x0041 0x00 0x00 0x04 0x00 0x00 0x04 0x00 0x04 (scan parameters) 
  • hcitool cmd 0x08 0x0042 0x01 0x00 0x00 0x00 0x00 0x00 (Scan enable)

 

However, btmon app cannot receive any extended advertising beacon from our test smartphone.

How should we send the set of HCI commands for tesing the BT module to receive extended advertising beacons?

Is there any test example for Bluetooth5 extended advertising using 88X9098 chip ?

Labels (1)
0 Kudos
1 Reply

1,383 Views
mario_castaneda
NXP TechSupport
NXP TechSupport

Hi @ytpark,

Here one step is missing while configuring the set event mask. As provided logs having only LE Set Event Mask but not the overall Set Event Mask.

 

#Set Event Mask

sudo hcitool -i hci1 cmd 0x03 0x0001 ff ff ff ff ff ff ff 3f 

 

#Reset

sudo hcitool -i hci1 cmd 0x03 0x0003

 

#Set Event Mask

sudo hcitool -i hci1 cmd 0x03 0x0001 ff ff ff ff ff ff ff 3f

 

#set LE Set Event mask

sudo hcitool -i hci1 cmd 0x08 0x0001 ff ff ff ff ff ff ff ff

 

#Set Default PHY

sudo hcitool -i hci1 cmd 0x08 0x0031 0x00 0x04 0x04 

 

#LE set extended scan parameters

sudo hcitool -i hci1 cmd 0x08 0x0041 00 00 01 01 30 00 30 00

sleep 1

 

#LE set extended scan enable 

sudo hcitool -i hci1 cmd 0x08 0x0042 01 00 00 00 00 00 

sleep 30

Regards,

Mario

0 Kudos