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

ANCS add to S130

I develop ANCS success in S110,but in example ble_app_hrs_rscs_relay of S130 SDK9 .I don't know how to add the ANCS.I find S110 has ble_bondmnngr.c file,but in S130 dosn't exsit,Just find device_manager_central.c file. The phone can't bond the device .Should I add the ble_bondmnngr.c to the project like in S110? TKS

Parents
  • Yes,Petter Myhre.My production need peripheral and central operation.Be peripheral role,it can be linked by phone,but can't be bonded now.Be central role ,it can scan other BLE device,and create link,but often arise link breaking,I haven't found where the problem is.I now add the device_manager_peripheral.c to the ble_app_hrs_rscs_relay example ,program can receive the BLE_GAP_EVT_SEC_INFO_REQUEST when I use the phone Launching parting operation,then my program restart.. The device_manager_peripheral.c file manage the master BLE( such as phone) Independently,while device_manager_central.c manage other slave BLE(such as CSC device),I think the conflict can be solute,but I don't know where to start, because I don't know the BLE encryption principle .Could you show me how to modify the device_manager_peripheral.cto able bond the phone?

Reply
  • Yes,Petter Myhre.My production need peripheral and central operation.Be peripheral role,it can be linked by phone,but can't be bonded now.Be central role ,it can scan other BLE device,and create link,but often arise link breaking,I haven't found where the problem is.I now add the device_manager_peripheral.c to the ble_app_hrs_rscs_relay example ,program can receive the BLE_GAP_EVT_SEC_INFO_REQUEST when I use the phone Launching parting operation,then my program restart.. The device_manager_peripheral.c file manage the master BLE( such as phone) Independently,while device_manager_central.c manage other slave BLE(such as CSC device),I think the conflict can be solute,but I don't know where to start, because I don't know the BLE encryption principle .Could you show me how to modify the device_manager_peripheral.cto able bond the phone?

Children
No Data
Related