I'm trying to enable basic commands with my device. Ideally I have a terminal open on a mac running nodejs or use the UART subapp in the nRF Toolbox App, type a special command character then press transfer.
There are a handful of apps in the examples that have uart somewhere in the name, but none of them seem to be able to simply abstract a put_char
and on_char_received
...as far as I've found. That's really all I'm looking for: Push a character out to the Tx buffer and then get an interrupt on a character received.
I'm tested with examples:
ble_app_hrs_s110_uart_pca10028
ble_app_hrs_s110_uart_stm_pca10028
ble_app_hts_s110_uart_pca10028
ble_app_proximity_s110_uart_pca10028
ble_app_uart_s110_pca10028
All the ROM and RAM settings under Options for Target -> Target are immediately wrong and it just gave me qualms about using this as a learning point in general. I did however get something from ble_app_uart_s110_pca10028
.
What is the most relevant example to consider when using the S110 soft device and working with a PCA10028 dev board?
What is the simplest way for me to integrate the simple firmware API of put_char
and on_char_received
into my own firmware project?