Hi All,
I am currently implementing Write communication, referring to ble_app_blinky in example.
When the phone gives the command, the program will run this function, as shown below.

The data will be stored in p_evt_write->data[0], and the structure type of data[0] in ble_gatts_evt_write_t is uint8_t data[1];
If the command under my phone is an array, how should I modify it to receive all the information?
Best regards,
Kai