This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

BLE link with nrf52480

I would like to establish a BLE unencrypted link to send text messages. I have nRF52480, nRF51 USB dongle, and a mobile phone. I run Ubuntu 14.04 and Win10. It is not clear how to establish BLE link. The document one Nordic website is frustrating!!!

Could anyone help me? how to start such link?

Parents
  • First of all you are duplicating questions, don' do it.

    Secondly the problem as I see it isn't poor documentation (there are thousands of pages of documentation to Nordic nRF5x chips and SDK on Infocenter as well as Tutorials and Blogs) but your lack of understanding how Bluetooth works.

    The simple answer to your question "how to establish BLE connection between nRF5x device and mobile phone or Linux/Windows PC" would be "the same way as any other BLE connection: exactly according to BT SIG Core specification".

    Now after being nasty there might be some more practical advice: go to Wikipedia or Google and read at least 3 introductions to how BLE stack work. After you will understand very basics like the fact that BLE connection (as any other BT variant) is always peer to peer, that it is asymmetric in terms of Master/Slave roles, that life-cycle has two stages (broadcasting/advertising and scanning roles and then Master/Central and Slave/Peripheral roles), that there are at least layers which you should understand (Link Layer = LL, Generic ATTribute Protocol = GATT and Generic Access Profile = GAP) and play with basic example BLE apps on your PC/Mobile which exercise this GAP Peripheral/Central and GATT Server/Client roles to match each other. Then you are ready to go to basic nRFx tutorials which will help you to select proper example FW for your nRFx board and connect to it from Android/iOS phone or Windows app (typically it's Nordic BLE UART Service aka NUS example FW and Heart Rate Monitor Service/Profile aka HRM example FW, for both there are off-the-shelf counterparts on your favorite rich OS platforms;).

    Good luck

Reply
  • First of all you are duplicating questions, don' do it.

    Secondly the problem as I see it isn't poor documentation (there are thousands of pages of documentation to Nordic nRF5x chips and SDK on Infocenter as well as Tutorials and Blogs) but your lack of understanding how Bluetooth works.

    The simple answer to your question "how to establish BLE connection between nRF5x device and mobile phone or Linux/Windows PC" would be "the same way as any other BLE connection: exactly according to BT SIG Core specification".

    Now after being nasty there might be some more practical advice: go to Wikipedia or Google and read at least 3 introductions to how BLE stack work. After you will understand very basics like the fact that BLE connection (as any other BT variant) is always peer to peer, that it is asymmetric in terms of Master/Slave roles, that life-cycle has two stages (broadcasting/advertising and scanning roles and then Master/Central and Slave/Peripheral roles), that there are at least layers which you should understand (Link Layer = LL, Generic ATTribute Protocol = GATT and Generic Access Profile = GAP) and play with basic example BLE apps on your PC/Mobile which exercise this GAP Peripheral/Central and GATT Server/Client roles to match each other. Then you are ready to go to basic nRFx tutorials which will help you to select proper example FW for your nRFx board and connect to it from Android/iOS phone or Windows app (typically it's Nordic BLE UART Service aka NUS example FW and Heart Rate Monitor Service/Profile aka HRM example FW, for both there are off-the-shelf counterparts on your favorite rich OS platforms;).

    Good luck

Children
No Data
Related