New error codes added. Build tools 22.0.1.
This commit is contained in:
parent
b86b2803e2
commit
e74dabcb04
|
@ -8,7 +8,7 @@ ext {
|
|||
|
||||
android {
|
||||
compileSdkVersion 22
|
||||
buildToolsVersion '22.0.0'
|
||||
buildToolsVersion '22.0.1'
|
||||
|
||||
defaultConfig {
|
||||
minSdkVersion 18
|
||||
|
@ -26,7 +26,7 @@ android {
|
|||
|
||||
dependencies {
|
||||
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'
|
||||
}
|
||||
|
||||
|
|
|
@ -87,8 +87,8 @@
|
|||
<orderEntry type="jdk" jdkName="Android API 22 Platform" jdkType="Android SDK" />
|
||||
<orderEntry type="sourceFolder" forTests="false" />
|
||||
<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-annotations-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.1.1" level="project" />
|
||||
</component>
|
||||
</module>
|
||||
|
||||
|
|
|
@ -135,12 +135,16 @@ public class GattError {
|
|||
return "GATT ENCRYPTED NO MITM";
|
||||
case 0x008e:
|
||||
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";
|
||||
case 0x0101:
|
||||
return "TOO MANY OPEN CONNECTIONS";
|
||||
case 0x00FF:
|
||||
return "DFU SERVICE DISCOVERY NOT STARTED";
|
||||
case DfuBaseService.ERROR_DEVICE_DISCONNECTED:
|
||||
return "DFU DEVICE DISCONNECTED";
|
||||
case DfuBaseService.ERROR_FILE_ERROR:
|
||||
|
@ -152,7 +156,7 @@ public class GattError {
|
|||
case DfuBaseService.ERROR_FILE_NOT_FOUND:
|
||||
return "DFU FILE NOT FOUND";
|
||||
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:
|
||||
return "DFU SERVICE NOT FOUND";
|
||||
case DfuBaseService.ERROR_CHARACTERISTICS_NOT_FOUND:
|
||||
|
|
Loading…
Reference in New Issue