New error codes added. Build tools 22.0.1.
This commit is contained in:
parent
b86b2803e2
commit
e74dabcb04
|
@ -8,7 +8,7 @@ ext {
|
||||||
|
|
||||||
android {
|
android {
|
||||||
compileSdkVersion 22
|
compileSdkVersion 22
|
||||||
buildToolsVersion '22.0.0'
|
buildToolsVersion '22.0.1'
|
||||||
|
|
||||||
defaultConfig {
|
defaultConfig {
|
||||||
minSdkVersion 18
|
minSdkVersion 18
|
||||||
|
@ -26,7 +26,7 @@ android {
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
compile fileTree(dir: 'libs', include: ['*.jar'])
|
compile fileTree(dir: 'libs', include: ['*.jar'])
|
||||||
compile 'com.android.support:support-v4:22.0.0'
|
compile 'com.android.support:support-v4:22.1.1'
|
||||||
compile 'com.google.code.gson:gson:2.3.1'
|
compile 'com.google.code.gson:gson:2.3.1'
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -87,8 +87,8 @@
|
||||||
<orderEntry type="jdk" jdkName="Android API 22 Platform" jdkType="Android SDK" />
|
<orderEntry type="jdk" jdkName="Android API 22 Platform" jdkType="Android SDK" />
|
||||||
<orderEntry type="sourceFolder" forTests="false" />
|
<orderEntry type="sourceFolder" forTests="false" />
|
||||||
<orderEntry type="library" exported="" name="gson-2.3.1" level="project" />
|
<orderEntry type="library" exported="" name="gson-2.3.1" level="project" />
|
||||||
<orderEntry type="library" exported="" name="support-v4-22.0.0" level="project" />
|
<orderEntry type="library" exported="" name="support-v4-22.1.1" level="project" />
|
||||||
<orderEntry type="library" exported="" name="support-annotations-22.0.0" level="project" />
|
<orderEntry type="library" exported="" name="support-annotations-22.1.1" level="project" />
|
||||||
</component>
|
</component>
|
||||||
</module>
|
</module>
|
||||||
|
|
||||||
|
|
|
@ -135,12 +135,16 @@ public class GattError {
|
||||||
return "GATT ENCRYPTED NO MITM";
|
return "GATT ENCRYPTED NO MITM";
|
||||||
case 0x008e:
|
case 0x008e:
|
||||||
return "GATT NOT ENCRYPTED";
|
return "GATT NOT ENCRYPTED";
|
||||||
case 0x01FF:
|
case 0x008f:
|
||||||
|
return "GATT CONGESTED";
|
||||||
|
case 0x00FD:
|
||||||
|
return "GATT CCCD CFG ERROR";
|
||||||
|
case 0x00FE:
|
||||||
|
return "GATT PROCEDURE IN PROGRESS";
|
||||||
|
case 0x00FF:
|
||||||
return "GATT VALUE OUT OF RANGE";
|
return "GATT VALUE OUT OF RANGE";
|
||||||
case 0x0101:
|
case 0x0101:
|
||||||
return "TOO MANY OPEN CONNECTIONS";
|
return "TOO MANY OPEN CONNECTIONS";
|
||||||
case 0x00FF:
|
|
||||||
return "DFU SERVICE DISCOVERY NOT STARTED";
|
|
||||||
case DfuBaseService.ERROR_DEVICE_DISCONNECTED:
|
case DfuBaseService.ERROR_DEVICE_DISCONNECTED:
|
||||||
return "DFU DEVICE DISCONNECTED";
|
return "DFU DEVICE DISCONNECTED";
|
||||||
case DfuBaseService.ERROR_FILE_ERROR:
|
case DfuBaseService.ERROR_FILE_ERROR:
|
||||||
|
@ -152,7 +156,7 @@ public class GattError {
|
||||||
case DfuBaseService.ERROR_FILE_NOT_FOUND:
|
case DfuBaseService.ERROR_FILE_NOT_FOUND:
|
||||||
return "DFU FILE NOT FOUND";
|
return "DFU FILE NOT FOUND";
|
||||||
case DfuBaseService.ERROR_SERVICE_DISCOVERY_NOT_STARTED:
|
case DfuBaseService.ERROR_SERVICE_DISCOVERY_NOT_STARTED:
|
||||||
return "DFU ERROR WHILE SERVICE DISCOVERY";
|
return "DFU SERVICE DISCOVERY NOT STARTED";
|
||||||
case DfuBaseService.ERROR_SERVICE_NOT_FOUND:
|
case DfuBaseService.ERROR_SERVICE_NOT_FOUND:
|
||||||
return "DFU SERVICE NOT FOUND";
|
return "DFU SERVICE NOT FOUND";
|
||||||
case DfuBaseService.ERROR_CHARACTERISTICS_NOT_FOUND:
|
case DfuBaseService.ERROR_CHARACTERISTICS_NOT_FOUND:
|
||||||
|
|
Loading…
Reference in New Issue