symbols codepage with SerialBT

Lagunax
Posts: 21
Joined: Mon Sep 09, 2019 8:24 pm

symbols codepage with SerialBT

Postby Lagunax » Mon Oct 14, 2019 11:26 am

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?

Who is online

Users browsing this forum: No registered users and 81 guests