This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

S120 and S130 Peripherial not working

Hi, I tried to migrate S110 example code with uart_ble service , which is working fine on S110, to S120 v2 soft device. Fix some minor missmatch with configuration structures. And trap to a problem that This approach dousen't work at all - device don't send Advertising This was done for S130 - same trouble.

Also I tried to migrate Step by Step from S110 to S130. Sucessfully fix Advertising - it work and connection established. But When I add several services - Service Discovery of Master unable to find services.

Look's like S120 and S130 unable to work as S110 without some fixes.

Could you prease suggest how to share this project ?

May be somwhere possible to download working example of Slave role under S130 or S120 v2 soft device. if yes ? please suggest. I didn't found anything like this in Github.

Thanks.

Parents
  • FormerMember
    0 FormerMember

    There is now a SDK based S130 example on github, it can be found here.

    If service discover fails in your application in Master Control Panel, the problem is most likely that the event BLE_GATTS_EVT_SYS_ATTR_MISSING is not being handled. If the application doesn't support boding, it can for example be handled the following way in on_ble_evt(..) in main.c:

    case BLE_GATTS_EVT_SYS_ATTR_MISSING:
            err_code = sd_ble_gatts_sys_attr_set(m_peripheral_conn_handle, NULL, 0);
            APP_ERROR_CHECK(err_code);
            break;
    
Reply
  • FormerMember
    0 FormerMember

    There is now a SDK based S130 example on github, it can be found here.

    If service discover fails in your application in Master Control Panel, the problem is most likely that the event BLE_GATTS_EVT_SYS_ATTR_MISSING is not being handled. If the application doesn't support boding, it can for example be handled the following way in on_ble_evt(..) in main.c:

    case BLE_GATTS_EVT_SYS_ATTR_MISSING:
            err_code = sd_ble_gatts_sys_attr_set(m_peripheral_conn_handle, NULL, 0);
            APP_ERROR_CHECK(err_code);
            break;
    
Children
No Data
Related