CYBT-483039-02 - how to set non standard IAC LAP

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

cross mob
kons
Level 1
Level 1
First reply posted First question asked Welcome!

As you know, in order to discover the bluetooth module, we need to set the appropriate IAC LAP while searching. ( https://www.ampedrftech.com/datasheets/cod_definition.pdf ) ... I want to use a custom setting. For example, if I set the IAC LAP to 0x9E8B3D on the device to which I want to connect, it will only be seen if I set the same IAC on the scanning device. I won't see all the other laptops, smartphones, etc ... because they have IAC 0x9E8B33!    I would like to use the CYBT-438039-02 module for my product using EZ-Serial firmware and SPP mode (BR / EDR). Is it possible to set IAC LAP ? So far I have used the brilliant Bluegiga modules with iWRAP where it was possible without any problem. Unfortunately they stopped producing them and I have a problem. I have not seen such a setting option in the API manual (EZ-Serial WICED Firmware Platform User Guide for CYBT-4830XX-02 EZ-BT). Maybe it is possible to build a program in the WICED SDK with this option ?? I do not need to change it while the device is working - it is enough for me that the module will have the IAC LAP parameter permanently set to e.g. 0x9e8b3d. I was doing experiments in HCI mode, just a few commands:

0x01 0x03 0x0c 0x00  - Reset HCI

0x01 0x1E 0x0C 0x04 0x12 0x04 0x01 0x04 - HIC_Wrie_Inquiry_Scan_Activity
0x01 0x1c 0x0C 0x04 0x12 0x04 0x01 0x04 - HCI_Write_Page_Scan_Activity
0x01 0x1A 0x0C 0x01 0x03 - HCI_Write_Scan_Enable
0x01 0x3A 0x0C 0x04 0x1 0x3d 0x8b 0x9e - Write IAC
0x01 0x39 0x0C 0x00 - Read IAC (for checking) .

After these commands, the module is visible in the way I want, unfortunately I was unable to establish a connection in HCI mode so that I could exchange data - I don't know enough about BT.

Is there a chance to set it up?

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

The ez-serial fw doesn't support the IAC LAP setting. You may filter the devices with mac device or adv packet.

View solution in original post

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

The ez-serial fw doesn't support the IAC LAP setting. You may filter the devices with mac device or adv packet.

0 Likes