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

Want to communicate between two devices using customised commands

Hi

I have 2 customised board with nrf52832, I wanted to communicate between 2 devices. Like to send commands like turn on/off LED from my one board to on/off LED on my second board. If I press button on one device it should be notified at other device etc.

Which BLE functionality I should refer for this ? Do I need to create any separate GATT service for this?

Thanks,

KRA

Parents
  • Thank you Karl. it seems like UART will work for me.

    I can use UART communication even if I don't want to use COM port on central side right?

    I am not sure if I can do this or not but in my application I dont want to use COM port for sending string/ data to my peripheral device.

    Thanks,

    KRA

  • Hello KRA,

    KRA said:
    Thank you Karl. it seems like UART will work for me.

    Great! I am happy to hear that you found the examples useful.

    KRA said:

    I can use UART communication even if I don't want to use COM port on central side right?

    I am not sure if I can do this or not but in my application I dont want to use COM port for sending string/ data to my peripheral device.

    You may replace the input source of the central with any source that you would like, that is fine.
    The important part for you is to see how the data inputted to the COM port is processed and sent to the peripheral - then you may do the exact same procedure with any other data, as long as it is compliant with the Nordic UART service.

    Best regards,
    Karl

Reply
  • Hello KRA,

    KRA said:
    Thank you Karl. it seems like UART will work for me.

    Great! I am happy to hear that you found the examples useful.

    KRA said:

    I can use UART communication even if I don't want to use COM port on central side right?

    I am not sure if I can do this or not but in my application I dont want to use COM port for sending string/ data to my peripheral device.

    You may replace the input source of the central with any source that you would like, that is fine.
    The important part for you is to see how the data inputted to the COM port is processed and sent to the peripheral - then you may do the exact same procedure with any other data, as long as it is compliant with the Nordic UART service.

    Best regards,
    Karl

Children
Related