For a uint16 values, you need to split it into high byte and low byte. Place the low byte in the bvalue and high byte in the bvalue.
Basically, it is always stored as an array of uint8.
- Madhu Sudhan
Thank you for the reply, it works fine now.
Best Regards Jonas.V