Hello,
I am using 12 bit ADC in my application but data element more than 8bit is not send correctly, Also not receiving Array[10000] element. I am using nrf52.
Thank You, Ram
Sorry Ram, your question doesn't make sense. You will need to tell us much more: what exactly are you doing, what FW/example project/stack/SDk version/HW you use, what steps pass and where you see the problem. If you just say "I'm trying to send lot of 12-bit ADC samples over NUS and I don't see them on receiver's side" then obviously the only answer is "you have some bug in your FW or flaw in your design, go back and debug".
Several ways to do this, all of them covered numerous times in the forum. I'm a fan of doing something like this for 16 bits or two bytes (from here you can work out the for loops and counters required)
nus_to_send_array[0] = (Array[0] & 0xFF00) >> 8;
nus_to_send_array[1] = (Array[0] & 0x00FF);
...
nus_to_send_array[18] = (Array[9] & 0xFF00) >> 8;
nus_to_send_array[19] = (Array[9] & 0x00FF);
ble_attempt_to_send(nus_to_send_array, sizeof(nus_to_send_array));