Page 1 of 1

symbols codepage with SerialBT

Posted: Mon Oct 14, 2019 11:26 am
by Lagunax
Hi all.
using BluetoothSerial.h in project. trying to make BT-terminal, but stopped on encoding symbols.
sending 0123456789\n gives me strange codes with SerialBT.read():

symbol=code(dec)(int-value)
0=480
1=491
2=502
3=513
4=524
5=535
6=546
7=557
8=568
9=579
new line = 13 10 <- those codes are correct

in any codepages 0-9 numbers are 0x30-0x39 codes

Who can tell me where to find symbol-code-table for results of SerialBT.read?