How to increase the packet size for sd_ble_gattc_write

We are using nrf52832 with S132 for our application.

Central device connect to Peripheral using sd_ble_gap_connect() api and then uses sd_ble_gattc_write() to write the data.

We are currently able to send only 20 bytes per packet but we want to send upto 128 bytes of data.

Can anyone help me to achieve this?

Related