This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Send Data from nrf51-dk to Esp8266

Hi all Nordic developers,

I am currently working on nrf51 to scan all the nearby beacon and then i wish to send the data to the esp8266. I already able to scan all the beacon, and it's working. However, i face difficulties to push the scan result to the ESP8266. Is it possible to do that? If yes, is that any method, or suggestions to do that??

Parents
  • Am I correct to assume that the nRF51 and the ESP8266 is on the same board? If so, it should be possible for them to communicate using SPI, I2C or UART, as all are supported by both devices.

  • There is no example that I am aware of that demonstrates how to forward scan results over UART, but it should be fairly straight forward. You can take a central example from the SDK (such as the BLE Heart Rate Collector Example). There you can see the handling of advertising events (BLE_GAP_EVT_ADV_REPORT). You could modify the code there to either parse and forward parts of the advertising data via some serial interface to the other chip, or you can transfer the whole thing raw. If you want to start with UART and a terminal, you may also want to look at the UART Example for how to do that.

Reply
  • There is no example that I am aware of that demonstrates how to forward scan results over UART, but it should be fairly straight forward. You can take a central example from the SDK (such as the BLE Heart Rate Collector Example). There you can see the handling of advertising events (BLE_GAP_EVT_ADV_REPORT). You could modify the code there to either parse and forward parts of the advertising data via some serial interface to the other chip, or you can transfer the whole thing raw. If you want to start with UART and a terminal, you may also want to look at the UART Example for how to do that.

Children
No Data
Related