I downloaded your code and figured out how to get it set up and built using Visual Studio Code. I created my own makefiles in VSC because I could not figure out how to get yours to work. I then figured out how to get the MAC address of my PS4 controller. When I try to pair the pico with the controller, I get the following sequence of debug statements. It appears like the connection is made but then an assertion error occurs. After the assertion, the polling loop hangs. Any suggestions on where to start looking? I may have not included something in my make files. Thanks in advance.
I downloaded your code and figured out how to get it set up and built using Visual Studio Code. I created my own makefiles in VSC because I could not figure out how to get yours to work. I then figured out how to get the MAC address of my PS4 controller. When I try to pair the pico with the controller, I get the following sequence of debug statements. It appears like the connection is made but then an assertion error occurs. After the assertion, the polling loop hangs. Any suggestions on where to start looking? I may have not included something in my make files. Thanks in advance.
Hello Version: 7.95.61 (abcd531 CY) CRC: 4528a809 Date: Wed 2023-01-11 10:29:38 PST Ucode Ver: 1043.2169 FWID 01-7afb0879 cyw43 loaded ok, mac 28:cd:c1:08:b2:f1 BT FW download, version = CYW4343A2_001.003.016.0031.0000_Generic_SDIO_37MHz_wlbga_BU_dl_signed Starting hid_host_connect (A4:53:85:12:E6:5C) Connection complete: 0 Max slots changed: 5 buttons: 0000, l: 128,128, r: 128,128, l2,r2: 128,128 hat: 8 Unknown HID subevent: 0xe buttons: 0000, l: 128,128, r: 128,128, l2,r2: 128,128 hat: 8 buttons: 0000, l: 128,128, r: 128,128, l2,r2: 128,128 hat: 8 buttons: 0000, l: 128,128, r: 128,128, l2,r2: 128,128 hat: 8 SSP User Confirmation Request: 797929 assertion "false" failed: file "C:/Program Files/Raspberry Pi/Pico SDK v1.5.1/pico-sdk/src/rp2_common/pico_flash/flash.c", line 183, function: default_enter_safe_zone_timeout_ms