cancel
Showing results for 
Search instead for 
Did you mean: 

Bluenrg-ms bonding with PIN

daniele2399
Associate II
Posted on December 06, 2016 at 15:28

Hi,

I'm using the Bluenrg-ms chipset with firmware version 7.1.e (0x715). Everything works fine, except from the authorization settings. Each device can connect to the BLE without any request for permissions (PIN). By digging a bit I've found that the function 'aci_gap_slave_security_request' should do the job, but I don't exactly know where and how to use it (related callbacks to handle, actions to do according to the result). Can anybody help me through this?

Thanks a lot,

Daniele

#spbtle-rf #bluenrg-ms #ble
1 ACCEPTED SOLUTION

Accepted Solutions
Andrea Palmieri
ST Employee
Posted on December 06, 2016 at 17:45

Hi,

you can refer to the FP-SNS-FLIGHT1 STM32 ODE function pack available

http://www.st.com/content/st_com/en/products/embedded-software/mcus-embedded-software/stm32-embedded-software/stm32-ode-function-pack-sw/fp-sns-flight1.html

.

In particular, the source file sensor_service.c handles security related events in function:

HCI_Event_CB()

Regards,

Andrea

View solution in original post

2 REPLIES 2
Andrea Palmieri
ST Employee
Posted on December 06, 2016 at 17:45

Hi,

you can refer to the FP-SNS-FLIGHT1 STM32 ODE function pack available

http://www.st.com/content/st_com/en/products/embedded-software/mcus-embedded-software/stm32-embedded-software/stm32-ode-function-pack-sw/fp-sns-flight1.html

.

In particular, the source file sensor_service.c handles security related events in function:

HCI_Event_CB()

Regards,

Andrea

daniele2399
Associate II
Posted on December 07, 2016 at 10:24

Hi Andrea,

thanks a lot for the quick reply, I'll give it a try soon but it seems already more clear.

Ciao,

Daniele