wirepas 2.1.0.0
Wirepas Device Settings

Settings for registers of Wirepas Click driver. More...

Macros

#define WIREPAS_DSAP_DATA_TX_REQUEST   0x01
 Wirepas control commands.
 
#define WIREPAS_DSAP_DATA_TX_CONFIRM   0x81
 
#define WIREPAS_DSAP_DATA_TX_TT_REQUEST   0x1F
 
#define WIREPAS_DSAP_DATA_TX_TT_CONFIRM   0x9F
 
#define WIREPAS_DSAP_DATA_TX_INDICATION   0x02
 
#define WIREPAS_DSAP_DATA_TX_RESPONSE   0x82
 
#define WIREPAS_DSAP_DATA_RX_INDICATION   0x03
 
#define WIREPAS_DSAP_DATA_RX_RESPONSE   0x83
 
#define WIREPAS_MSAP_INDICATION_POLL_REQUEST   0x04
 Wirepas MSAP attributes primitive ID.
 
#define WIREPAS_MSAP_INDICATION_POLL_CONFIRM   0x84
 
#define WIREPAS_MSAP_STACK_START_REQUEST   0x05
 
#define WIREPAS_MSAP_STACK_START_CONFIRM   0x85
 
#define WIREPAS_MSAP_STACK_STOP_REQUEST   0x06
 
#define WIREPAS_MSAP_STACK_STOP_CONFIRM   0x86
 
#define WIREPAS_MSAP_STACK_STATE_INDICATION   0x07
 
#define WIREPAS_MSAP_STACK_STATE_RESPONSE   0x87
 
#define WIREPAS_MSAP_APP_CONFIG_DATA_RX_IND   0x3F
 
#define WIREPAS_MSAP_APP_CONFIG_DATA_RX_RESP   0xBF
 
#define WIREPAS_MSAP_SCAN_NBORS_INDICATION   0x22
 
#define WIREPAS_MSAP_SCAN_NBORS_RESPONSE   0xA2
 
#define WIREPAS_CSAP_ATTRIBUTE_WRITE_REQUEST   0x0D
 Wirepas CSAP attributes primitive ID.
 
#define WIREPAS_CSAP_ATTRIBUTE_WRITE_CONFIRM   0x8D
 
#define WIREPAS_CSAP_ATTRIBUTE_READ_REQUEST   0x0E
 
#define WIREPAS_CSAP_ATTRIBUTE_READ_CONFIRM   0x8E
 
#define WIREPAS_CSAP_FACTORY_RESET_REQUEST   0x16
 
#define WIREPAS_CSAP_FACTORY_RESET_CONFIRM   0x96
 
#define WIREPAS_CSAP_ATTRIBUTE_NODE_ADDRESS   0x01
 Wirepas CSAP attributes.
 
#define WIREPAS_CSAP_ATTRIBUTE_NETWORK_ADDRESS   0x02
 
#define WIREPAS_CSAP_ATTRIBUTE_NETWORK_CHANNEL   0x03
 
#define WIREPAS_CSAP_ATTRIBUTE_NODE_ROLE   0x04
 
#define WIREPAS_FACTORY_RESET_CODE   "DoIt"
 Wirepas factory reset code.
 
#define WIREPAS_ENDCODE_OCTET   0xC0
 Wirepas factory reset code.
 
#define WIREPAS_ROUTER_NODE_MODE   0x02
 Wirepas node role mode settings.
 
#define WIREPAS_SINK_NODE_MODE   0x01
 
#define WIREPAS_PIN_MODE_HIGH   0x01
 Wirepas pin mode settings.
 
#define WIREPAS_PIN_MODE_LOW   0x00
 
#define WIREPAS_TX_DRV_BUFFER_SIZE   200
 Wirepas driver buffer size.
 
#define WIREPAS_RX_DRV_BUFFER_SIZE   500
 

Detailed Description

Settings for registers of Wirepas Click driver.

Macro Definition Documentation

◆ WIREPAS_CSAP_ATTRIBUTE_NETWORK_ADDRESS

#define WIREPAS_CSAP_ATTRIBUTE_NETWORK_ADDRESS   0x02

◆ WIREPAS_CSAP_ATTRIBUTE_NETWORK_CHANNEL

#define WIREPAS_CSAP_ATTRIBUTE_NETWORK_CHANNEL   0x03

◆ WIREPAS_CSAP_ATTRIBUTE_NODE_ADDRESS

#define WIREPAS_CSAP_ATTRIBUTE_NODE_ADDRESS   0x01

Wirepas CSAP attributes.

Specified setting for CSAP attributes of Wirepas Click driver.

◆ WIREPAS_CSAP_ATTRIBUTE_NODE_ROLE

#define WIREPAS_CSAP_ATTRIBUTE_NODE_ROLE   0x04

◆ WIREPAS_CSAP_ATTRIBUTE_READ_CONFIRM

#define WIREPAS_CSAP_ATTRIBUTE_READ_CONFIRM   0x8E

◆ WIREPAS_CSAP_ATTRIBUTE_READ_REQUEST

#define WIREPAS_CSAP_ATTRIBUTE_READ_REQUEST   0x0E

◆ WIREPAS_CSAP_ATTRIBUTE_WRITE_CONFIRM

#define WIREPAS_CSAP_ATTRIBUTE_WRITE_CONFIRM   0x8D

◆ WIREPAS_CSAP_ATTRIBUTE_WRITE_REQUEST

#define WIREPAS_CSAP_ATTRIBUTE_WRITE_REQUEST   0x0D

Wirepas CSAP attributes primitive ID.

Specified setting for CSAP attributes primitive ID of Wirepas Click driver.

◆ WIREPAS_CSAP_FACTORY_RESET_CONFIRM

#define WIREPAS_CSAP_FACTORY_RESET_CONFIRM   0x96

◆ WIREPAS_CSAP_FACTORY_RESET_REQUEST

#define WIREPAS_CSAP_FACTORY_RESET_REQUEST   0x16

◆ WIREPAS_DSAP_DATA_RX_INDICATION

#define WIREPAS_DSAP_DATA_RX_INDICATION   0x03

◆ WIREPAS_DSAP_DATA_RX_RESPONSE

#define WIREPAS_DSAP_DATA_RX_RESPONSE   0x83

◆ WIREPAS_DSAP_DATA_TX_CONFIRM

#define WIREPAS_DSAP_DATA_TX_CONFIRM   0x81

◆ WIREPAS_DSAP_DATA_TX_INDICATION

#define WIREPAS_DSAP_DATA_TX_INDICATION   0x02

◆ WIREPAS_DSAP_DATA_TX_REQUEST

#define WIREPAS_DSAP_DATA_TX_REQUEST   0x01

Wirepas control commands.

Specified setting for control commands of Wirepas Click driver.

Wirepas DSAP attributes primitive ID.

Specified setting for DSAP attributes primitive ID of Wirepas Click driver.

◆ WIREPAS_DSAP_DATA_TX_RESPONSE

#define WIREPAS_DSAP_DATA_TX_RESPONSE   0x82

◆ WIREPAS_DSAP_DATA_TX_TT_CONFIRM

#define WIREPAS_DSAP_DATA_TX_TT_CONFIRM   0x9F

◆ WIREPAS_DSAP_DATA_TX_TT_REQUEST

#define WIREPAS_DSAP_DATA_TX_TT_REQUEST   0x1F

◆ WIREPAS_ENDCODE_OCTET

#define WIREPAS_ENDCODE_OCTET   0xC0

Wirepas factory reset code.

Factory reset code of Wirepas Click driver.

◆ WIREPAS_FACTORY_RESET_CODE

#define WIREPAS_FACTORY_RESET_CODE   "DoIt"

Wirepas factory reset code.

Factory reset code of Wirepas Click driver.

◆ WIREPAS_MSAP_APP_CONFIG_DATA_RX_IND

#define WIREPAS_MSAP_APP_CONFIG_DATA_RX_IND   0x3F

◆ WIREPAS_MSAP_APP_CONFIG_DATA_RX_RESP

#define WIREPAS_MSAP_APP_CONFIG_DATA_RX_RESP   0xBF

◆ WIREPAS_MSAP_INDICATION_POLL_CONFIRM

#define WIREPAS_MSAP_INDICATION_POLL_CONFIRM   0x84

◆ WIREPAS_MSAP_INDICATION_POLL_REQUEST

#define WIREPAS_MSAP_INDICATION_POLL_REQUEST   0x04

Wirepas MSAP attributes primitive ID.

Specified setting for MSAP attributes primitive ID of Wirepas Click driver.

◆ WIREPAS_MSAP_SCAN_NBORS_INDICATION

#define WIREPAS_MSAP_SCAN_NBORS_INDICATION   0x22

◆ WIREPAS_MSAP_SCAN_NBORS_RESPONSE

#define WIREPAS_MSAP_SCAN_NBORS_RESPONSE   0xA2

◆ WIREPAS_MSAP_STACK_START_CONFIRM

#define WIREPAS_MSAP_STACK_START_CONFIRM   0x85

◆ WIREPAS_MSAP_STACK_START_REQUEST

#define WIREPAS_MSAP_STACK_START_REQUEST   0x05

◆ WIREPAS_MSAP_STACK_STATE_INDICATION

#define WIREPAS_MSAP_STACK_STATE_INDICATION   0x07

◆ WIREPAS_MSAP_STACK_STATE_RESPONSE

#define WIREPAS_MSAP_STACK_STATE_RESPONSE   0x87

◆ WIREPAS_MSAP_STACK_STOP_CONFIRM

#define WIREPAS_MSAP_STACK_STOP_CONFIRM   0x86

◆ WIREPAS_MSAP_STACK_STOP_REQUEST

#define WIREPAS_MSAP_STACK_STOP_REQUEST   0x06

◆ WIREPAS_PIN_MODE_HIGH

#define WIREPAS_PIN_MODE_HIGH   0x01

Wirepas pin mode settings.

Specified setting for pin mode of Wirepas Click driver.

◆ WIREPAS_PIN_MODE_LOW

#define WIREPAS_PIN_MODE_LOW   0x00

◆ WIREPAS_ROUTER_NODE_MODE

#define WIREPAS_ROUTER_NODE_MODE   0x02

Wirepas node role mode settings.

Specified setting for node role mode of Wirepas Click driver.

◆ WIREPAS_RX_DRV_BUFFER_SIZE

#define WIREPAS_RX_DRV_BUFFER_SIZE   500

◆ WIREPAS_SINK_NODE_MODE

#define WIREPAS_SINK_NODE_MODE   0x01

◆ WIREPAS_TX_DRV_BUFFER_SIZE

#define WIREPAS_TX_DRV_BUFFER_SIZE   200

Wirepas driver buffer size.

Specified size of driver ring buffer.

Note
Increase buffer size if needed.