Hello.
I am currently making a data transmission program with BLE.
We will create our own custom service and send it in “Notify” format.
I want to send 2D array data.
The following values were assigned to the data in the “ble_gatts_hvx_params_t” structure on the peripheral side.
"p.data" = 2D array address
"p_len" = address of variable (& len) with the number of array elements
On the other hand. The “data” in the “ble_gattc_evt_hvx_t” structure on the central side has been set as follows.
data [2] [10]
When set to the following and executed.
All the data was a one-dimensional array.
Is it all converted to a one-dimensional array when sending data?
Also, I would be happy if you could advise me if there is a mistake in my method.
Thank you.