/*
  ArduinoNRF_Thread.h - umbrella header for the NiusThread library.

  Thread (OpenThread) IPv6 mesh networking on the ArduinoNRF nRF52840's own
  2.4 GHz radio. The full OpenThread FTD stack (plus mbedtls) is vendored in
  src/ and runs on a register-level IEEE 802.15.4 driver - no SoftDevice, no
  external module.

  Two API levels:
    * Friendly:  the `Thread` object (alias `NiusThread`) - begin() /
                 setNetwork() / start() / process() / role(). See Thread.h.
    * Official:  the complete OpenThread C API. Grab the instance with
                 Thread.instance() and call any otXxx() function from
                 <openthread/thread.h>, <openthread/udp.h>, ...

  Peripherals used: RADIO (exclusive with NimBLE / Zigbee / NrfRadio),
  RTC2 (millisecond alarm), TIMER3 (microsecond alarm + timestamps).
*/
#ifndef ARDUINONRF_THREAD_H
#define ARDUINONRF_THREAD_H

#define ARDUINONRF_THREAD_VERSION "0.1.0"

#include "Thread.h"

// Alias for sketches that prefer an unambiguous name (e.g. when another
// library also defines something called `Thread`).
extern ThreadClass &NiusThread;

#endif // ARDUINONRF_THREAD_H
