1 // Copyright 2023 Google LLC 2 // 3 // Licensed under the Apache License, Version 2.0 (the "License"); 4 // you may not use this file except in compliance with the License. 5 // You may obtain a copy of the License at 6 // 7 // http://www.apache.org/licenses/LICENSE-2.0 8 // 9 // Unless required by applicable law or agreed to in writing, software 10 // distributed under the License is distributed on an "AS IS" BASIS, 11 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 // See the License for the specific language governing permissions and 13 // limitations under the License. 14 15 //! Rust API for [Bumble](https://github.com/google/bumble). 16 //! 17 //! Bumble is a userspace Bluetooth stack that works with more or less anything that uses HCI. This 18 //! could be physical Bluetooth USB dongles, netsim, HCI proxied over a network from some device 19 //! elsewhere, etc. 20 //! 21 //! It also does not restrict what you can do with Bluetooth the way that OS Bluetooth APIs 22 //! typically do, making it good for prototyping, experimentation, test tools, etc. 23 //! 24 //! Bumble is primarily written in Python. Rust types that wrap the Python API, which is currently 25 //! the bulk of the code, are in the [wrapper] module. 26 27 #![deny(missing_docs, unsafe_code)] 28 29 pub mod wrapper; 30 31 pub mod adv; 32 33 pub(crate) mod internal; 34