• Skip to main content
  • Skip to primary sidebar

RNTLab.com

The Ultimate Shortcut to Learn Electronics and Programming with Open Source Hardware and Software

  • Courses
  • Forum
    • Forum
    • Ask Question
  • Shop
  • Account
  • Blog
  • Login

ESP BLE AT instruction : AT+BLEGATTCWR—GATTC Writes Characteristic

Q&A Forum › Category: ESP32 › ESP BLE AT instruction : AT+BLEGATTCWR—GATTC Writes Characteristic
0 Vote Up Vote Down
Marc Rupprath asked 5 years ago

Hello,

I am facing a problem when using AT command set by using document:

https://www.espressif.com/sites/default/files/documentation/esp32_at_instruction_set_and_examples_en.pdf

See: 6.2.28. AT+BLEGATTCWR—GATTC Writes Characteristic

Problem is: How to send a byte, or sequence of bytes known as hex values.

Example : how to send  uint8_t SendData[]={0x08,0x00,0x81,0x00,0x10,0x51,0x00,0xA0};

as hex byte sequence or even large value 0x08008100105100A0 ?

Thnk in  advance

Question Tags: ESP BLE AT: AT+BLEGATTCWR GATTC Writes Characteristic
3 Answers
0 Vote Up Vote Down
Sara Santos Staff answered 5 years ago

Hi Marc.

Unfortunately, I’m not familiar with this subject.

I’ve found this piece of documentation: https://github.com/espressif/esp-at/blob/master/docs/ESP_AT_Commands_Set.md#526-esp32-only-atblegattcwrgattc-writes-characteristic

After the > shows up, you can send the data. But I’m not sure exactly how it works.

Are you trying to send AT commands in your Arduino sketch?

I hope this helps.

Regards,
Sara

0 Vote Up Vote Down
Marc Rupprath answered 5 years ago

Hello Sara,
thank you for the quick response,
i have found this github repository , too hand have opened a new issue about the subject.
Thanks so far:
Actually i did not use a scetch i tested AT command set with serial terminal window.
Because i have noticed some other issues/ limitations  within espressif AT command firmware
I will do it on my own at the end of the course 😉
 
Background:
 
i will use one of thease:
https://www.crowdsupply.com/macchina/superb
It is used inside this Ardoino based controller as a communication XBEE module:
https://www.dfrobot.com/product-1170.html?search=gamepad&description=true
 
I am looking for a versaitale programmable controller fitting in XBEE socket, because it has to perate in”Centralal” mode, i found .
 
Never mind:
I will implement BLE connection as well as Serial / SPI Exchange to gamecontroller on my own now, never mind 😉
 
 
 
 
 

0 Vote Up Vote Down
Sara Santos Staff answered 5 years ago

Hi MArc.
Thanks for sharing that with us.
Anyway, if you need further help, you just need to open a new question in our forum.
Regards,
Sara

Primary Sidebar

Login to Ask or Answer Questions

This Forum is private and it’s only available for members enrolled in our Courses.

Login »

Latest Course Updates

  • [New Edition] Build ESP32-CAM Projects eBook – 2nd Edition April 16, 2025
  • [eBook Updated] Learn ESP32 with Arduino IDE eBook – Version 3.2 April 16, 2025

You must be logged in to view this content.

Contact Support - Refunds - Privacy - Terms - MakerAdvisor.com - Member Login

Copyright © 2013-2025 · RandomNerdTutorials.com · All Rights Reserved

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.