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

serve web page from nRF52DK via BLE

Hello,

I want to serve webpage from nRF52DK via BLE. In fact I got the kit specifically for this task. I have installed GCC, Eclipse and SDK for IOT. Thanks to the nice tutorials on this website I got everything working properly: can compile and load examples to the board without problems. SDK for IOT contains several examples for different protocols over BLE (tcp, dns, ftp etc). I am not very familiar with different internet protocols. Please help me to find the best way to serve webpage (html, css, js) from nRF52DK via BLE. Also reading through documentation for IOT SDK I got confused by the fact that everything starts with Raspberry Pi - is this a requirement for any IOT project? Thank you.

Parents
  • As @awneil pointed out, you need to have basic understanding of the protocols on which the internet is built before jumping into setting up webpages and interfacing these with IoT devices. I suggest that you take a closer look at HTTP and the transport protocol it uses TCP.

    The nRF52 only communicates over BLE and needs to connect to a BLE-enabled router, which in turn is connected to the internet, in order to communication through IPv6.

    We use the Raspberry Pi as our BLE-enabled router due to its popularity and large community, but you may use other devices as your BLE-enabled router

    -Bjørn

  • Thanks, I will educate myself on internet protocols.

    For now I want to work locally without sending anything to the internet. I just need to be able to access web content (GUI) from nRF52 over BLE with BLE-enabled client in browser so that user can communicate with nRF52 (sending commands and receiving responses). Can I use BLE-enabled device such as Android tablet or laptop with Bluetooth 4 dongle to work as a client and router in this case?

Reply
  • Thanks, I will educate myself on internet protocols.

    For now I want to work locally without sending anything to the internet. I just need to be able to access web content (GUI) from nRF52 over BLE with BLE-enabled client in browser so that user can communicate with nRF52 (sending commands and receiving responses). Can I use BLE-enabled device such as Android tablet or laptop with Bluetooth 4 dongle to work as a client and router in this case?

Children
No Data
Related