12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152 |
- <?php
- /**
- * Created by PhpStorm.
- * User: Mead
- * Date: 2019/9/2
- * Time: 9:00 PM
- */
- namespace App\Maps;
- class CmdMap
- {
- const CMD_LOGIN = '01';
- const CMD_LOCATION = '02';
- const CMD_BATTERY_STATUS = '03';
- const CMD_WARNING = '04';
- const CMD_HEARTBEAT = '05';
- const CMD_REMOTE_CONTROL = '06';
- const CMD_REMOTE_SELECT = '07';
- const CMD_REMOTE_CONFIG = '08';
- const CMD_STATUS_SYNC = '09';
- const CMD_MSG_UP = '0A';
- const CMD_MSG_FORWARD = '0B';
- const CMD_REMOTE_VOICE = '0C';
- const CMD_BOX_UPGRADE = '0D';
- const CMD_BOX_ACTIVE_REPORTING = '0E';
- const CMD_BOX_STATUS_CHANGE_UP = '17';
- const CMD_REMOTE_CONTROLLER_RESPONSE = '86';
- const CMD_REMOTE_SELECT_CMD_BOX_UP_DATA = '87';
- const CMD_REMOTE_SETTING_CMD_BOX_UP_DATA = '88';
- const CMD_BOX_UP_NEW_BIKE_DATA = '94';
- const CMD_ADMIN_MSG_FORWARD = '8B';
- const CMD_REMOTE_VOICE_DATA = '8C';
- const CMD_BOX_REPORTING_NEW_BIKE = '14';
- const CMD_RESPONSE_LOGIN = '81';
- const CMD_RESPONSE_LOCATION = '82';
- const CMD_RESPONSE_BATTERY = '83';
- const CMD_RESPONSE_WARNING = '84';
- const CMD_RESPONSE_HEARTBEAT = '85';
- const CMD_RESPONSE_STATUS_SYNC = '89';
- const CMD_RESPONSE_MSG_UP = '8A';
- const CMD_RESPONSE_BOX_UPGRADE = '8D';
- const CMD_RESPONSE_BOX_ACTIVE_REPORTING = '8E';
- const CMD_RESPONSE_BOX_UP_NEW_BIKE_DATA = '94';
- const CMD_RESPONSE_REMOTE_CMD = '96';
- const CMD_RESPONSE_BOX_STATUS_CHANGE_UP = '97';
- public static $cmdMaps = [
- self::CMD_LOGIN => '登录数据包',
- self::CMD_LOCATION => '定位数据包',
- ];
- }
|