Grove Ble V1.0 - Unable to receive Data sent via Ble on my Android Phone

Hi I’m using a grove ble V1.0 with a UART(RX, TX) connection to my STM32 NUCLEO F411 RE.
I’m trying to send strings to my Android phone but once I’m connected I can’t receive anything
else than the bluetooth chip address. I had no problems doing it with lightblue on my Iphone
so I don’t understand why it doesn’t work on my Android.

I set the following parameters :

  • Baud rate = 115200
  • Word length = 8 bits (including Parity)
  • Parity = none
  • Stop Bits = 1

I use the following lines to send the test string :

test[256];
strcpy(test, “test\n”);
[…]
while(1){

HAL_UART_Transmit(&huart1, (uint8_t*)test, strlen(test), 10000);
HAL_UART_Receive(&huart1, (uint8_t*)test, strlen(test), 10000);
HAL_UART_Transmit(&huart2, (uint8_t*)test, strlen(test), 10000);

}

huart2 corresponds to my laptop and huart1 to the bluetooth chip.
I can send more specific details if it can help.

Thank’s in advance.