SafeDispatch/MotoTRBO_XNL_Cmd/DEFS.cs
2024-02-22 18:43:59 +02:00

55 lines
1.8 KiB
C#
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

namespace MotoTRBO_XNL_Cmd
{
public enum OPCODE_ENUM
{
XNL_MASTER_STATUS_BRDCST = 0x0002,
DEVICE_AUTH_KEY_REQUEST = 0x0004,
DEVICE_AUTH_KEY_REPLY = 0x0005,
DEVICE_CONN_REQUEST = 0x0006,
DEVICE_CONN_REPLY = 0x0007,
DATA_MSG = 0x000b,
DATA_MSG_ACK = 0x000c,
SPKRSTAT = 0xb407, // Speaker State broadcast message
CHANNEL = 0x840D, // channel reply
CHANNEL_Broadcast = 0xb40D, // channel broadcast
DEVINITSTS = 0xB400, // DEVINITSTS Device Initialization Status
INCOMINGCALL = 0xB41E, // 0xB41E CALLCTRLBRDCST Call Control Broadcast
TRANSMITCONTROL = 0xB415,//0xB415 KEYBRDCST Transmit Control Broadcast
REMOTE_CONTROL_BROADCAST = 0xb41c,//RRCTRLBRDCST Remote Radio Control Broadcast
EMERGENCY_BROADCAST = 0xb413,//0xB413 EMGBRDCST Emergency Broadcast
EMGREQ = 0x0413, //0x0413 EMGREQ Emergency Control Request
EMGREP = 0x8413,//0x8413 EMGREP Emergency Control Reply
SHUTDOWN_BROADCAST = 0x840A, // SHUTDWNBRDCST Shut Down Broadcast
DISPTEXT = 0xB401, //Display Text Broadcast
INUPDAT = 0xB402,//Indicator Update Broadcast
VERSION_REPLY = 0x800F, // VERINFOR Version Information Reply
NAVREQ = 0x041F,
NAVREP = 0x841F,
NAVBRDCST = 0xB41F
};
public enum REMOTE_RADIO_FUNCS:byte
{
Check = 0x00,
Disable = 0x01,
Enable = 0x02,
Monitor = 0x03,
DeKey = 0x04
};
public enum CALL_STATUS : byte
{
INIT = 0x01,
INCALL = 0x02,
CALLEND = 0x03,
HANGTIMER = 0x07
};
public class RawMessage
{
public byte[] data;
public int len;
}
}