espressif / esp-at

AT application for ESP32/ESP32-C2/ESP32-C3/ESP32-C6/ESP8266
Apache License 2.0
900 stars 815 forks source link

NOTIFY not in HEX and cannot be stopped #485

Open Bmooij opened 4 years ago

Bmooij commented 4 years ago

Environment

Problem Description

The command AT+BLEGATTCWR=0,4,2,1,2 starts notifying, but the values are not in HEX. And cannot stop the notified messages.

Expected Behavior

I would expect +NOTIFY:0,4,2,20,<HEX>

Actual Behavior

Actual Behavior +NOTIFY:0,4,2,20,<RAW Bytes>

Steps to repropduce

  1. AT+BLEINIT=1
  2. AT+BLECONN=0,"<remote_address>"
  3. AT+BLEGATTCWR=0,4,2,1,2

// It helps if you attach a picture of your setup/wiring here. Bluetooth Characteristics for 0,4,2 +BLEGATTCCHAR:"char",0,4,2,0x,0x34 +BLEGATTCCHAR:"desc",0,4,2,1,0x2902

Bmooij commented 4 years ago

Writing {0x01, 0x00} should start the notifieer and writing {0x00, 0x00} should stop the notifieer

peterantypas commented 3 years ago

Just verified this affects ESP32-WROOM as well.