Dear sir Now, I am trying multi-link examples at SDK5.2.0 S120 example. I found s120 central only can receive one byte data from s110 multi-link peripheral. Could we modify central and peripheral code to receive over one byte? Thanks.
/**@brief Function for toggling LEDS based on received notifications. *
- @param[in] p_ble_evt Event to handle. */ static void on_evt_hvx(ble_evt_t * p_ble_evt, client_t * p_client, uint32_t index) { if ((p_client != NULL) && (p_client->state == STATE_RUNNING)) { if ( ( p_ble_evt->evt.gattc_evt.params.hvx.handle == p_client->srv_db.services[0].charateristics[p_client->char_index].characteristic.handle_value ) && (p_ble_evt->evt.gattc_evt.params.hvx.len == 1) ) { if (p_ble_evt->evt.gattc_evt.params.hvx.data[0] == 0) { nrf_gpio_pin_clear(index + LED_PIN_NO_OFFSET); } else { nrf_gpio_pin_set(index + LED_PIN_NO_OFFSET); } } } }