Format

Argument TypeValueInformation
Magic Number0x12345678Self-explanatory
32-bit integerdynamicCount of items
Array of LocationdynamicSelf-explanatory
Array of DatadynamicSelf-explanatory

Location Structure

Argument TypeInformation
32-bit integerDevInfo type (below)
32-bit integerOffset, in bytes
32-bit integerSize, in bytes

Data Structure

Argument TypeInformation
32-bit integerDevInfo type (below)
32-bit integerSize, in bytes
Raw byte bufferDevInfo data

DevInfo Types

NameValueInformation
DEVINFO_TYPE_MODEL_NAME0x00Model’s Name
DEVINFO_TYPE_SERIAL0x01Serial Code
DEVINFO_TYPE_OMCSALESCODE0x02Region Code
DEVINFO_TYPE_CARRIERID0x03Carrier ID

Packets

Dump Device Info

Request:

ValueArgument TypeInformation
0x6932-bit integerPacket type
0x0032-bit integerPacket’s command

Response:

ValueArgument TypeInformation
0x6932-bit integerPacket type, would be 0xFF on failure
dynamic32-bit integerSize of the DevInfo. Usually it is 500 bytes

Dump a block

A block is 500 bytes.
Request:

ValueArgument TypeInformation
0x6932-bit integerPacket type
0x0132-bit integerPacket’s command
dynamic32-bit integerBlock Index

Response:

ValueArgument TypeInformation
dynamicRaw byte bufferBlock’s data buffer

End dump

Request:

ValueArgument TypeInformation
0x6932-bit integerPacket type
0x0232-bit integerPacket’s command

Response:

ValueArgument TypeInformation
0x6932-bit integerPacket type, would be 0xFF on failure
0x0032-bit integerStatus code. Is always zero.