Other Parts Discussed in Thread: SYSCONFIG
Tool/software:
Dear Experts,
I am currently working with the following setup:
-
CCS Version: 20.2.0
-
SDK:
simplelink_lowpower_f3_sdk_9_11_00_18
-
Example:
basic_ble
We are using a CC2340R5-based instrument that advertises BLE data. Currently, we are successfully receiving its advertising data on an Android device using the nRF Connect app.
Now, we are planning to replace the Android device with another CC2340R5 board to receive the data directly.
As I am new to working with low-power BLE devices, I would greatly appreciate your guidance to move in the right direction.
Requirements:
-
Automatically connect to a CC2340R5-based instrument using a predefined static ID and passkey.
-
Receive data from the instrument.
-
Print the received data via UART.
-
The instrument advertises once every minute and stays in advertising mode for 20 seconds, so the scanner must detect and connect during this window.
Clarification and Guidance Needed:
Please advise on how to make the following changes to the example project:
-
Disable Button Input-Based Operation
-
How can I disable the button-triggered behavior?
-
Which source file contains this implementation?
-
-
Start Scanning Automatically on Power-Up
-
How can I initiate BLE scanning automatically on device startup?
-
Where can I configure UART settings in code (not using SysConfig)?
-
I’d like to print discovered device names to UART. Can you guide me where to modify files like
app_central.c
,app_connection.c
, etc.?
-
-
Define Peripheral Passkey
-
Where can I define the passkey for connecting to the peripheral (broadcaster) device?
-
-
Connect to Known Device with Passkey
-
Which file contains the logic to send a connection request and provide the passkey when the known device is found?
-
-
Read/Write Request Functions
-
Which file(s) handle GATT read and write operations once the connection is established?
-
How can I read advertising or characteristic data from the peripheral?
-
Any suggestions, code examples, or documentation references would be highly appreciated.
Thank you for your time and support.
Surya