Re: On the drawing board
Posted: Fri Dec 05, 2014 11:02 pm
Looking well will Carn't wait to test it out, keep up the great work & seasons greetings will
Best Regards
Colin
Best Regards
Colin
Discuss TransTRBO, wish list, bug reports
http://transtrbo.com/forums/
Code: Select all
// SET - Connection
{ EConnectToRadio, _T("Connect"), true, 1, },
{ EDisconnectFromRadio, _T("Disconnect"), true, 1, },
// SET - Zone and Channel
{ EZoneIncrement, _T("Zone+"), true, 1, },
{ EZoneDecrement, _T("Zone-"), true, 1, },
{ EChannelIncrement, _T("Channel+"), true, 1, },
{ EChannelDecrement, _T("Channel-"), true, 1, },
{ EZoneSet, _T("Zone"), true, 2, 1, 9999},
{ EChannelSet, _T("Channel"), true, 2, 1, 9999},
{ EZoneChannelSet, _T("ZoneChannel"), true, 3, 1, 9999, 1, 9999, },
// SET - Volume
{ EVolumeIncrement, _T("Volume+"), true, 1, },
{ EVolumeDecrement, _T("Volume-"), true, 1, },
{ EVolumeSet, _T("Volume"), true, 2, 0, 255, },
// Force Actions
{ EReadZoneList, _T("ReadZoneList"), true, 1, },
// GET - Local Data
{ EGetConnected, _T("GetConnected"), false, 1 },
{ EGetSerialNumber, _T("GetSerial"), false, 1 },
{ EGetLocalRadioId, _T("GetRadioId"), false, 1 },
{ EGetMaxZones, _T("GetMaxZones"), false, 1 },
{ EGetZoneMaxChannels, _T("GetZoneMaxChannels"), false, 2, 1, 9999 },
{ EGetVolume, _T("GetVolume"), false, 1 },
{ EGetZone, _T("GetZone"), false, 1 },
{ EGetChannel, _T("GetChannel"), false, 1 },
{ EGetZoneName, _T("GetZoneName"), false, 2, 1, 9999 },
{ EGetZoneChannelName, _T("GetZoneChannelName"), false, 3, 1, 9999, 1, 9999 },
// REGISTER - for Async Events
{ ERegisterUpdate, _T("RegisterUpdate"), false, 1 },
{ EDeregisterUpdate, _T("DeregisterUpdate"), false, 1 },
Code: Select all
// Text Line Data
{ EGetMaxTextLines, _T("GetMaxTextLines"), false, 1 },
{ EGetMaxTextColumns, _T("GetMaxTextColumns"), false, 1 },
{ EGetTextLine, _T("GetTextLine"), false, 2, 0, 6 },
Code: Select all
// Momentary Push Buttons
{ EPBOK, _T("PBOK"), true, 1, }, // Select/OK
{ EPBMenu, _T("PBMenu"), true, 1, },
{ EPBBack, _T("PBBack"), true, 1, },
{ EPBLeftArrow, _T("PBLeft"), true, 1, },
{ EPBRightArrow, _T("PBRight"), true, 1, },
{ EPBUpArrow, _T("PBUp"), true, 1, },
{ EPBDownArrow, _T("PBDown"), true, 1, },
{ EPBShortProg1, _T("PBP1"), true, 1, },
{ EPBShortProg2, _T("PBP2"), true, 1, },
{ EPBShortProg3, _T("PBP3"), true, 1, },
{ EPBShortProg4, _T("PBP4"), true, 1, },
{ EPBLongProg1, _T("PBP1Long"), true, 1, },
{ EPBLongProg2, _T("PBP2Long"), true, 1, },
{ EPBLongProg3, _T("PB3Long"), true, 1, },
{ EPBLongProg4, _T("PBP4Long"), true, 1, },
Code: Select all
// Call Progress
{ EGetCallProgress, _T("GetCallProgress"), false, 1 },
// REGISTER - for Async Events
{ ERegisterCall, _T("RegisterCall"), false, 1 },
{ EDeregisterCall, _T("DeregisterCall"), false, 1 },
Code: Select all
typedef enum ECRC_CallResultCode_Tag {
// Asynchronous Call Notifications
ECallStartOutgoingPrivateCall,
ECallStartOutgoingGroupCall,
ECallStartOutgoingAllSystemCall,
ECallStartOutgoingAlertCall,
ECallStartOutgoingEmergency,
//
ECallStartIncomingPrivateCall,
ECallStartIncomingGroupCall,
ECallStartIncomingAlertCall,
ECallStartIncomingEmergency,
// Other may join
ECallInProgressPrivate,
ECallInProgressGroup,
ECallInProgressAlert,
EInProgressEmergency,
// Hang Time
ECallInHangTimePrivate,
ECallInHangTimeGroup,
ECallInHangTimeAlert,
// Termination
ECallEndCall,
ECallEndEmergency,
ECallOutgoingPrivateCallFails,
ECallOutgoingGroupCallFails,
ECallOutgoingAllSystemCallFails,
ECallOutgoingAlertCallFails,
// Acknowledges
ECallAlertCallAcknowledged,
ECallGroupCallAcknowledged,
ECallInactive = -1,
} ECRC_CallResultCode;
Code: Select all
// Display/Text Line Data - (Immediate)
{ EGetMaxTextLines, _T("GetMaxTextLines"), false, 0, NULL, 0, NULL }, //1 },
{ EGetMaxTextColumns, _T("GetMaxTextColumns"), false, 0, NULL, 0, NULL }, //1 },
{ EGetTextLine, _T("GetTextLine"), false, 1, gatInputGetTextLine, 0, NULL }, //2, 0, 6 },
// Call Progress
{ EGetCallProgress, _T("GetCallProgress"), false, 0, NULL, 0, NULL }, //1 },
// Voice
{ EGetVoiceParameters, _T("GetVoiceParameters"), false, 0, NULL, 0, NULL }, //1 },
{ EVoiceDataPacket, _T("VoiceDataPacket"), false, 0, NULL, 0, NULL }, //1 },
// ---> --------------------- <---
// ---> Registration services <---
// ---> --------------------- <---
// REGISTER - for Async Events - (Registration)
{ ERegisterUpdate, _T("RegisterUpdate"), false, 0, NULL, 0, NULL }, //1 },
{ EDeregisterUpdate, _T("DeregisterUpdate"), false, 0, NULL, 0, NULL }, //1 },
{ ERegisterCall, _T("RegisterCall"), false, 0, NULL, 0, NULL }, //1 },
{ EDeregisterCall, _T("DeregisterCall"), false, 0, NULL, 0, NULL }, //1 },
{ ERegisterDisplay, _T("RegisterDisplay"), false, 0, NULL, 0, NULL }, //1 },
{ EDeregisterDisplay, _T("DeregisterDisplay"), false, 0, NULL, 0, NULL }, //1 },
{ ERegisterVoice, _T("RegisterVoice"), false, 0, NULL, 0, NULL }, //1 },
{ EDeregisterVoice, _T("DeregisterVoice"), false, 0, NULL, 0, NULL }, //1 },
// ---> ---------------------------- <---
// ---> Unsolicited/Async Responses <---
// ---> ---------------------------- <---
// ---> Malformed Request <---
{ EMalformedRequest, MALFORMED_REQUEST, false, 0, NULL, 0, NULL },