how to generate app_uart_evt customly?

Hi Nordic Team,

Working Environment:

nRF52832 DK, nRF17.1.0 SDK, Keil uVision 5 IDE, Windowns10 pro PC.

I am working on ble_app_uart.c Peripheral example.

According to my understanding => Here when we press a keyboard button , the  'app_uart_evt' generated, so 'uart_evt_handler()'  function activated ,

collects  keyboard characters in 'data_array()'  and send to BLE connected device through NUS .

now, my requirement is , need to send characters by configuring development kit buttons . how can i acheive this.?

the 'bsp_event_t' configuration will not trigger uart_evt_handler().

any suggestions?

kind regards,

Deepthi

Parents Reply
  • Deep_Bang said:
    For your information, at receiver i.e nRF52840 DK end , i have successfully merged usbd_hid_composite .c example with ble_app_uart_c .

    Ah, if you want the characters to be typed into notepad, like with a keyboard, you can start out with the HID keyboard example instead.
    This example shows you how to have the DK 'type' characters on your computer, through registering as a keyboard instead of a generic UART input.

    Best regards,
    Karl

Children
Related