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

about service change can't receive BLE_GATTS_EVT_WRITE

nrf52832     SDK14.2       s132_nrf52_5.0.0_softdevice     PCA10040       ble_app_hids_keyboard  

I modify the project : 

two  service :  one  is   hid   another  is  different  hid_1 

press button 2  init  hid

presss button 3  init  hid_1

connect  the  android  phone , press button2   reset ,and ,init  hid;  press button3   reset  ,and, init  hid_1, reconnect  the phone,

turn  off and on the bluetooth(android  phone),but I can‘t receive   BLE_GATTS_EVT_WRITE(gcm_ble_evt_handler),  I  enable  the  NRF_SDH_BLE_SERVICE_CHANGED

I  can’t  know the reason,  but  SDK15.2   it  succeed,  why?   How  can  i do?

Parents
  • My  formal project  is  SDK14.2 .  I  use  SDK15.2  to   see  whether  it  works  well.  I  want  to see  whther it  relates to  SDK.    (gscm_service_changed_ind_send)   return   NRF_ERROR_NOT_SUPPORTED,and  (gcm_ble_evt_handler) can't  receive BLE_GATTS_EVT_WRITE,the hid descriptor have  keyboard  and  mose, the  another is different; I  use adb  debug  to  see  the event (the  command  is  adb  shell  getevent -i),but  I  can't  see  information. How  can  I do.   SDK15.2  works  well.

Reply
  • My  formal project  is  SDK14.2 .  I  use  SDK15.2  to   see  whether  it  works  well.  I  want  to see  whther it  relates to  SDK.    (gscm_service_changed_ind_send)   return   NRF_ERROR_NOT_SUPPORTED,and  (gcm_ble_evt_handler) can't  receive BLE_GATTS_EVT_WRITE,the hid descriptor have  keyboard  and  mose, the  another is different; I  use adb  debug  to  see  the event (the  command  is  adb  shell  getevent -i),but  I  can't  see  information. How  can  I do.   SDK15.2  works  well.

Children
No Data
Related