Lora OTA device for Everynet

Dependencies:   LMiCLibOTADeviceEverynet SX1276Lib X_NUCLEO_IKS01A1 cantcoap lwip mbed-rtos mbed

Fork of LoRaWAN-test-10secs by Alcatel-Lucent IoT Development

Committer:
pnysten
Date:
Fri Sep 23 09:18:35 2016 +0000
Revision:
14:3821b54ff94b
Parent:
10:155dc60fce79
Lora OTA device for Everynet

Who changed what in which revision?

UserRevisionLine numberNew contents of line
mluis 1:60184eda0066 1 /*******************************************************************************
mluis 1:60184eda0066 2 * Copyright (c) 2014-2015 IBM Corporation.
mluis 1:60184eda0066 3 * All rights reserved. This program and the accompanying materials
mluis 1:60184eda0066 4 * are made available under the terms of the Eclipse Public License v1.0
mluis 1:60184eda0066 5 * which accompanies this distribution, and is available at
mluis 1:60184eda0066 6 * http://www.eclipse.org/legal/epl-v10.html
mluis 1:60184eda0066 7 *
mluis 1:60184eda0066 8 * Contributors:
mluis 1:60184eda0066 9 * IBM Zurich Research Lab - initial API, implementation and documentation
mluis 1:60184eda0066 10 *******************************************************************************/
pnysten 10:155dc60fce79 11 #include "mbed.h"
mluis 1:60184eda0066 12
mluis 1:60184eda0066 13 // intialize debug library
mluis 1:60184eda0066 14 void debug_init (void);
mluis 1:60184eda0066 15
mluis 1:60184eda0066 16 // set LED state
mluis 1:60184eda0066 17 void debug_led (u1_t val);
mluis 1:60184eda0066 18
mluis 1:60184eda0066 19 // write character to USART
mluis 1:60184eda0066 20 void debug_char (u1_t c);
mluis 1:60184eda0066 21
mluis 1:60184eda0066 22 // write byte as two hex digits to USART
mluis 1:60184eda0066 23 void debug_hex (u1_t b);
mluis 1:60184eda0066 24
mluis 1:60184eda0066 25 // write buffer as hex dump to USART
mluis 1:60184eda0066 26 void debug_buf (const u1_t* buf, u2_t len);
mluis 1:60184eda0066 27
mluis 1:60184eda0066 28 // write 32-bit integer as eight hex digits to USART
mluis 1:60184eda0066 29 void debug_uint (u4_t v);
mluis 1:60184eda0066 30
mluis 1:60184eda0066 31 // write nul-terminated string to USART
pnysten 4:5e274bf85bf0 32 void debug_str (const char* str);
mluis 1:60184eda0066 33 void debug_str (const u1_t* str);
mluis 1:60184eda0066 34
mluis 1:60184eda0066 35 // write LMiC event name to USART
mluis 1:60184eda0066 36 void debug_event (int ev);
mluis 1:60184eda0066 37
mluis 1:60184eda0066 38 // write label and 32-bit value as hex to USART
pnysten 4:5e274bf85bf0 39 void debug_val (const char* label, u4_t val);
mluis 1:60184eda0066 40 void debug_val (const u1_t* label, u4_t val);