Advice for Telephone Keypad Buttons
mjones2620
Posts: 86
Please bare with me as I am fresh out of P2.
I have a project I am working on currently that involves an Audio Conferencing system. I have designed a TP that has all of the pertinent buttons for dialing, and a text input button for displaying the inputs. Here's what I am trying to achieve:
-Press any of the buttons and have the parsed data display in the text box.
-Press any of the buttons and send that string to the telecon (confident I can figure that part out).
-Ability to clear the text
-Ability to delete the last character
-Ability to dial the entire text box once there is dial-tone
I've tried this several ways experimenting. First I downloaded a TP from the UI Resources library and tried using this telecon page in which they had the keypad channels setup. This worked for inputting characters into the text input and achieved everything I want, except I can't figure out how to utilize these buttons to send strings to my device since they are using the setup port. If there's an easy way to do this, let me know. Also, I am using the keypad function in another portion of my touch panel, so input values on that page appeared in my text input box on the telco page. Probably an easy fix there (I hope).
I also played around with giving these buttons a channel port for this telecon page, and then using an array to send the stored array values to the touch panel and send them into the text input. For some reason beyond me, this worked but it would only give one value at a time. I created a buffer, but every time a different button is pushed the previous value disappeared. I've been playing around with this for several days now, and have exhausted all the ideas I can think of.
Any tips or example code would be extremely helpful.
THANKS!
Matt
I have a project I am working on currently that involves an Audio Conferencing system. I have designed a TP that has all of the pertinent buttons for dialing, and a text input button for displaying the inputs. Here's what I am trying to achieve:
-Press any of the buttons and have the parsed data display in the text box.
-Press any of the buttons and send that string to the telecon (confident I can figure that part out).
-Ability to clear the text
-Ability to delete the last character
-Ability to dial the entire text box once there is dial-tone
I've tried this several ways experimenting. First I downloaded a TP from the UI Resources library and tried using this telecon page in which they had the keypad channels setup. This worked for inputting characters into the text input and achieved everything I want, except I can't figure out how to utilize these buttons to send strings to my device since they are using the setup port. If there's an easy way to do this, let me know. Also, I am using the keypad function in another portion of my touch panel, so input values on that page appeared in my text input box on the telco page. Probably an easy fix there (I hope).
I also played around with giving these buttons a channel port for this telecon page, and then using an array to send the stored array values to the touch panel and send them into the text input. For some reason beyond me, this worked but it would only give one value at a time. I created a buffer, but every time a different button is pushed the previous value disappeared. I've been playing around with this for several days now, and have exhausted all the ideas I can think of.
Any tips or example code would be extremely helpful.
THANKS!
Matt
0
Comments
It works for both pre-building dial strings, as well as off-hook dialing. The UX is much like that of a mobile phone. It also features press-and-hold speed dial saving.
Let me know if you have any questions.