Hi Dialog,
I am working on generating passkey in peripheral DA14580. I cam to know from document "RW-BLE-GAP-IS" that GAPM_GEN_RAND_NB_CMD should be send to generate random pass key but i don't know when should I send this command?
In proximity example already security task is defined but I could not found any pass key command reference there.
Please guide me how to send pass key command from peripheral to central device at time of pairing.
Thanks,
sabasit
Hello sabasit, please refer to the mouse or keyboard reference design project : there in the app_kbd.c you will find an example of this. I've not gone into the detals yet myself, but i would suggest to start there . Next SDK update coming (end of January is latest ETA) is having a random number generator in that.
BR JE_Dialog
Hi BR,
thank you so much. I looking into these reference design. In case any difficulty i will ask you again.
Regards,
sabasit
Hi BR,
I have downloaded Keyborad application into my Expert development kit through JTAG. It is not advertising, I have checked it by scanning at my smart phone. My smart phone works fine with DSPS and proximity applications.
what could be the reason? I want to debug at UART to find out its functional flow.
regads,
sabasit
Hello Sabasit, to get this working on an expert kit, you need a differetn config.h file. I will send that separately to you.
Be aware that sleep mode is used so after loading the file with the Keil debugger, the debugger needs to be disabled to start working (after pressing K1 or K2)
BR JE_Dialog
Hi BR,
thanks. I received it.
Regards,
sabasit
Hi JE_Dialog,
Could i have your config.h file ? I have also downloaded mouse source code but it does not work with my basic board! And in an other hand, When i worked on DSPS source code, after i have enabled security mode by using CFG_APP_SEC and config somethings but it does not work when my android device has connected with basic kit, i mean there are no security event happen! . Can you point out for me what's error at there?
I greatly appriciate your help to me!
Regards,
Chung