Android Bluetooth status 133 in onCharacteristicwrite

后端 未结 4 1014
面向向阳花
面向向阳花 2020-12-10 02:40

I\'m new to Android and now doing a simple app that requires writing some data into a peripheral device.

Actually nothing goes wrong in a Samsung GT-S7272C device.

4条回答
  •  春和景丽
    2020-12-10 03:28

    Here the error/success status code and meaning

    • GATT_ILLEGAL_PARAMETER 0x0087 (135)
    • GATT_NO_RESOURCES 0x0080 (128)
    • GATT_INTERNAL_ERROR 0x0081 (129)
    • GATT_WRONG_STATE 0x0082 (130)
    • GATT_DB_FULL 0x0083 (131)
    • GATT_BUSY 0x0084 (132)
    • GATT_ERROR 0x0085 (133)
    • GATT_CMD_STARTED 0x0086 (134)
    • GATT_PENDING 0x0088 (136)
    • GATT_AUTH_FAIL 0x0089 (137)
    • GATT_MORE 0x008a (138)
    • GATT_INVALID_CFG 0x008b (139)
    • GATT_SERVICE_STARTED 0x008c (140)
    • GATT_ENCRYPED_MITM GATT_SUCCESS
    • GATT_ENCRYPED_NO_MITM 0x008d (141)
    • GATT_NOT_ENCRYPTED 0x008e (142)

提交回复
热议问题