Nordic Semiconductor nRF5 AirFuel SDK
version 2.2.0
|
Macros | |
#define | PRU_ADV_DEVICE_NAME "WPT PRU" |
#define | PRU_ADV_INTERVAL 32 |
#define | PRU_PROTOCOL_REVISION 1 |
#define | PRU_HW_REVISION 100 |
#define | PRU_FW_REVISION 200 |
#define | PRU_MIN_CONN_INTERVAL 50 |
#define | PRU_MAX_CONN_INTERVAL 250 |
#define | PRU_SLAVE_LATENCY 0 |
#define | PRU_CONN_SUP_TIMEOUT 100 |
#define | PRU_TIME_SET_SUPPORT 0 |
#define | PRU_CHARGE_COMPLETE_ADV_WAIT_TIME_MS 600 |
#define | PRU_MAX_APP_TIMERS 3 |
#define | PRU_CHARGE_COMPLETE_CONN_MODE_ENABLE 0 |
#define | PRU_SECURITY BLE_WPTS_SEC_MODE_1_LEVEL_1 |
#define | PRU_SEC_MIN_KEYSIZE 7 |
#define | PRU_SEC_MAX_KEYSIZE 16 |
#define | PRU_POWER_CONTROL_ALG_PREFERENCE 0 |
#define | PRU_CCP_CONNECT_MODE_SUPPORTED 0 |
#define | PRU_RESET_POWER_ADJUSTED_MS 1000 |
#define | PRU_BUTTON_PRESS_LENGTH_DFU_MS 5 * 1000 |
#define PRU_ADV_DEVICE_NAME "WPT PRU" |
Device name.
Definition at line 23 of file pru_config.h.
#define PRU_ADV_INTERVAL 32 |
The advertising interval (in units of 0.625 ms. This value corresponds to 20 ms).
Definition at line 24 of file pru_config.h.
#define PRU_PROTOCOL_REVISION 1 |
Protocol revision
Definition at line 25 of file pru_config.h.
#define PRU_HW_REVISION 100 |
Revision of the PRU HW.
Definition at line 26 of file pru_config.h.
#define PRU_FW_REVISION 200 |
Revision of the PRU SW.
Definition at line 27 of file pru_config.h.
#define PRU_MIN_CONN_INTERVAL 50 |
Minimum acceptable connection interval PRU defined by spec, in 1.25 ms units
Definition at line 28 of file pru_config.h.
#define PRU_MAX_CONN_INTERVAL 250 |
Maximum acceptable connection interval, in 1.25 ms units
Definition at line 29 of file pru_config.h.
#define PRU_SLAVE_LATENCY 0 |
Slave latency.
Definition at line 30 of file pru_config.h.
#define PRU_CONN_SUP_TIMEOUT 100 |
Connection supervisory timeout (10 ms uints > 1 sec), ref. 5.2.2.2
Definition at line 31 of file pru_config.h.
#define PRU_TIME_SET_SUPPORT 0 |
Time set support (0=no support, 1 = support)
Definition at line 32 of file pru_config.h.
#define PRU_CHARGE_COMPLETE_ADV_WAIT_TIME_MS 600 |
Period that power must be applied in PRU Boot state for a charged device before trying to connect to a charging PTU [ms]
Definition at line 33 of file pru_config.h.
#define PRU_MAX_APP_TIMERS 3 |
Maximium timers to be instansiated in application
Definition at line 34 of file pru_config.h.
#define PRU_CHARGE_COMPLETE_CONN_MODE_ENABLE 0 |
Indicates whether to enable Charge Complete Connected Mode.
Definition at line 35 of file pru_config.h.
#define PRU_SECURITY BLE_WPTS_SEC_MODE_1_LEVEL_1 |
Security setting for WPT attribute table
Definition at line 36 of file pru_config.h.
#define PRU_SEC_MIN_KEYSIZE 7 |
Minimum keysize [7,16] to be used for encryption [bytes].
Definition at line 37 of file pru_config.h.
#define PRU_SEC_MAX_KEYSIZE 16 |
Minimum keysize [7,16] to be used for encryption [bytes].
Definition at line 38 of file pru_config.h.
#define PRU_POWER_CONTROL_ALG_PREFERENCE 0 |
Power control algorithm preference. 0 = Vrect_min_error, 1 = max system efficiency
Definition at line 39 of file pru_config.h.
#define PRU_CCP_CONNECT_MODE_SUPPORTED 0 |
Charge complete connected mode supported
Definition at line 40 of file pru_config.h.
#define PRU_RESET_POWER_ADJUSTED_MS 1000 |
How long should PRU wait after setting adjusted bit before resetting it? [ms]
Definition at line 41 of file pru_config.h.
#define PRU_BUTTON_PRESS_LENGTH_DFU_MS 5 * 1000 |
Button needs to be pressed for 5 seconds in order to start DFU mode.
Definition at line 42 of file pru_config.h.