petergullberg / brewbutton

Ardunio ESP32 BLE (&Browser Web Bluetooth) driven crappy nespresso expert brewbutton
29 stars 2 forks source link

somes CMD_RESPONSE_STATUS #5

Closed tikismoke closed 4 years ago

tikismoke commented 4 years ago

Continue jobs on my side, I try to read CMD_RESPONSE_STATUS and get those results to Brew command.

V   17:18:05.251    Writing request to characteristic 06aa3a42-f22a-11e3-9daa-0002a5d5c51b
D   17:18:05.251    gatt.writeCharacteristic(06aa3a42-f22a-11e3-9daa-0002a5d5c51b, value=0x03050704000000000002)
I   17:18:05.298    Data written to 06aa3a42-f22a-11e3-9daa-0002a5d5c51b, value: (0x) 03-05-07-04-00-00-00-00-00-02
A   17:18:05.298    "(0x) 03-05-07-04-00-00-00-00-00-02" sent
I   17:18:05.325    Notification received from 06aa3a52-f22a-11e3-9daa-0002a5d5c51b, value: (0x) C3-05-02-24-08-80-00-00-00-00-00-00-00-00-00-00-00-00-00-00
A   17:18:05.325    "(0x) C3-05-02-24-08-80-00-00-00-00-00-00-00-00-00-00-00-00-00-00" received

Command failed (slider open) Reason(24 08)

V   17:18:47.272    Writing request to characteristic 06aa3a42-f22a-11e3-9daa-0002a5d5c51b
D   17:18:47.272    gatt.writeCharacteristic(06aa3a42-f22a-11e3-9daa-0002a5d5c51b, value=0x03050704000000000002)
I   17:18:47.311    Data written to 06aa3a42-f22a-11e3-9daa-0002a5d5c51b, value: (0x) 03-05-07-04-00-00-00-00-00-02
A   17:18:47.311    "(0x) 03-05-07-04-00-00-00-00-00-02" sent
I   17:18:47.385    Notification received from 06aa3a52-f22a-11e3-9daa-0002a5d5c51b, value: (0x) 83-05-01-20-80-80-00-00-00-00-00-00-00-00-00-00-00-00-00-00
A   17:18:47.385    "(0x) 83-05-01-20-80-80-00-00-00-00-00-00-00-00-00-00-00-00-00-00" received
I   17:20:07.037    Notification received from 06aa3a15-f22a-11e3-9daa-0002a5d5c51b, value: (0x) 01-3E
A   17:20:07.037    "(0x) 01-3E" received

Coffee flow OK. Notice that caps/pods remaining is notify some seconds after coffee done.

Prepare command (not possible for this machine in theory):

V   17:18:25.643    Writing request to characteristic 06aa3a42-f22a-11e3-9daa-0002a5d5c51b
D   17:18:25.643    gatt.writeCharacteristic(06aa3a42-f22a-11e3-9daa-0002a5d5c51b, value=0x0110080000010061020024)
I   17:18:25.744    Data written to 06aa3a42-f22a-11e3-9daa-0002a5d5c51b, value: (0x) 01-10-08-00-00-01-00-61-02-00-24
A   17:18:25.744    "(0x) 01-10-08-00-00-01-00-61-02-00-24" sent
V   17:18:32.513    Writing request to characteristic 06aa3a42-f22a-11e3-9daa-0002a5d5c51b
D   17:18:32.513    gatt.writeCharacteristic(06aa3a42-f22a-11e3-9daa-0002a5d5c51b, value=0x0110080000010061020024)
I   17:18:32.550    Data written to 06aa3a42-f22a-11e3-9daa-0002a5d5c51b, value: (0x) 01-10-08-00-00-01-00-61-02-00-24
A   17:18:32.550    "(0x) 01-10-08-00-00-01-00-61-02-00-24" sent
V   17:18:39.216    Writing request to characteristic 06aa3a42-f22a-11e3-9daa-0002a5d5c51b
D   17:18:39.216    gatt.writeCharacteristic(06aa3a42-f22a-11e3-9daa-0002a5d5c51b, value=0x0110080000010061020024)
I   17:18:39.312    Data written to 06aa3a42-f22a-11e3-9daa-0002a5d5c51b, value: (0x) 01-10-08-00-00-01-00-61-02-00-24
A   17:18:39.312    "(0x) 01-10-08-00-00-01-00-61-02-00-24" sent

No answer or notify in my case (Think because this machine can't allow preparation command)

And manual reading status response return last value even for prepare command but not notified after wirte.

V   17:22:21.475    Writing request to characteristic 06aa3a42-f22a-11e3-9daa-0002a5d5c51b
D   17:22:21.475    gatt.writeCharacteristic(06aa3a42-f22a-11e3-9daa-0002a5d5c51b, value=0x0110080000010061020024)
I   17:22:21.524    Data written to 06aa3a42-f22a-11e3-9daa-0002a5d5c51b, value: (0x) 01-10-08-00-00-01-00-61-02-00-24
A   17:22:21.524    "(0x) 01-10-08-00-00-01-00-61-02-00-24" sent
V   17:22:30.375    Reading characteristic 06aa3a52-f22a-11e3-9daa-0002a5d5c51b
D   17:22:30.375    gatt.readCharacteristic(06aa3a52-f22a-11e3-9daa-0002a5d5c51b)
I   17:22:30.404    Read Response received from 06aa3a52-f22a-11e3-9daa-0002a5d5c51b, value: (0x) 83-05-01-20-80-80-00-00-00-00-00-00-00-00-00-00-00-00-00-00
A   17:22:30.404    "(0x) 83-05-01-20-80-80-00-00-00-00-00-00-00-00-00-00-00-00-00-00" received

making a new coffee:

V   17:22:35.833    Writing request to characteristic 06aa3a42-f22a-11e3-9daa-0002a5d5c51b
D   17:22:35.833    gatt.writeCharacteristic(06aa3a42-f22a-11e3-9daa-0002a5d5c51b, value=0x03050704000000000002)
I   17:22:35.870    Data written to 06aa3a42-f22a-11e3-9daa-0002a5d5c51b, value: (0x) 03-05-07-04-00-00-00-00-00-02
A   17:22:35.870    "(0x) 03-05-07-04-00-00-00-00-00-02" sent
I   17:22:35.913    Notification received from 06aa3a52-f22a-11e3-9daa-0002a5d5c51b, value: (0x) C3-05-02-24-12-80-00-00-00-00-00-00-00-00-00-00-00-00-00-00
A   17:22:35.913    "(0x) C3-05-02-24-12-80-00-00-00-00-00-00-00-00-00-00-00-00-00-00" received

Reason(24 12) no new pods/caps insert since last commands "Lid not cycled"

petergullberg commented 4 years ago

ok, seems legit. will add notes about these difference between the machines.