Other Parts Discussed in Thread: SYSCONFIG
Hello,
We are developing a BLE observer for beacons. For this, we based our CC2652P firmware on the simple_central example and we are using LAUNCHXL-CC1352P-2 development kit. I need this observer to scan continuously and without restrictions of amount of devices.
In order to have this working, I had to made a few changes to the project and I would like you to validate them:
- Set DEFAULT_MAX_SCAN_RES to 0.
- GAP device init with GAP_PROFILE_OBSERVER.
- Set Scan Type to Passive; Scan Interval to 150ms, Scan Window to 150ms and Scan Duration to 5000ms.
- I start discover using SimpleCentral_doDiscoverDevices(0) in two places: when GAP_DEVICE_INIT_DONE_EVENT and after SC_EVT_SCAN_DISABLED.
- I print beacon's data in SimpleCentral_processAppMsg.
However, I still have some problems:
- In https://dev.ti.com/tirex/explore/node?node=AKvX4BPHvI6W3ea9a0OTxA__pTTHBmu__LATEST&r=krol.2c__3.10.00.15 it says that I should set DEFAULT_SCAN_DURATION to 0. However, as you can see in this picture, I cannot. Does this affect my "continuously scanning"?
- If I use UUID filter, should I do something with numScanRes? I don't fully understand what is the scanned device list used for.
And finally, my biggest problem is with the display/UART. I need the CC2652 to send beacon's data to another MCU that will process it. I am having issues disabling the display in order to use a simple UART just to send data bytes. How should I do this? I have already disabled Menu and Two button menu and I thought that display_printf would just write the dat over the UART but it does write other characters related to display management too. I have seen https://dev.ti.com/tirex/content/simplelink_academy_cc13x0sdk_2_10_02_10/modules/debug/debugging_output/debugging_output.html but I cannot understand how to implement it in this case.
Thanks!

