cybt-343026-eval empty scan result

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Pavel
Level 1
Level 1
10 sign-ins 5 replies posted 5 sign-ins

Hi. We need to use cybt-343026-01 as a regular bluetooth module on arm board.

Currently we upload empty Modus Toolbox project using patchram utility via HCI UART.

But scanning does not work. Neither 'hcitool scan' nor 'hcitool lescan' returns non-empty result.

Is there specific code should be added in project?

0 Likes
10 Replies
Owen_Zhang123
Moderator
Moderator
Moderator
5 questions asked 500 solutions authored 250 sign-ins

Are you using the device as a bluetooth controller?

0 Likes

yes

0 Likes
Owen_Zhang123
Moderator
Moderator
Moderator
5 questions asked 500 solutions authored 250 sign-ins

The device is mainly used in embedded mode. The controller mode is for test and certification usage. IFX will not support if you are using the device with other host stack. 

0 Likes

How to add the ability to work with this module in controller mode?

Is it possible to upload (and run) project to controller via hci uart without pulling spi_mosi down?

0 Likes
Owen_Zhang123
Moderator
Moderator
Moderator
5 questions asked 500 solutions authored 250 sign-ins

Please refer to the following blog about how to run the device in HCI mode.

https://community.infineon.com/t5/Resource-Library/Run-CYW20706-in-HCI-Mode/ta-p/246397

0 Likes

uploading EmptyWicedBluetooth_download.hcd does not solve problem. Scanning does not work

0 Likes
Owen_Zhang123
Moderator
Moderator
Moderator
5 questions asked 500 solutions authored 250 sign-ins

Could you receive the response after you send the scan command.

0 Likes

Response is empty. No devices found

0 Likes
lock attach
Attachments are accessible only for community members.
Owen_Zhang123
Moderator
Moderator
Moderator
5 questions asked 500 solutions authored 250 sign-ins

After you send the scan enable command, there should be a command complete event. Please check if you receive the event. Then you can receive event about the device found.

I download an empty project to the device and send reset, scan enable with cybluetool. Then I can see the adv devices. Please check the log below.

I also attached the .hex file for you.

07/05/22 14:42:23.451 com17@115200 c> Reset

HCI Command

com17@115200

[03 0C 00 ]

opcode = 0x0C03 (3075, "Reset")

 

 

07/05/22 14:42:23.475 com17 <c Reset

HCI Command Complete Event

com17@115200

[0E 04 ]: 01 03 0C 00

event = 0x0E (14,"Command Complete")

Num_HCI_Command_Packets = 0x1 (1)

Command_Opcode = 0xC03 (3075, "Reset")

Status = 0x0 (0, "Success", "Success")

 

 

07/05/22 14:42:43.831 com17@115200 c> LE_Set_Scan_Enable

HCI Command

com17@115200

[0C 20 02 ]: 01 00

opcode = 0x200C (8204, "LE_Set_Scan_Enable")

LE_Scan_Enable = 0x1 (1, "Scanning is enabled")

Filter_Duplicates = 0x0 (0, "Duplicate filtering is disabled")

 

 

07/05/22 14:42:43.881 com17 <c LE_Set_Scan_Enable

HCI Command Complete Event

com17@115200

[0E 04 ]: 01 0C 20 00

event = 0x0E (14,"Command Complete")

Num_HCI_Command_Packets = 0x1 (1)

Command_Opcode = 0x200C (8204, "LE_Set_Scan_Enable")

Status = 0x0 (0, "Success", "Success")

 

 

07/05/22 14:42:43.887 com17 <e LE Event

HCI Event

com17@115200

[3E 2B ]: 02 01 03 01 A0 47 82 25 C5 0D 1F 1E FF 06 00 01 09 20 02 04 65 01 D0 1E B4 DE 10 02 1F B9 C3 34 EB 0C F5 9A E1 95 DF DA 72 3A A8

event = 0x3E (62,"LE Event")

LE_Event_Code = 0x2 (2, "LE Advertising Report Event")

Num_Reports = 0x1 (1)

Event_Type[0] = 0x3 (3, "Non-connectable Event")

Address_Type[0] = 0x1 (1, "Random Address")

Address[0] = "0DC5258247A0"

Data_Len[0] = 0x1F (31)

Data[0] = "1E FF 06 00 01 09 20 02 04 65 01 D0 1E B4 DE 10 02 1F B9 C3 34 EB 0C F5 9A E1 95 DF DA 72 3A"

RSSI[0] = 0xA8 (-88, 127 means RSSI is not available, Range from -127 to 20 dbm)

 

 

07/05/22 14:42:43.891 com17 <e LE Event

HCI Event

com17@115200

[3E 25 ]: 02 01 00 00 2F 54 88 A1 41 2C 19 02 01 19 07 03 BE FE 26 FE 03 FE 0D FF 01 09 51 12 EE 39 A9 4A B6 6D 83 AE B7

event = 0x3E (62,"LE Event")

LE_Event_Code = 0x2 (2, "LE Advertising Report Event")

Num_Reports = 0x1 (1)

Event_Type[0] = 0x0 (0, "Connectable Undirected Event")

Address_Type[0] = 0x0 (0, "Public Address")

Address[0] = "2C41A188542F"

Data_Len[0] = 0x19 (25)

Data[0] = "02 01 19 07 03 BE FE 26 FE 03 FE 0D FF 01 09 51 12 EE 39 A9 4A B6 6D 83 AE"

RSSI[0] = 0xB7 (-73, 127 means RSSI is not available, Range from -127 to 20 dbm)

 

 

07/05/22 14:42:43.892 com17 <e LE Event

HCI Event

com17@115200

[3E 1E ]: 02 01 00 01 E3 5A 02 98 AF 56 12 02 01 1A 02 0A 08 0B FF 4C 00 10 06 20 1E AA 48 2D 10 B0

event = 0x3E (62,"LE Event")

LE_Event_Code = 0x2 (2, "LE Advertising Report Event")

Num_Reports = 0x1 (1)

Event_Type[0] = 0x0 (0, "Connectable Undirected Event")

Address_Type[0] = 0x1 (1, "Random Address")

Address[0] = "56AF98025AE3"

Data_Len[0] = 0x12 (18)

Data[0] = "02 01 1A 02 0A 08 0B FF 4C 00 10 06 20 1E AA 48 2D 10"

RSSI[0] = 0xB0 (-80, 127 means RSSI is not available, Range from -127 to 20 dbm)

0 Likes

How this can be achieved with "EmptyWicedBluetooth" app instead of "HelloSensor"?

0 Likes