)]}'
{
  "commit": "9ec018be02aa436fccbf2105462432f226ffec48",
  "tree": "84d8c3eb00252e073f5b0e4fc070363863d3a982",
  "parents": [
    "aacbd8b1c8cac83c756f018003e6bd6791b43666"
  ],
  "author": {
    "name": "Ani Ramakrishnan",
    "email": "aniramakri@google.com",
    "time": "Wed Feb 14 23:33:40 2024 +0000"
  },
  "committer": {
    "name": "Ani Ramakrishnan",
    "email": "aniramakri@google.com",
    "time": "Mon Apr 22 22:32:55 2024 +0000"
  },
  "message": "rust/bt-battery: Initial commit of the battery client\n\n- Define a `BatteryMonitor` which can be used to scan for compatible LE\npeers that support the BT Battery Service (BAS).\n- Provide a mechanism for connecting to a compatible peer.\n- Read and save the current battery level once a GATT connection is made.\n- Add test utilities for setting up a mock peer battery service.\n\nTest: cargo test\n\nChange-Id: I643af01012c0487e11b5fa09afd49b96616f045c\nReviewed-on: https://bluetooth-review.git.corp.google.com/c/bluetooth/+/1660\nReviewed-by: Dayeong Lee \u003cdayeonglee@google.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "8b01f6ff4dfe7893c248f33295543a24ef890e11",
      "old_mode": 33188,
      "old_path": "rust/Cargo.toml",
      "new_id": "8aaf9604538829818cd52503909638dba6aee75a",
      "new_mode": 33188,
      "new_path": "rust/Cargo.toml"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "438e2b16b1d9e3994c86b4caeb0ac271679f5d99",
      "new_mode": 33188,
      "new_path": "rust/bt-battery/.gitignore"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "b91ea77f8cb9ffd4a910d2967c5820493bf0d16a",
      "new_mode": 33188,
      "new_path": "rust/bt-battery/Cargo.toml"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "0db99af02b50c69ab50d3fb34aadea3014b70a91",
      "new_mode": 33188,
      "new_path": "rust/bt-battery/src/error.rs"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "ac20b57808a269cbf019720ffe414eac881c6036",
      "new_mode": 33188,
      "new_path": "rust/bt-battery/src/lib.rs"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "cbe5a64e4179dd1dd071da55d1f3f1e8aaee42f3",
      "new_mode": 33188,
      "new_path": "rust/bt-battery/src/monitor.rs"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "70ce1846932715d4e7e2462a1293024529c06231",
      "new_mode": 33188,
      "new_path": "rust/bt-battery/src/monitor/client.rs"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "b7980c5853011bd7bda11033ee39b66172510bef",
      "new_mode": 33188,
      "new_path": "rust/bt-battery/src/types.rs"
    }
  ]
}
