I'm working on pca10059(nRF52840 dongle) to send UART data over bluetooth to another device.
My test environment is,
Arduino Uno to send uart signal using "mySerial.write("Hello World\n");",
pca10059 device that I'm trying to develop to send uart data above to another device over bluetooth,
another pca10059 device to receive the data over bluetooth and send Serial signal to see the data on PC to make sure the "Hello World" travels fine.
(1) I've modified the project in example/ble_peripheral/ble_app_uart to send arbitrary data(series of uint8_t signal) to another dongle and I could see the data in Python IDLE.
(2) I've checked the arduino wiring is correct by testing a project below link.
I've changed the code (1) a little bit to see if I could send uart to the other dongle. It didn't work.
Most of what I've done is changing the TX RX pin number to suit wiring setup.
What's hard to understand is the project already has uart_event_handle function in the main.c and it uses ble_nus_data_send function just like (1) but it seems it's not responding to uart signal sent from arduino or it's not sending the received uart signal.
uart_init() was also called to activate uart.
Although I couldn't check arduino's uart signal, I'm quite sure (2) project's success in test indicates it's not a problem of connection or arduino code. Correct me if I'm wrong.