- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
I'm new to this CYBT-353027-02 Bluetooth module. I'm trying to integrate CYBT-353027-02 bluetooth module with my controller. I want to understand how to initialize this Bluetooth module. What are the library files I'm supposed to use and where can I find those library files.
Thanks in advance,
Adarsh Maurya
- Tags:
- cybt-353027-02
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @AdarshMaurya ,
You can use HCI communication, please refer to this document: https://github.com/Infineon/btsdk-docs/blob/master/docs/BT-SDK/AIROC-HCI-Control-Protocol.pdf
Additionally, you can also use our tools CYBluetool (https://www.google.co.in/url?sa=t&rct=j&q=&esrc=s&source=web&cd=&cad=rja&uact=8&ved=2ahUKEwiM8424qLj... ) or Modustoolbox (https://www.infineon.com/dgdl/Infineon-ModusToolbox_3.0_Eclipse_IDE_User_Guide-GettingStarted-v01_00...) for the same.
Thanks and regards,
Advait Kulkarni
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello @advait_kulkarni
I'm using "AIROC Bluetooth Test and Debug Tool" for Testing of CYBT-353027-02. I can able to Advertise classic bluetooth signal but I can't able to connect to it using my smartphone bluetooth, It's displaying "Remote User Terminated Connection" in debug tool. How do I solve this.?
and also for few commands it's saying "Invalid HCI Command Parameters". How do I resolve this.?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @AdarshMaurya ,
You need to 1st set it discoverable and connectible (create connection). Please refer to this user guide for CYBluetool: https://www.google.co.in/url?sa=t&rct=j&q=&esrc=s&source=web&cd=&ved=2ahUKEwiTjfzGu8n9AhWrTWwGHS2VCJ...
Thanks and regards,
Advait Kulkarni
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello @advait_kulkarni
I have been following the same Document. I was able to set the module in discoverable mode but when I try to connect with my smartphone, while pairing it gets disconnecting saying "disconnected due to incorrect pairing code", This error is displayed in my phone.
Thanks in advance
Adarsh Maurya
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @AdarshMaurya ,
Can you send me the screenshots or the logs on the cybluetool? Also, which example are you using for testing?
Thanks and regards,
Advait Kulkarni
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello @advait_kulkarni
I'm attaching screenshots of the debug tool as you requested.
Here whenever I try to connect with the Bluetooth module but it's getting disconnected saying "pairing failed because of an incorrect pairing code" in my smartphone.
Thanks in advance
Adarsh Maurya
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @AdarshMaurya ,
Are you using Bluetooth LE or Bluetooth classic? Also since you are connecting to your mobile, I believe your mobile phone would be the central device in your case. So you need to set the advertising parameters accordingly.
Thanks and regards,
Advait Kulkarni
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello @advait_kulkarni
I'm using Bluetooth classic. You mentioned that I need to set the advertising parameters accordingly. Can you explain what parameters I need to use to make it work?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @AdarshMaurya ,
For bluetooth classic, you need to set "allow connection from all devices" in the event filter and then do inquiry. I believe you must have already done it by following steps from the userguide. Although, in userguide, the instruction refer to connecting two devices with each other, but since you are using mobile phone, let me check and get back to you incase there are any additional steps to be followed.
Also one more question, can you please explain the application you are building? And hence, you have chose to use the chip in HCI UART mode? Because, if your application can have the chip be in embedded/application mode, you can directly use our code examples and download them using modustoolbox to pair with your device.
Thanks and regards,
Advait Kulkarni
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello @advait_kulkarni
Our application is a linux based system. Previously we're using BT121 in our application, we send data from our MCU through UART to BT121 which transmits that data to smartphone and viceversa. Since BT121 is EOL we're looking for an alternative and our vendor suggested CYBT-353027-02 module. From document I got to know in order to write commands into the module we supposed to use HCI UART so I'm using HCI UART mode. If there's any other way of writing commands please let me know. I want to integrate CYBT353027-02 Bluetooth module to send data between android device and our Linux based system.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @AdarshMaurya ,
In that case, please use the standard HCI command format (RAW HCI UART commands) to communicate between your linux host and the module. You can refer to this article to check the RAW HCI UART format: https://community.infineon.com/t5/Knowledge-Base-Articles/Sending-AIROC-HCI-UART-and-RAW-HCI-UART-co... . In case you want to do some firmware download to the module from the host, you can refer to this document: https://github.com/Infineon/btsdk-docs/blob/master/docs/BT-SDK/AIROC-HCI-Firmware-Download.pdf
Thanks and regards,
Advait Kulkarni