130e58068c1adaac7c5ccb3aa9cfb045d41d2a10eZach Johnson/******************************************************************************
230e58068c1adaac7c5ccb3aa9cfb045d41d2a10eZach Johnson *
330e58068c1adaac7c5ccb3aa9cfb045d41d2a10eZach Johnson *  Copyright (C) 2014 Google, Inc.
430e58068c1adaac7c5ccb3aa9cfb045d41d2a10eZach Johnson *
530e58068c1adaac7c5ccb3aa9cfb045d41d2a10eZach Johnson *  Licensed under the Apache License, Version 2.0 (the "License");
630e58068c1adaac7c5ccb3aa9cfb045d41d2a10eZach Johnson *  you may not use this file except in compliance with the License.
730e58068c1adaac7c5ccb3aa9cfb045d41d2a10eZach Johnson *  You may obtain a copy of the License at:
830e58068c1adaac7c5ccb3aa9cfb045d41d2a10eZach Johnson *
930e58068c1adaac7c5ccb3aa9cfb045d41d2a10eZach Johnson *  http://www.apache.org/licenses/LICENSE-2.0
1030e58068c1adaac7c5ccb3aa9cfb045d41d2a10eZach Johnson *
1130e58068c1adaac7c5ccb3aa9cfb045d41d2a10eZach Johnson *  Unless required by applicable law or agreed to in writing, software
1230e58068c1adaac7c5ccb3aa9cfb045d41d2a10eZach Johnson *  distributed under the License is distributed on an "AS IS" BASIS,
1330e58068c1adaac7c5ccb3aa9cfb045d41d2a10eZach Johnson *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1430e58068c1adaac7c5ccb3aa9cfb045d41d2a10eZach Johnson *  See the License for the specific language governing permissions and
1530e58068c1adaac7c5ccb3aa9cfb045d41d2a10eZach Johnson *  limitations under the License.
1630e58068c1adaac7c5ccb3aa9cfb045d41d2a10eZach Johnson *
1730e58068c1adaac7c5ccb3aa9cfb045d41d2a10eZach Johnson ******************************************************************************/
1830e58068c1adaac7c5ccb3aa9cfb045d41d2a10eZach Johnson
1930e58068c1adaac7c5ccb3aa9cfb045d41d2a10eZach Johnson#pragma once
2030e58068c1adaac7c5ccb3aa9cfb045d41d2a10eZach Johnson
2130e58068c1adaac7c5ccb3aa9cfb045d41d2a10eZach Johnson#include <stdint.h>
2230e58068c1adaac7c5ccb3aa9cfb045d41d2a10eZach Johnson
239e392a76fb70c8d6b487a6deedb74df363c10843Zach Johnson// Represents a page of device feature enabled/disabled bits returned
249e392a76fb70c8d6b487a6deedb74df363c10843Zach Johnson// by the local controller. See the bluetooth spec for bit indexes.
25911d1ae03efec2d54c3b1b605589d790d1745488Myles Watsontypedef struct { uint8_t as_array[8]; } bt_device_features_t;
26