use SDK17.
central uses nRF52832 and peripheral uses nRF52810.
I want to implement the exchange of data with each other.
First, the central scanned and connected.
After that, how can I send data to Peripheral?
Thank you...
use SDK17.
central uses nRF52832 and peripheral uses nRF52810.
I want to implement the exchange of data with each other.
First, the central scanned and connected.
After that, how can I send data to Peripheral?
Thank you...
The whole point of Bluetooth is exactly to transfer data!
You can either use one of the standard Profiles defined by the Bluetooth SIG, or create your own. The SDK contains many examples using standard BT SIG Profiles.
For just transferring Arbitrary unstructured data, you could use (or, at least, start with) Nordic's Proprietary UART Service - NUS. There are examples in the SDK
Here's a tutorial on creating your own custor Services:
devzone.nordicsemi.com/.../ble-services-a-beginners-tutorial
Hi
I am looking at central -> ble_app_uart in example
I know that BLE_NUS_C_EVT_NUS_TX_EVT is sending DATA from ble_nus_c_ect_handler.
While connected to the peripheral, data cannot be viewed from the peripheral.
What is the problem?
Thank you.
Hi
I am looking at central -> ble_app_uart in example
I know that BLE_NUS_C_EVT_NUS_TX_EVT is sending DATA from ble_nus_c_ect_handler.
While connected to the peripheral, data cannot be viewed from the peripheral.
What is the problem?
Thank you.
Hi,
What is your setup when testing? Is your central programmed with the Nordic UART Service Client example and your peripheral with the UART/Serial Port Emulation over BLE example? Are you testing it as described in the part about testing for the NUS client example?
Best regards,
Marte
Hi,
Central is implemented on the basis of cle_uart_app_c, and peripheral is created by creating a service uuid, not an example. I want to read the service uuid that was created service uuid.
Best regards,
mjr
Start with the examples provided - then you will have a working basis from which to create your own setup.
awneil
I am also doing the same. The blinky example.
1) I did the peripheral example and I am able to see that in the phone app.
2) I did the central example and I think it connects to the peripheral bec as soon as I start the central, the peripheral just vanishes from the phone app.
3) I am not able to see the pushing of the button on central and blink the LED on peripheral or vice versa.
4) I am using:
a) ble_peripheral\experimental_ble_app_blinky as peripheral example
b) ble_central\experimental\ble_app_blinky_c as central example
c) Keil, nrf51822, S130 sodtdevice.
Please help me.
Do I need to change something in the code or am I missing something. (because the status of LED always remains high on both central and peripheral sides).
Hi,
You shouldn't have to make any changes to the example. Is LED 2 on, showing that the boards are connected to each other? If they're connected, then you should press button 1 on either board, and observe that LED 3 is on for the duration of the press on the other board, so you have to hold down button 1 in order for LED 3 to be on.
Best regards,
Marte