How to add uart debug | Cypress Semiconductor
How to add uart debug
I am so lost!
I have been going through a few example projects for the BLE Pioneer Kit CY8CKIT-042. Starting with the BLE_battery_level which includes DBG_PRINTF.
Then I tried BLE_device_information_service which doesn't have DBG_PRINTF (debug via uart). Simple question, and I know it must be easy and I feel so stupid for not being able to do/find it - how do I add DBG_PRINTF to the BLE_dev_info_svc example? Do I add it as a component from a library, which comp, which lib?
My goal is to read log data from the PSoC into an Android phone. My android app can find the PSoC BLE device and print out its name and address, and I was hoping that the ble_dev_info_svc example would give me clues as to what to do next [unless there is a ready made example for what I want to do].
PS I'm new to OOP, Java, Android, and BLE - so have a lot to learn.