That’ll control what timers a user sets (e.g. One service is the Light service, which will control the light color and on/off state. For this lighbulb profile, I want to have two different services. Profiles are conceptual collections of services. Let’s do a made-up example of those three concepts. Services and characteristics ARE on the device. Profiles are an abstract collection of services, not on a device itself. color control characteristics would all be grouped in a color service). Services collect related characteristics (e.g. Characteristics are basically just key/value pairs that let you read and write data to the connected device. Profiles are collections of services, and services have a collection of characteristics. setting the color, setting the timer).įor GATT there are three concepts that are the most important: profiles, services, and characteristics. what color it is right now), or send data (e.g. You can read data from the lightbulb (e.g. GATT is what allows you to interact with the lightbulb (or other peripheral device). Once a bluetooth low energy thing is connected to the app that controls it, it switches to using GATT to communicate. That means I need to focus on a different protocol, Generic Attribute Profile, aka GATT. I’m not going to go into that right now, because for reverse engineering, I know it connects, I want to know what it does once it’s connected. Intro to Bluetooth Low Energyįirst, the bluetooth light will advertise itself using Generic Access Profile, aka GAP, until an app or what have you connects to it. Use the adafruit bluetooth LE sniffer to watch communication between the app and the lightbulb, and see if I can figure out how to turn it on/off, change the color, and set timers. In which case, it becomes time to do some reverse engineering! Or, be me, since I’ve been itching to learn more about bluetooth low energy. So if I want to still use it now, the options are to have an unmaintaned, potential security-risk app on my phone, or not use it. But the phone app to control it is clunky and ugly, and hasn’t been updated since 2018. I recently got my hands on an old bluetooth lightbulb that was first made in 2015. But sometimes the companies maintaining the app goes under, or decides to not support what you bought anymore, and your fancy smart lightbulb becomes, well, a $35 lightbulb. “Smart” things are the wave of the future! Everyone wants some bit of tech that already exists, like a lightbulb, but now controlled through an app! Or at least, that’s what marketers have decided on.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |