# GW nRF52811 selftest

The nRF52811 on Ruuvi GW will run a self-test at boot to verify it is operational. The self-test will check that data can be received over Bluetooth and the communication with ESP32 is working.

To test communication with the ESP32, nRF52 will query for scan parameters from ESP32 and wait for a reply. Once scan parameters have been received, nRF52 will start scanning.

If no new advertisements have been received within a few scan cycles, the watchdog reboots the nRF52, which requests the scan parameters again.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.ruuvi.com/ruuvi-gateway-firmware/gw-nrf52-firmware/gw-nrf52811-selftest.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
