blatann.gap.gap_types module
- class blatann.gap.gap_types.Phy(value)
Bases:
IntFlagThe supported PHYs
Note
Coded PHY is currently not supported (hardware limitation)
- auto = 0
Automatically select the PHY based on what’s supported
- one_mbps = 1
1 Mbps PHY
- two_mbps = 2
2 Mbps PHY
- class blatann.gap.gap_types.PeerAddress(addr_type, addr)
Bases:
BLEGapAddr
- class blatann.gap.gap_types.ConnectionParameters(min_conn_interval_ms, max_conn_interval_ms, timeout_ms, slave_latency=0)
Bases:
BLEGapConnParamsRepresents the connection parameters that are sent during negotiation. This includes the preferred min/max interval range, timeout, and slave latency
- class blatann.gap.gap_types.ActiveConnectionParameters(conn_params)
Bases:
objectRepresents the connection parameters that are currently in use with a peer device. This is similar to ConnectionParameters with the sole difference being the connection interval is not a min/max range but a single number