Nordic Semiconductor nRF5 AirFuel SDK  version 2.2.0
ptu_reg_item_t Struct Reference

#include <ptu_registry.h>

Data Fields

ptu_reg_item_state_t state
 
uint8_t adv_flags
 
ble_gap_addr_t address
 
ble_wpts_c_t ble_wpts_c
 
pru_static_t prev_pru_static
 
pru_dynamic_t prev_pru_dynamic
 
pru_control_t prev_ctl
 
app_timer_id_t timer_id
 
ctl_adj_power_t prev_adj_power
 
uint8_t age
 
uint8_t pre_connect_cnt
 
uint32_t p_adj_time
 
int32_t p_rect_before_p_adj
 
uint8_t active_p_adj_cooldown:1
 
uint8_t adjusted_power:1
 
uint8_t pending_dyn_read:1
 
uint8_t pending_ctl_write:1
 
uint8_t charged:1
 
uint8_t pending_charge_disable:1
 
uint8_t link_encrypted:1
 
uint8_t p_adj_disabled:1
 
uint8_t reconnect:1
 

Detailed Description

Registry item.

Definition at line 47 of file ptu_registry.h.

Field Documentation

Item state

Definition at line 49 of file ptu_registry.h.

uint8_t adv_flags

ADV flags

Definition at line 50 of file ptu_registry.h.

ble_gap_addr_t address

Device peer address

Definition at line 51 of file ptu_registry.h.

ble_wpts_c_t ble_wpts_c

Collection of handles

Definition at line 52 of file ptu_registry.h.

pru_static_t prev_pru_static

Previous received PRU static parameters

Definition at line 53 of file ptu_registry.h.

pru_dynamic_t prev_pru_dynamic

Previous received PRU dynamic parameters

Definition at line 54 of file ptu_registry.h.

pru_control_t prev_ctl

Previous control packet being sent to PRU

Definition at line 55 of file ptu_registry.h.

app_timer_id_t timer_id

Registration / reconnection timer for this item

Definition at line 56 of file ptu_registry.h.

ctl_adj_power_t prev_adj_power

Previous power adjustment level.

Definition at line 57 of file ptu_registry.h.

uint8_t age

Number of devices items being added after this one

Definition at line 58 of file ptu_registry.h.

uint8_t pre_connect_cnt

Number of adv packets ignored due to only 1 of 2 criterie fullfilled.

Definition at line 59 of file ptu_registry.h.

uint32_t p_adj_time

Current TICKS value of RTC at time of sending power adjust command.

Definition at line 60 of file ptu_registry.h.

int32_t p_rect_before_p_adj

PRECT in the PRU before we send the power adjust command.

Definition at line 61 of file ptu_registry.h.

uint8_t active_p_adj_cooldown

Does this PRU have an active cooldown from a previous power adjust command?

Definition at line 62 of file ptu_registry.h.

uint8_t adjusted_power

Has this PRU responded to the previous adjust power command?

Definition at line 63 of file ptu_registry.h.

uint8_t pending_dyn_read

Waiting for response on dyn param read

Definition at line 64 of file ptu_registry.h.

uint8_t pending_ctl_write

Waiting for response on control write

Definition at line 65 of file ptu_registry.h.

uint8_t charged

True when PRU charged, false otherwise

Definition at line 66 of file ptu_registry.h.

uint8_t pending_charge_disable

We are waiting on a Charge disable command to be acknowledged.

Definition at line 67 of file ptu_registry.h.

uint8_t link_encrypted

Link is encrypted.

Definition at line 68 of file ptu_registry.h.

uint8_t p_adj_disabled

No more power adjust commands should be sent to PRU.

Definition at line 69 of file ptu_registry.h.

uint8_t reconnect

PTU is reconnecting to this device.

Definition at line 70 of file ptu_registry.h.


The documentation for this struct was generated from the following file: