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

keil V5 compile error when I called sd_ble_gatts_sys_attr_set for NRF51822

When I call the function sd_ble_gatts_sys_attr_set, the compile error "source\ble.c(142): error: #165: too few arguments in function call" showed in Keil V5. But I found just 3 arguments in this fuction in nRF_Sericalization/1.1.1/application/codecs/s110/middleware/app_mw_ble_gatts.c, how to fix it?

uint32_t sd_ble_gatts_sys_attr_set(uint16_t conn_handle, uint8_t const * const p_sys_attr_data, uint16_t len)

err_code = sd_ble_gatts_sys_attr_set(m_conn_handle, NULL, 0);

Parents Reply Children
No Data
Related