-
Notifications
You must be signed in to change notification settings - Fork 36
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fixes #10 (Add support for 128 bit service and characteristic UUIDs)
- Loading branch information
Showing
6 changed files
with
75 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...rces/gatt/characteristic/com.oregonscientific.characteristic.temperature_and_humidity.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
src/main/resources/gatt/service/com.oregonscientific.service.temperature_and_humidity.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
18 changes: 18 additions & 0 deletions
18
src/test/resources/gatt/characteristic/com.r00li.bluetooth.characteristic.rswitchv1.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
<?xml version="1.0" encoding="UTF-8"?><!-- Copyright 2011 Bluetooth SIG, Inc. All rights reserved. --> | ||
<Characteristic xsi:noNamespaceSchemaLocation="http://schemas.bluetooth.org/Documents/characteristic.xsd" | ||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
type="com.r00li.bluetooth.characteristic.rswitchv1" name="RSwitch_V1" | ||
uuid="9ED90C00-71D7-11E5-977A-0002A5D5C51B"> | ||
<InformativeText></InformativeText> | ||
<Value> | ||
<Field name="Switch state"> | ||
<Requirement>Mandatory</Requirement> | ||
<Format>8bit</Format> | ||
<Enumerations> | ||
<Enumeration key="0" value="Off"/> | ||
<Enumeration key="255" value="On"/> | ||
<ReservedForFutureUse start="1" end="254"/> | ||
</Enumerations> | ||
</Field> | ||
</Value> | ||
</Characteristic> |