How to filter conneciton via specific MAC for peripheral

The scenario like this: A is BLE peripheral with firmware (ble_app_uart under nRF_SDK_13.0.0_04a0bfd), if no filter,any central can cenncet to it, but I just want B can cennect it. I try to do follow below link description : devzone.nordicsemi.com/.../ but not successful.

May I know how to do it under nRF_SDK_13.0.0_04, BTY the soc is nrf52832, tool is IAR7.8 with jlink!

Thank you!