HM-10 AT command doesn't work

cattledog:
I've done a bit more reading on the HM 10, and I'm still not certain if your module is working properly, because you have never seen the AT > OK.

The wiring in your first posting was backwards, and the code was not quite correct. Try this AT sketch which comes from this tutorial https://arduino-info.wikispaces.com/HM-10%20Bluetooth%20LE

It is the nearly same as your first sketch, but adds a Serial.write to the last section to echo the Bluetooth back to the serial monitor. There are two important things to note. First, the module should not be connected to the phone. I think that means there is a blinking light. The AT mode will not work when connected. That is why you need the echo back to the monitor as there can be no phone involved.

Second, there appear to be several versions of HM10 firmware, and some modules want a NL and CR, and others do not want that.
So, when you send AT from the monitor looking for the OK response, try it with no line ending and with the NL and CR.

#include <SoftwareSerial.h>

SoftwareSerial BTserial(3, 4); //Create software serial instance, pins of your choice

char c = ' ';

// Initialization
void setup()
{
  Serial.begin(9600);
  Serial.print("Sketch:  ");  Serial.println(FILE);
  Serial.print("Uploaded: ");  Serial.println(DATE);
  Serial.println(" ");

BTserial.begin(9600);
  Serial.println("BTserial started at 9600");
}

// Arduino Execution Loop
void loop()
{
  // Read from the Bluetooth module and send to the Arduino Serial Monitor
  if (BTserial.available())
  {
    c = BTserial.read();
    Serial.write(c);
  }

// Read from the Serial Monitor and send to the Bluetooth module
  if (Serial.available())
  {
    c = Serial.read();
    BTserial.write(c);
    Serial.write(c);
  }
}

Thank you so much for trying to help me but it still doesn't works, I'm already frustrated!
I have tried all your advice and it's still no response.
first i have tried it with closed serial monitor and pare my app and than i have tried to receive OK with AT command.

i also tried the following code:

void setup()
{
// Open serial communications and wait for port to open:
Serial.begin(57600);
Serial1.begin(57600);
while (!Serial) {
Serial.println("Waiting"); // wait for serial port to connect. Needed for Leonardo only
}

Serial.println("Goodnight moon!");
Serial.println("1");
Serial1.println("Hello, world?");
Serial.println("2");
}

void loop() {
if (Serial1.available())
    Serial.write(Serial1.read());
if (Serial.available())
    Serial1.write(Serial.read());
}

when i open the serial monitor (57600, NL&CR) i receive :
"waiting
goodnight moon
1
2"

but in my app i see nothing!
tried the "LightBlue" app and also the "serial lite" (using iphone 7)
my HM-RX connected to arduino TX and HM-TX to arduino RX, also tried to connect the HM RX,TX to pins 10,11 respectively according to the guidelines in the example of serialsoftware.

so the problem is probably with my connection of HM to arduino?

thank you!