I want to convert raw hex bytes to utf8 format. The nRF5 SDK supported this with help of ble_srv_ascii_to_utf8() api. Is there something similar api available with nRF Connect SDK?
I want to convert raw hex bytes to utf8 format. The nRF5 SDK supported this with help of ble_srv_ascii_to_utf8() api. Is there something similar api available with nRF Connect SDK?
Hi Aniket,
Do you need to convert raw UTF-8 encoded hex bytes to UTF-8, or do you need to convert ASCII-encoded bytes to UTF-8?
If your input is in ASCII, then it is already UTF-8 encoded, because ASCII is a subset of UTF-8.
Hieu
Hi Aniket,
Do you need to convert raw UTF-8 encoded hex bytes to UTF-8, or do you need to convert ASCII-encoded bytes to UTF-8?
If your input is in ASCII, then it is already UTF-8 encoded, because ASCII is a subset of UTF-8.
Hieu