Hello, I have a nRF52832 DK and a nRF9160 DK and I would like to establish a Bluetooth connection between them and also send data to each other. How can I do that?
Hello, I have a nRF52832 DK and a nRF9160 DK and I would like to establish a Bluetooth connection between them and also send data to each other. How can I do that?
One of them will have to be a Central, and one will have to be a Peripheral.
Check the SDKs for examples.
Do you mean ble_app_uart_c and ble_app_uart? I have flashed them into the boards and not sure if they're working.
I have tried previously with ble_app_blinky_c on 52832 DK and ble_app_blinky on 9160 DK. I can see that the LED 2 on the 52832 DK turned on when it is connecting to the 9160 DK but LED 3 never turned on. Does it mean that the connection wasn't complete?
Do you mean ble_app_uart_c and ble_app_uart? I have flashed them into the boards and not sure if they're working.
I have tried previously with ble_app_blinky_c on 52832 DK and ble_app_blinky on 9160 DK. I can see that the LED 2 on the 52832 DK turned on when it is connecting to the 9160 DK but LED 3 never turned on. Does it mean that the connection wasn't complete?
The key thing with this kind of stuff is not to try to do both ends at once - otherwise, when you get problems, you don't know which end has the problem. Or it could be both.
This is why people like Nordic provide things like the nRF Connect app - it gives you a known-good platform to check against.
So check each end with the nRF Connect app first - to verify that each end is working on its own.
Sorry I'm not sure how to check that using nRF Connect app. Could you please explain more?
I have tested with the nRF Connect app. Basically, the UART works on the nRF52832 DK but not on the nRF9160 DK. Can I know which code should I flash on them in order to connect them together via Bluetooth?
Siang said:Do you mean ble_app_uart_c and ble_app_uart? I have flashed them into the boards and not sure if they're working.
None of these samples are supported on nrf9160 according to documentation. You can try with the LTE sensor gateway sample, and remove the cloud stuff if you don't need it. Remember to flash the HCI uart on the nrf52840 board controller.