circuitpython/shared-module/_bleio/Address.h
2024-05-19 20:40:44 -04:00

18 lines
454 B
C

// This file is part of the CircuitPython project: https://circuitpython.org
//
// SPDX-FileCopyrightText: Copyright (c) 2019 Dan Halbert for Adafruit Industries
// SPDX-FileCopyrightText: Copyright (c) 2018 Artur Pacholec
//
// SPDX-License-Identifier: MIT
#pragma once
#include "py/obj.h"
#define NUM_BLEIO_ADDRESS_BYTES 6
typedef struct {
mp_obj_base_t base;
uint8_t type;
mp_obj_t bytes; // a bytes() object
} bleio_address_obj_t;