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
  • @Shubham: As I mentioned, nrfToolbos app DOES NOT have a server with IAS service implemented.

    It won't work when you press the button 0 on PCA10003. Only Master Control Panel on PC supports this. The only alarm you can have with the nRFToolbox is when you move the phone away from the device.

    It's shouldn't be too hard to implement the server on Android side.

Reply
  • @Shubham: As I mentioned, nrfToolbos app DOES NOT have a server with IAS service implemented.

    It won't work when you press the button 0 on PCA10003. Only Master Control Panel on PC supports this. The only alarm you can have with the nRFToolbox is when you move the phone away from the device.

    It's shouldn't be too hard to implement the server on Android side.

Children
No Data
Related