AllWize Library
Data Structures | Macros
AllWize.h File Reference
#include <Arduino.h>
#include "RC1701HP.h"
#include <Stream.h>
Include dependency graph for AllWize.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  allwize_message_t
 
class  AllWize
 

Macros

#define MODEM_BAUDRATE   19200
 
#define GPIO_NONE   0x99
 
#define CONTROL_INFORMATION_WIZE   0x20
 
#define CONTROL_INFORMATION   0x67
 
#define END_OF_RESPONSE   '>'
 
#define CMD_ENTER_CONFIG   (char) 0x00
 
#define CMD_EXIT_CONFIG   (char) 0x58
 
#define CMD_EXIT_MEMORY_ENABLE_RF   (char) 0xFD
 
#define CMD_EXIT_MEMORY_DISABLE_RF   (char) 0xFF
 
#define CMD_AWAKE   (char) 0xFF
 
#define CMD_EXIT_MEMORY   (char) 0xFF
 
#define RX_BUFFER_SIZE   255
 
#define DEFAULT_TIMEOUT   1000
 
#define HARDWARE_SERIAL_PORT   1
 
#define SIGNATURE_FIELD   0x04
 
#define START_BYTE   0x68
 
#define STOP_BYTE   0x16
 
#define DEFAULT_MBUS_MODE   MBUS_MODE_N1
 
#define ALLWIZE_DEBUG_PRINT(...)
 
#define ALLWIZE_DEBUG_PRINTLN(...)
 

Macro Definition Documentation

◆ ALLWIZE_DEBUG_PRINT

#define ALLWIZE_DEBUG_PRINT (   ...)

Definition at line 85 of file AllWize.h.

◆ ALLWIZE_DEBUG_PRINTLN

#define ALLWIZE_DEBUG_PRINTLN (   ...)

Definition at line 86 of file AllWize.h.

◆ CMD_AWAKE

#define CMD_AWAKE   (char) 0xFF

Definition at line 50 of file AllWize.h.

◆ CMD_ENTER_CONFIG

#define CMD_ENTER_CONFIG   (char) 0x00

Definition at line 46 of file AllWize.h.

◆ CMD_EXIT_CONFIG

#define CMD_EXIT_CONFIG   (char) 0x58

Definition at line 47 of file AllWize.h.

◆ CMD_EXIT_MEMORY

#define CMD_EXIT_MEMORY   (char) 0xFF

Definition at line 51 of file AllWize.h.

◆ CMD_EXIT_MEMORY_DISABLE_RF

#define CMD_EXIT_MEMORY_DISABLE_RF   (char) 0xFF

Definition at line 49 of file AllWize.h.

◆ CMD_EXIT_MEMORY_ENABLE_RF

#define CMD_EXIT_MEMORY_ENABLE_RF   (char) 0xFD

Definition at line 48 of file AllWize.h.

◆ CONTROL_INFORMATION

#define CONTROL_INFORMATION   0x67

Definition at line 44 of file AllWize.h.

◆ CONTROL_INFORMATION_WIZE

#define CONTROL_INFORMATION_WIZE   0x20

Definition at line 43 of file AllWize.h.

◆ DEFAULT_MBUS_MODE

#define DEFAULT_MBUS_MODE   MBUS_MODE_N1

Definition at line 58 of file AllWize.h.

◆ DEFAULT_TIMEOUT

#define DEFAULT_TIMEOUT   1000

Definition at line 53 of file AllWize.h.

◆ END_OF_RESPONSE

#define END_OF_RESPONSE   '>'

Definition at line 45 of file AllWize.h.

◆ GPIO_NONE

#define GPIO_NONE   0x99

Definition at line 42 of file AllWize.h.

◆ HARDWARE_SERIAL_PORT

#define HARDWARE_SERIAL_PORT   1

Definition at line 54 of file AllWize.h.

◆ MODEM_BAUDRATE

#define MODEM_BAUDRATE   19200

Definition at line 41 of file AllWize.h.

◆ RX_BUFFER_SIZE

#define RX_BUFFER_SIZE   255

Definition at line 52 of file AllWize.h.

◆ SIGNATURE_FIELD

#define SIGNATURE_FIELD   0x04

Definition at line 55 of file AllWize.h.

◆ START_BYTE

#define START_BYTE   0x68

Definition at line 56 of file AllWize.h.

◆ STOP_BYTE

#define STOP_BYTE   0x16

Definition at line 57 of file AllWize.h.