   //11 stats present flag only, unreported occupancy
   //7b 22 62 22 3a 31  {"b":1  Stats: note that implicit trailing '}' is not sent.
   //61 CRC value
-  const uint8_t buf2[] = { 0x0e, 0x4f, 0x02, 0x80, 0x81, 0x08, 0x7f, 0x11, 0x7b, 0x22, 0x62, 0x22, 0x3a, 0x31, 0x61 };
+  static const uint8_t buf2[] = { 0x0e, 0x4f, 0x02, 0x80, 0x81, 0x08, 0x7f, 0x11, 0x7b, 0x22, 0x62, 0x22, 0x3a, 0x31, 0x61 };
   AssertIsEqual(6, sfh.checkAndDecodeSmallFrameHeader(buf2, sizeof(buf2)));
   // Check decoded parameters.
   AssertIsEqual(14, sfh.fl);

  Serial.println();
  Serial.println();
  Serial.println();
  delay(2000);
  }

// All-zeros 16-byte/128-bit key.
static const uint8_t zeroKey[16] = { };

// Test a simple fixed-size enc/dec function pair.
// Aborts with Assert...() in case of failure.
static void runSimpleEncDec(const OTRadioLink::fixed32BTextSize12BNonce16BTagSimpleEnc_ptr_t e,
                            const OTRadioLink::fixed32BTextSize12BNonce16BTagSimpleDec_ptr_t d)
  {
  // Check that calling the NULL enc routine with bad args fails.
  AssertIsTrue(!e(NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL));
  static const uint8_t plaintext1[32] = { 'a', 'b', 'c', 'd', 2, 2, 2, 2, 3, 3, 3, 3, 4, 4, 4, 4 };
  static const uint8_t nonce1[12] = { 'q', 'u', 'i', 'c', 'k', ' ', 6, 5, 4, 3, 2, 1 };
  static const uint8_t authtext1[2] = { 'H', 'i' };
  // Output ciphertext and tag buffers.
  uint8_t co1[32], to1[16];
  AssertIsTrue(e(NULL, zeroKey, nonce1, authtext1, sizeof(authtext1), plaintext1, co1, to1));
  AssertIsEqual(0, memcmp(plaintext1, co1, 32));
  AssertIsEqual(0, memcmp(nonce1, to1, 12));
  AssertIsEqual(0, to1[12]);
  AssertIsEqual(0, to1[15]);
  // Check that calling the NULL decc routine with bad args fails.
  AssertIsTrue(!d(NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL));
  // Decode the ciphertext and tag from above and ensure that it 'works'.
  uint8_t plaintext1Decoded[32];
  AssertIsTrue(d(NULL, zeroKey, nonce1, authtext1, sizeof(authtext1), co1, to1, plaintext1Decoded));
  AssertIsEqual(0, memcmp(plaintext1, plaintext1Decoded, 32));
  }

// Test basic access to crypto features.
// Check basic operation of the simple fixed-sized encode/decode routines.
static void testCryptoAccess()
  {
  Serial.println("CryptoAccess");
  // NULL enc/dec.
  runSimpleEncDec(OTRadioLink::fixed32BTextSize12BNonce16BTagSimpleEnc_NULL_IMPL,
                  OTRadioLink::fixed32BTextSize12BNonce16BTagSimpleDec_NULL_IMPL);
//  // AES-GCM 128-bit key enc/dec.
//  runSimpleEncDec(OTAESGCM::fixed32BTextSize12BNonce16BTagSimpleEnc_DEFAULT_STATELESS,
//                  OTAESGCM::fixed32BTextSize12BNonce16BTagSimpleDec_DEFAULT_STATELESS);
  }


