Skip to content

Solenoid Valve

SN pop-up power bank, solenoid valve status change comparison table
Debugging reference for internal engineers only

Status comparison table

SN pop-up results

BytecodeNameIdentification codeRemarks
byte[0]Head codeheadDefault: 0xA8
byte[1~2]Packet lengthlengthFor example: 0x01 0x25, converted to decimal, the packet length is 293
byte[3]Command namecmdDefault: 0x21, position pop-up
byte[4]Control board addresscontrolIndexControl board address
byte[5~8]Power bank SNpowerbankSN0x00 0x00 0x0B 0xCF = SN:3023
0x00 0x9B 0xD2 0x10 = SN:10211856
0xFF 0xFF 0xFF 0xFF = SN:4294967295
byte[6]Popup statestate0x00:Pop failed 0x01:Pop-up successful 0x11:Serial communication timeout 0x12:The power bank has not popped out, but the SN number can be read. 0x87:Failed to obtain the timestamp. 0x88:Exceeding the TTL validity period 0xFB:There are no portable chargers that meet the rental requirements. 0xFC:A charging battery that does not have the target SN found. 0xFD:Failed to add task to the thread pool 0xFE:The previous rental has not been completed, so the new rental process cannot be initiated. 0xFF:Lease command parsing failed Other values:Unknown error
byte[7]Solenoid valve statussolenoidValveR&D and debugging, customers do not need to pay attention
byte[8]Check codeverifyPacket complement check

Solenoid Valve State

-Bit[7~3] reservedBit[2] before popping upBit[1] popping upBit[0] after popping up-
0x000000Carbo/Damaged
0x010001shake
0x020010Normal popup
0x030011undefined
0x040101undefined
0x050101undefined
0x060110Rental successful
0x070111Carbo/Damaged
0x08~0xFF0000Reserved