HM-10 BLE responds only to AT

this is driving me nuts!

I have an Arduino Nano connected to the HM-10 I can send AT and receive OK but any other command and i get no response! I can connect to it via bluetooth.

When sending the AT commands I'm not connected and I don't have any line termination and the red LED is flashing.

I try to send AT+BAUD2 and i get nothing back same for AT+VERS?

But i send AT and i get OK so the serial interface is ok!

I once managed to get it to take a name change but cannot even get it to do that again!
AT+NAMETESTNAME

on other boards you need to bring a pin low to enter AT mode this board has a BRK pin but in the data sheet it doesn't mention needed to use it... the HM-10 is on the per soldered logic level board that only has 6 pins:
Status
VCC
GND
TXD
RXD
BRK

Any help please!?

#include <SoftwareSerial.h>

SoftwareSerial BTSerial(11, 10); // RX | TX

void setup()
{
  Serial.begin(38400);
  Serial.println("Enter AT commands:");
  BTSerial.begin(9600);  // HM-10 default speed in AT command more
}

void loop()
{

  // Keep reading from HC-05 and send to Arduino Serial Monitor
  if (BTSerial.available())
    Serial.write(BTSerial.read());

  // Keep reading from Arduino Serial Monitor and send to HC-05
  if (Serial.available())
    BTSerial.write(Serial.read());
}

We i have it working but not sure why I can just do what others appear to do!

by adding each command directly after the serial begin so that it opens the port and issues the command without delay it will take the First command and display the response there after its back to just AT and OK!

so to set the name i did this:

#include <SoftwareSerial.h>

SoftwareSerial BTSerial(11, 10); // RX | TX

void setup()
{
  Serial.begin(38400);
  Serial.println("Enter AT commands:");
  BTSerial.begin(9600);  // HM-10 default speed in AT command more
  BTSerial.write("AT+NAMETESTNAME"); // entered each command here and uploaded 1 at a time!

}

void loop()
{

  // Keep reading from HC-05 and send to Arduino Serial Monitor
  if (BTSerial.available())
    Serial.write(BTSerial.read());

  // Keep reading from Arduino Serial Monitor and send to HC-05
  if (Serial.available())
    BTSerial.write(Serial.read());
}

Sorry to resurrect an old thread but the solution above worked for me. Thanks. I though the HC-10 was faulty

Later I've found that is better to use a usb to uart directly to comunicate with this bluetooth module. Now I'm using CuteCom in Ubuntu and works without any issue