To the kind attention of Nordic support team,
I'd like to open a new thread after the first one (https://devzone.nordicsemi.com/f/nordic-q-a/46318/configuration-of-gzp_dynamic_pairing-project-for-device-in-segger-embedded-studio-environment), wishing that this time every thing could be set and working. I uploaded two slightly modified versions of what I had already modified a little bit about 8 month ago. I got something that it is some how working, I can receive encrypted msgs also, but only when:
//#define GZP_VALIDATION_ID {0x32, 0x53, 0x66} ///< Validation ID. Required to be shared by Host and Device. Not a secret.
#define GZP_VALIDATION_ID {0xFF, 0xFF, 0xFF} ///< Validation ID. Required to be shared by Host and Device. Not a secret. in nrf_gzp.h header file.
And:
//#define GZP_SECRET_KEY {1, 23, 45, 57, 26, 68, 12, 64, 13, 73, 13, 62, 26, 45, 12, 77}
#define GZP_SECRET_KEY {0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF}.
When both GZP_VALIDATION_ID and GZP_SECRET_KEY are both 0xFF, then the two program seems to be working. I mean, there is no any crash and routines seem to be properly coded in the libraries (*_gcc.a). It seems that the info about the gpio state is properly transmitted also, so the transmission seems to be working. But the fact that everything is fine when those parameters are both set to 0xFF make me think that something fails in the key exchange, or maybe something it is not properly written in the flash of devices. So that having all relevant parameters to 0xFF makes no difference. But I'm only thinking, I should debug more next days.
Of course you know this valuable piece of software way better than me. May you please give me a hand to understand how to solve this issue? I'll be working a little bit on these uploaded files next days, should I have any news, I'll be posting it here; hope that you can also give me a feedback about the working of the uploaded projects. Thanks to you all for your valuable work.
I had the host project running on a PCA10040 board and the device project running on a PCA10056 board.