This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

nRF51422 GATT Authorization failed Error 0x89

I am using nRF51422 SDK v8.0 and the board for evaluation is PCA10003. As I am using the BLE in GENERIC_KEYRING. The same I am trying to configure to send Immediate alert to Mobile phone which than by using some APP will make a call and can be used as SOS peripheral.

Currently I am getting error on Nordic Master control app is Error: 0x89 GATT _Auth fail.

What steps I require to take further. SO I can be able to receive Immediate alert on cell phone after pressing the BUTTON_0 .

Apart from this also I am getting following output from this code part

err_code = ble_ias_c_send_alert_level(&m_ias_c, BLE_CHAR_ALERT_LEVEL_HIGH_ALERT); SEGGER_RTT_printf(0,"%s and %d & m_high_alert_signalled=%d and err_code=%d"
,FUNCTION,LINE,m_is_high_alert_signalled,err_code);

getting output after debugging :::::::: alert_level=2 button_event_handler and 1060 & m_high_alert_signalled=0 and err_code=5 (NRF_ERROR_NOT_FOUND)

Thanking for your reply and guidance!

Parents
  • Yes I've used the NRF Toolbox. And the still I am getting problem within Proximity menu of APP on pressing Button_0, I am not getting any notification of Alert on Mobile device.

    As on debugging, When I am about to connecting PCA10003 with Mobile the execution of function is in following severally :

    1.... ble_ias_on_ble_evt(ble_ias_t * p_ias, ble_evt_t * p_ble_evt) --> in this function , the control reached under correct case i.e. case BLE_GAP_EVT_CONNECTED: on_connect(p_ias, p_ble_evt); break;

    2... on reaching to this function --> static void on_ias_c_evt(ble_ias_c_t * p_ias_c, ble_ias_c_evt_t * p_evt) The control reaches to this case value

       case BLE_IAS_C_EVT_SRV_NOT_FOUND:           
          
            break;
    
Reply
  • Yes I've used the NRF Toolbox. And the still I am getting problem within Proximity menu of APP on pressing Button_0, I am not getting any notification of Alert on Mobile device.

    As on debugging, When I am about to connecting PCA10003 with Mobile the execution of function is in following severally :

    1.... ble_ias_on_ble_evt(ble_ias_t * p_ias, ble_evt_t * p_ble_evt) --> in this function , the control reached under correct case i.e. case BLE_GAP_EVT_CONNECTED: on_connect(p_ias, p_ble_evt); break;

    2... on reaching to this function --> static void on_ias_c_evt(ble_ias_c_t * p_ias_c, ble_ias_c_evt_t * p_evt) The control reaches to this case value

       case BLE_IAS_C_EVT_SRV_NOT_FOUND:           
          
            break;
    
Children
No Data
Related