blatann.nrf.nrf_events package

class blatann.nrf.nrf_events.GapEvt(conn_handle)

Bases: BLEEvent

class blatann.nrf.nrf_events.GapEvtAdvReport(conn_handle, peer_addr, rssi, adv_type, adv_data)

Bases: GapEvt

evt_id = 29
get_device_name()
classmethod from_c(event)
class blatann.nrf.nrf_events.GapEvtConnected(conn_handle, peer_addr, role, conn_params)

Bases: GapEvt

evt_id = 16
classmethod from_c(event)
class blatann.nrf.nrf_events.GapEvtConnParamUpdate(conn_handle, conn_params)

Bases: GapEvt

evt_id = 18
classmethod from_c(event)
class blatann.nrf.nrf_events.GapEvtConnParamUpdateRequest(conn_handle, conn_params)

Bases: GapEvt

evt_id = 31
classmethod from_c(event)
class blatann.nrf.nrf_events.GapEvtDataLengthUpdate(conn_handle, max_tx_octets, max_rx_octets, max_tx_time_us, max_rx_time_us)

Bases: GapEvt

evt_id = 36
classmethod from_c(event)
class blatann.nrf.nrf_events.GapEvtDataLengthUpdateRequest(conn_handle, max_tx_octets, max_rx_octets, max_tx_time_us, max_rx_time_us)

Bases: GapEvt

evt_id = 35
classmethod from_c(event)
class blatann.nrf.nrf_events.GapEvtDisconnected(conn_handle, reason)

Bases: GapEvt

evt_id = 17
classmethod from_c(event)
class blatann.nrf.nrf_events.GapEvtPhyUpdate(conn_handle, status, tx_phy, rx_phy)

Bases: GapEvt

evt_id = 34
classmethod from_c(event)
class blatann.nrf.nrf_events.GapEvtPhyUpdateRequest(conn_handle, tx_phy, rx_phy)

Bases: GapEvt

evt_id = 33
classmethod from_c(event)
class blatann.nrf.nrf_events.GapEvtRssiChanged(conn_handle, rssi)

Bases: GapEvt

evt_id = 28
classmethod from_c(event)
class blatann.nrf.nrf_events.GapEvtTimeout(conn_handle, src)

Bases: GapEvt

evt_id = 27
classmethod from_c(event)
class blatann.nrf.nrf_events.GattEvt(conn_handle)

Bases: BLEEvent

class blatann.nrf.nrf_events.GattcEvt(conn_handle)

Bases: GattEvt

class blatann.nrf.nrf_events.GattcEvtAttrInfoDiscoveryResponse(conn_handle, status, attr_info16=None, attr_info128=None)

Bases: GattcEvt

evt_id = 52
classmethod from_c(event)
class blatann.nrf.nrf_events.GattcEvtCharacteristicDiscoveryResponse(conn_handle, status, characteristics)

Bases: GattcEvt

evt_id = 50
classmethod from_c(event)
class blatann.nrf.nrf_events.GattcEvtDescriptorDiscoveryResponse(conn_handle, status, descriptions)

Bases: GattcEvt

evt_id = 51
classmethod from_c(event)
class blatann.nrf.nrf_events.GattcEvtHvx(conn_handle, status, error_handle, attr_handle, hvx_type, data)

Bases: GattcEvt

evt_id = 57
classmethod from_c(event)
class blatann.nrf.nrf_events.GattcEvtMtuExchangeResponse(conn_handle, server_mtu)

Bases: GattcEvt

evt_id = 58
classmethod from_c(event)
class blatann.nrf.nrf_events.GattcEvtPrimaryServiceDiscoveryResponse(conn_handle, status, services)

Bases: GattcEvt

evt_id = 48
classmethod from_c(event)
class blatann.nrf.nrf_events.GattcEvtReadResponse(conn_handle, status, error_handle, attr_handle, offset, data)

Bases: GattcEvt

evt_id = 54
classmethod from_c(event)
class blatann.nrf.nrf_events.GattcEvtTimeout(conn_handle, source)

Bases: GattcEvt

evt_id = 59
classmethod from_c(event)
class blatann.nrf.nrf_events.GattcEvtWriteCmdTxComplete(conn_handle, count)

Bases: GattcEvt

evt_id = 60
classmethod from_c(event)
class blatann.nrf.nrf_events.GattcEvtWriteResponse(conn_handle, status, error_handle, attr_handle, write_op, offset, data)

Bases: GattcEvt

evt_id = 56
classmethod from_c(event)
class blatann.nrf.nrf_events.GattsEvt(conn_handle)

Bases: GattEvt

class blatann.nrf.nrf_events.GattsEvtExchangeMtuRequest(conn_handle, client_mtu)

Bases: GattsEvt

evt_id = 85
classmethod from_c(event)
class blatann.nrf.nrf_events.GattsEvtHandleValueConfirm(conn_handle, attr_handle)

Bases: GattsEvt

evt_id = 83
classmethod from_c(event)
class blatann.nrf.nrf_events.GattsEvtNotificationTxComplete(conn_handle, tx_count)

Bases: GattsEvt

evt_id = 87
classmethod from_c(event)
class blatann.nrf.nrf_events.GattsEvtRead(conn_handle, attr_handle, uuid, offset)

Bases: GattsEvt

classmethod from_auth_request(conn_handle, read_event)
class blatann.nrf.nrf_events.GattsEvtReadWriteAuthorizeRequest(conn_handle, read=None, write=None)

Bases: GattsEvt

evt_id = 81
classmethod from_c(event)
class blatann.nrf.nrf_events.GattsEvtSysAttrMissing(conn_handle, hint)

Bases: GattsEvt

evt_id = 82
classmethod from_c(event)
class blatann.nrf.nrf_events.GattsEvtTimeout(conn_handle, source)

Bases: GattsEvt

evt_id = 86
classmethod from_c(event)
class blatann.nrf.nrf_events.GattsEvtWrite(conn_handle, attr_handle, uuid, write_operand, auth_required, offset, data)

Bases: GattsEvt

evt_id = 80
classmethod from_c(event)
classmethod from_auth_request(conn_handle, write_event)
class blatann.nrf.nrf_events.BLEEvent(conn_handle)

Bases: object

evt_id = None
class blatann.nrf.nrf_events.EvtUserMemoryRequest(conn_handle, request_type)

Bases: BLEEvent

evt_id = 1
classmethod from_c(event)
class blatann.nrf.nrf_events.GapEvtAuthKeyRequest(conn_handle, key_type)

Bases: GapEvtSec

evt_id = 23
classmethod from_c(event)
class blatann.nrf.nrf_events.GapEvtAuthStatus(conn_handle, auth_status, error_src, bonded, sm1_levels, sm2_levels, kdist_own, kdist_peer)

Bases: GapEvtSec

evt_id = 25
classmethod from_c(event)
class blatann.nrf.nrf_events.GapEvtConnSecUpdate(conn_handle, sec_mode, sec_level, encr_key_size)

Bases: GapEvtSec

evt_id = 26
classmethod from_c(event)
class blatann.nrf.nrf_events.GapEvtLescDhKeyRequest(conn_handle, remote_public_key, oob_required)

Bases: GapEvtSec

evt_id = 24
classmethod from_c(event)
class blatann.nrf.nrf_events.GapEvtPasskeyDisplay(conn_handle, passkey, match_request)

Bases: GapEvtSec

evt_id = 21
classmethod from_c(event)
class blatann.nrf.nrf_events.GapEvtSec(conn_handle)

Bases: GapEvt

class blatann.nrf.nrf_events.GapEvtSecInfoRequest(conn_handle, peer_addr, master_id, enc_info, id_info, sign_info)

Bases: GapEvtSec

evt_id = 20
classmethod from_c(event)
class blatann.nrf.nrf_events.GapEvtSecParamsRequest(conn_handle, sec_params)

Bases: GapEvtSec

evt_id = 19
classmethod from_c(event)
class blatann.nrf.nrf_events.GapEvtSecRequest(conn_handle, bond, mitm, lesc, keypress)

Bases: GapEvtSec

evt_id = 30
classmethod from_c(event)
blatann.nrf.nrf_events.event_decode(ble_event)

Submodules