Hello!
I am doing exercises from https://dev.ti.com/tirex/content/cc13xx_cc26xx_simplelink_academy_7_10_03_00/_build_cc13xx_cc26xx_simplelink_academy_7_10_03_00/source/ble5stack/ble_01_custom_profile/ble_01_custom_profile.html.
I have reported before that service generator script does not work for me. So I am looking at 3 files provided as solution to the lab. Source and header files for custom service itself should be copied in full, so there is no brainer there. project_zero.c should be edited looking at unidiff. One thing is that it looks that my source is a bit different from the one which was used to create unidiff, at least there is a discrepancy in line numbers. I have installed SimpelLink SDK on Dec 31 (don't ask). I believe I have used a link from TIREX of CCS and it should be the most recent one. Either way, what I see on the web and in TIREX is 7.10.03.00, while on the filesystem I've got 7.10.02.23.
I believe I have carefully applied edits from unidiff to my file. The project does compile, being loaded on target - runs. I use TI SimpleLink Starter app on Android phone. When I go to service explorer, I see what could be expected:
"6 - null" must be my service as I don't remember we define any name for it, but I see "ba55" in the UUID, which is number we were using. If I go for details of this service, I see two characteristics. That matches my expectations as we were exposing sunlight value and timer period. However, the screen with these characteristics in not okay:
The bottom one seems to be correct, 88:13 is LSB first representation of 5000, which was set as timer period. Also I notice colored icons for read, write, notify. That is not a case with the first characteristic. First of all, its value is NULL, and icons to the right are with black background. If I click on the bottom characteristic, it allows me to read it, if I tap on the upper one - application crashes.
So once again, I have double checked edits to project_zero.c, must be okay. And I can't say, what did I miss, or what happened to that actual characteristic.
Please advise, where to look.
Thanks.