ESP32 AT command BT CLASSIC
Posted: Wed Mar 27, 2019 2:02 pm
Hi,
i'm trying to use BT Classic by AT Command, on esp32-pico-d4.
I'm using spp connection, i receive byte but i lose many byte, this is what happen:
This i right, i receive 3 byte (1D 49 03) seguito dallo 0d 0a
2B 42 54 44 41 54 41 3A 33 2C 1D 49 03 0D 0A -->> +BTDATA:3,.I...
this is wrong:
2B 42 54 44 41 54 41 3A 39 38 39 2C 18 1B 2A 72 +BTDATA:989,.......
30 44 18 1B 32 1B 2A 6F 30 51 1B 2A 74 32 30 30 .............
52 1B 26 6C 39 35 32 50 1B 26 6B 34 57 1B 2A 70 .............
31 36 59 1B 2A 62 32 4D 1B 2A 62 32 30 57 0D 0A ..................
2B 42 54 44 41 54 41 3A 39 38 39 2C 02 FE 0D 0A +BTDATA:989,.....
2B
i wait 989 byte in first packet, but the byte between +BTDATA aren't 989 are very very less.
Someone can help me?
Can explain me what happen?
Thanks,Marco
i'm trying to use BT Classic by AT Command, on esp32-pico-d4.
I'm using spp connection, i receive byte but i lose many byte, this is what happen:
This i right, i receive 3 byte (1D 49 03) seguito dallo 0d 0a
2B 42 54 44 41 54 41 3A 33 2C 1D 49 03 0D 0A -->> +BTDATA:3,.I...
this is wrong:
2B 42 54 44 41 54 41 3A 39 38 39 2C 18 1B 2A 72 +BTDATA:989,.......
30 44 18 1B 32 1B 2A 6F 30 51 1B 2A 74 32 30 30 .............
52 1B 26 6C 39 35 32 50 1B 26 6B 34 57 1B 2A 70 .............
31 36 59 1B 2A 62 32 4D 1B 2A 62 32 30 57 0D 0A ..................
2B 42 54 44 41 54 41 3A 39 38 39 2C 02 FE 0D 0A +BTDATA:989,.....
2B
i wait 989 byte in first packet, but the byte between +BTDATA aren't 989 are very very less.
Someone can help me?
Can explain me what happen?
Thanks,Marco