Specifications
© 2010 Cypress Solutions Complete Manual: CTM-15X Firmware 1.3.0
Open CTM (Revision D)
177
ULCP Remote Configuration Messages
12.1 ULCP Message Format
Hex
Description
0xPP
Packet type – defines the message type:
0x59 = Set output
0x5B = Execute application-specific script
0x50 = NMEA GGA query
0x52 = NMEA RMC query
0x55 = GPS ULCP binary data query
0x56 = Delta-based GPS report query and setting
0x57 = Time-based GPS report query and setting
0xSS
Sequence number – incremented for each message.
0xCC
Command type:
0x00 = Query
0x01 = Response to query
0x02 = Set
0x03 = response to set
0x06 = Event report
0x00
Async time – not used so set to 0x00
0x00
Error code – not used so set to 0x00
0xLL
Message length (number of bytes following the password)
0x0000
Password – default 0x0000
0xDD……..
Data – message body of length defined by message length above
12.2 ULCP Remote Configuration Messages
12.2.1 Set Digital Outputs
Request header: 0x59 0xSS 0x02 0x00 0x00 0x08 0x0000
Request message body:
Hex
Description
1 byte
Output #1: 0x00 = turn off; 0xFF = turn on; 0xNN = turn on for 0xNN x 50 ms, then turn off
1 byte
Output #2: 0x00 = turn off; 0xFF = turn on; 0xNN = turn on for 0xNN x 50 ms, then turn off
1 byte
Output #3: 0x00 = turn off; 0xFF = turn on; 0xNN = turn on for 0xNN x 50 ms, then turn off
1 byte
Output #4: 0x00 = turn off; 0xFF = turn on; 0xNN = turn on for 0xNN x 50 ms, then turn off
0x00000000
Not used
If the command was not successful then no response is sent.
Response header: 0x59 0xSS 0x03 0x00 0x00 0x00 0xNNNN
Where NNNN is the password.