- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I've encounter an issue while using Linux OS with Bluez trying to connect to peripheral device, model CYBT-413034-02, steps:
- Set Random (static) address to Cypress devices
- Attach using Bluez `btattach` the devices creating HCI device access.
- Connecting to device: "Failed to connect to: DEV_ID. Error code from connect: 113 message: No route to host"
Using different device than Cypress this works as intended.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi AnHu_4662101 ,
For CYBT-413034-02 , there will be two UART ports opened - HCI UART & Peripheral UART. HCI UART is used for sending / receiving HCI commands. Please make sure you are connecting to HCI UART only .
After connecting to HCI UART make sure you are getting success response for HCI reset command. Only then proceed with next commands.
You may also refer :
use EZ-BT CYBT-423028-EVAL as BT HCI device
Thanks,
Anjana
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi AnHu_4662101 ,
For CYBT-413034-02 , there will be two UART ports opened - HCI UART & Peripheral UART. HCI UART is used for sending / receiving HCI commands. Please make sure you are connecting to HCI UART only .
After connecting to HCI UART make sure you are getting success response for HCI reset command. Only then proceed with next commands.
You may also refer :
use EZ-BT CYBT-423028-EVAL as BT HCI device
Thanks,
Anjana
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
There is a vendor specific command within Cypress dongles:
hcitool -i hci0 cmd 0x3f 0x0001 O6 O5 O4 O3 O2 O1
What does this command do, does it:
- set public address
- set random address
- other
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi AnjanaM_61,
If this is true, this means, the address needs to be first registered with Bluetooth SIG according to spec:
The public device address shall be created in accordance with section 9.2 ("48-
bit universal LAN MAC addresses") of the IEEE 802-2001 standard
(http://standards.ieee.org/findstds/standard/802-2001.html) and using a valid
Organizationally Unique Identifier (OUI) obtained from the IEEE Registration
Authority (see http://standards.ieee.org/regauth/oui/forms/ and sections 9 and
9.1 of the IEEE 802-2001 specification).
Is there any HCI command to assign a random device address instead?
The random device address may be of either of the following two sub-types:
• Static address
• Private address.
The term random device address refers to both static and private address
types.
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi AnHu_4662101 ,
Q) Is there any HCI command to assign a random device address instead?
A) I think there is an LE controller command for setting random address HCI_LE_Set_Random_Address (Refer BT Spec)
Please Check with (OGF 0x08) OCF 0x005
Regards,
Anjana