This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

sending Schnittstelle (String etc) through ble instead uart?

Hi,

I want send a Data such as string or array, for that i took a look example ble_app_uart from the example we send a data from smartphone through ble but the microcontroller send it to pc via UART  my question is, is it possible to send string direct via ble? i'v read it in another post that we can create our own custom gatt service, can we send such an order via custom service?

because at the end i want to send an order to my device if i need to use uart there must be a long wire connected to my device.

Parents Reply
  • Hi thanks for your respond but i'm having a hard time finding where the received data stored.

    my idea is using a switch case, example if i send '1' from a phone i want the board gives me 'Hello',

    other microcontroller that i used to work with has a variable or memory called sbuff where all the received data stored in.

    do we have such a variable so i can easily used for my switch case?

    best regard and happy new year

    Andhika

Children
Related