Hi all,
I'm dealing with a project that's based on Project Zero example, taken from SDK 2_30_00_28. In addition to the BLE stack implemented by Project Zero, there's an additional application that generates a periodic task and runs an ADC.
The problem is that I'm not able to connect to the board with my smartphone (OnePlus 3T), but with others I can (I tried with a Honor 8 and an old Samsumg Galaxy S3).
I have also been told from the person that gave me this project, that it runs and connects fine to his smartphone.
I thought that since it's an older version of Project Zero, that it was incompatible with my device, but I tried to comment out the initialization of the additional application in main.c (thus leaving only project zero running) and it connects fine to my smartphone.
Connecting with PuTTY it gives me this Log:
#000027 [ 1.923 ] INFO: (project_zero.c:1507) (CB) GAP State change: 6, Sending msg to app.
#000028 [ 1.923 ] INFO: (project_zero.c:952) Connected. Peer address: 0x6F58862C1099
#000029 [ 2.216 ] INFO: (project_zero.c:1294) HCI Command Complete Event received
#000030 [ 7.196 ] ERROR: (project_zero.c:1347) Flow control violated. Opcode of offending ATT msg: 0x10
#000031 [ 17.202 ] INFO: (project_zero.c:1507) (CB) GAP State change: 4, Sending msg to app.
#000032 [ 17.203 ] INFO: (project_zero.c:1507) (CB) GAP State change: 2, Sending msg to app.
#000033 [ 17.203 ] INFO: (project_zero.c:961) Disconnected / Idle
#000034 [ 17.203 ] INFO: (project_zero.c:942) Advertising
I found this thread which presents the same log: https://e2e.ti.com/support/wireless-connectivity/bluetooth/f/538/t/597549?RTOS-CC2640R2F-Connecting-issue-after-porting-project-with-cc2650-to-cc2640r2f
I tried cleaning the stack library before building, as one person suggested, and also added the USE_LL_CONN_PARAM_UPDATE part taken from the Simple Peripheral project, as another suggested.
This gave no positive results.
Any suggestions? Thanks.
